File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Problem in running simple JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem in running simple JSP" Watch "Problem in running simple JSP" New topic

Problem in running simple JSP

ram gaurav
Ranch Hand

Joined: Mar 29, 2006
Posts: 208

I am making sinple JSP page , in that i have written my form tag like this:

Above i am taking my enctype="multipart/form-data". So now when i submit my page and when i try to retrieve any value on next page (Action Page) it is showing me as null.And when i remove enctype="multipart/form-data" from my code it work fine.

Can you please tell me that why it is happening.

Remko Strating
Ranch Hand

Joined: Dec 28, 2006
Posts: 893
Maybe the following link can help you

ENCTYPE="multipart/form-data" and request.getParameter();

Remko (My website)
SCJP 1.5, SCWCD 1.4, SCDJWS 1.4, SCBCD 1.5, ITIL(Manager), Prince2(Practitioner), Reading/ gaining experience for SCEA,
I agree. Here's the link:
subject: Problem in running simple JSP
It's not a secret anymore!