aspose file tools*
The moose likes JSP and the fly likes parameter value should be null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "parameter value should be null" Watch "parameter value should be null" New topic
Author

parameter value should be null

Miran Cvenkel
Ranch Hand

Joined: Nov 23, 2010
Posts: 149
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 ?


Searchable nature photo gallery: http://agrozoo.net/jsp/Galery.jsp?l2=en
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

P.S. Submitting a form to a JSP? Should be to a servlet.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: parameter value should be null