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"> </form>
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







