• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

parameter value should be null

 
Miran Cvenkel
Ranch Hand
Posts: 202
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
member_page.jsp


1. I call this jsp like: member_page.jsp?foo=1
1.1 I can read that foo ok.

2. click submit button
2.1 reading foo returns "member_page.jsp", instead of null ?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65217
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't use getParameter() (or similar methods) with a multi-part form. I assume you are doing a file upload? If so, whatever file upload package you are using will have a means to get the parameters.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65217
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
P.S. Submitting a form to a JSP? Should be to a servlet.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic