Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

urgent....form submit on jsp not working

Status
Not open for further replies.

sourabhjha

Programmer
Jan 13, 2002
121
IN
I have a jsp p[age in which i have the code
<FORM NAME=editForm TARGET=_blank METHOD=POST ACTION=&quot;target.jsp&quot;>
<input type=submit name = &quot;save&quot; value=&quot;Save&quot;>
<INPUT TYPE=HIDDEN NAME=&quot;ORIG_EVENT_TYPE&quot; VALUE=&quot;-1&quot;>
<INPUT TYPE=HIDDEN NAME=&quot;EVENT_TYPE&quot; VALUE=&quot;-1&quot;>
</FORM>


Now when i submit this form and in target.jsp i have the following code


<%

Enumeration enum;
enum = request.getAttributeNames();
out.println(&quot;enums: &quot;+ enum);
while(enum.hasMoreElements())
{
out.println(request.getParameter((String)enum.nextElement()));

}
%>


this is displaying all nulls....can anyone help
thanks in advance
-sourabh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top