sourabhjha
Programmer
I have a jsp p[age in which i have the code
<FORM NAME=editForm TARGET=_blank METHOD=POST ACTION="target.jsp">
<input type=submit name = "save" value="Save">
<INPUT TYPE=HIDDEN NAME="ORIG_EVENT_TYPE" VALUE="-1">
<INPUT TYPE=HIDDEN NAME="EVENT_TYPE" VALUE="-1">
</FORM>
Now when i submit this form and in target.jsp i have the following code
<%
Enumeration enum;
enum = request.getAttributeNames();
out.println("enums: "+ enum);
while(enum.hasMoreElements())
{
out.println(request.getParameter((String)enum.nextElement()));
}
%>
this is displaying all nulls....can anyone help
thanks in advance
-sourabh
<FORM NAME=editForm TARGET=_blank METHOD=POST ACTION="target.jsp">
<input type=submit name = "save" value="Save">
<INPUT TYPE=HIDDEN NAME="ORIG_EVENT_TYPE" VALUE="-1">
<INPUT TYPE=HIDDEN NAME="EVENT_TYPE" VALUE="-1">
</FORM>
Now when i submit this form and in target.jsp i have the following code
<%
Enumeration enum;
enum = request.getAttributeNames();
out.println("enums: "+ enum);
while(enum.hasMoreElements())
{
out.println(request.getParameter((String)enum.nextElement()));
}
%>
this is displaying all nulls....can anyone help
thanks in advance
-sourabh