Results 1 to 2 of 2
Thread: Help with request.getParameter()
- 07-09-2007, 07:15 PM #1
Senior Member
- Join Date
- Jun 2007
- Posts
- 114
- Rep Power
- 0
Help with request.getParameter()
Hello. I am experiencing problems in my form.
I have many textfields and I am saying request.getParameter("..") in some action.
I also have a fileupload in the same form and trying to read it from the same action.
But it seems that none of my request.getParameter() work.
They all become null. But If I remove the fileupload stuff it works fine.
So my question is.
Can you use fileupload and textfields in the same form? Or do I need to separate the handling in to different forms and actions?
Thanks
Albert:rolleyes:
- 07-13-2007, 03:39 PM #2
Member
- Join Date
- Jul 2007
- Posts
- 44
- Rep Power
- 0
Yes, you can. If you post some code we may be able to help debug what is going on (I'm assuming you are using JSP coupled with a servlet).
If you don't want to one example of doing this can be found here:
JSP Example: File Uploading
Similar Threads
-
[SOLVED] http request
By Eranga in forum Advanced JavaReplies: 30Last Post: 11-27-2008, 04:35 AM -
respose with out request
By karthikiniyan in forum Java ServletReplies: 1Last Post: 04-09-2008, 03:06 PM -
How to use request Scope in Spring
By Java Tip in forum Java TipReplies: 0Last Post: 03-31-2008, 10:06 AM -
Generate XML request from web form
By sabatier in forum XMLReplies: 1Last Post: 08-09-2007, 07:53 PM -
HttpServletRequest request size
By Ed in forum Java ServletReplies: 2Last Post: 07-02-2007, 02:02 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks