Sign in to follow this  

[JSP] Problem reading POST data in JSP

Recommended Posts

eliokh    3


I'm a bit new to jsp and im facing the following problem:

After submitting the following form:

<form method="post" action="Jsp_confvirchq.jsp" ENCTYPE="multipart/form-data" name="virchq" onsubmit='VerifyForm(document.virchq)' >

<input type="file" name="upfile" >
<input type="hidden" name="virtype" value="virchq" />

<input type="submit" name="submit" value="submit">


I try to read the hidden field value in JSP using

request.getParameter("virtype") and it is always set to null.. Any suggestions?

thanks in advance

Share this post

Link to post
Share on other sites
eliokh    3

any body?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.