Jump to content

Question

Posted

Hello.

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

[CODE]
<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">

</form>
[/CODE]

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

1 answer to this question

  • 0

Posted

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  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.