• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

simple problem

 
dhriti joshi
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
if i have to get an inputfield value from a previous jsp i say request.getparameter(),
what should i say if i have to get the value of an inputfield from same jsp.
thanks,
dhriti.
 
john smith
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Submit the JSP to itself and call use request.getparameter() as you normally would.
 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
some times you may want to use something like JavaScript to validate values based on fields inside the same JSP.
Kishore.
 
Anand Gondhiya
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when you submit a.html you go to b.jsp...now again submit on the b.jsp so that it will submit on b.jsp itself !!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic