[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 162
  • Last Modified:

jsp cache

when i post a form from a.jsp to b.jsp,
the page b.jsp cannot get request.getParameter("myValue"),

but a.jsp to c.jsp can, why?

b.jsp and c.jsp is different folder,

it might be cache problem, but i delete all the 'work' directory and restart tomcat
all cannot solve it.

any idea?
0
aaaaaa
Asked:
aaaaaa
1 Solution
 
arun_kuttzCommented:
could u explain how u exactly forward from a.jsp to b.jsp or c.jsp ??
i mean the code snippet.. on the JSP page..

-KuTtZ
0
 
aaaaaaAuthor Commented:
<form action="b.jsp" method="post">
  <input type="Hidden" name="myValue" value="anyValuehere">
  <input type="submit" value="Proceed">
</form>
0
 
ManishLeadCommented:
Ru able to see b.jsp?
Also u can try by using method "get" and see wheather ur hidden value actually getting submitted in URL.
Karan
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
aaaaaaAuthor Commented:
get method can, only post cannot
0
 
ManishLeadCommented:
>><input type="Hidden" name="myValue" value="anyValuehere">
<input type="hidden" name="myValue" value="anyValuehere">

Also try to change location of above statement. May be in table , middle of table , or in <tr> like that
Karan
0
 
aaaaaaAuthor Commented:
"Also try to change location of above statement. May be in table , middle of table , or in <tr>"
for what?

i put same code in b.jsp and c.jsp.
b.jsp cannot get request but c.jsp can, do u know what happen?
0
 
aaaaaaAuthor Commented:
i know the answer.
b.jsp cannot get request because of NTLM.

someone please close this.
0
 
GranModCommented:
PAQed with points refunded (50)

GranMod
Community Support Moderator
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now