Originally posted by Manfred Leonhardt:
Hi Chuck,
Not sure what you are trying to implement. But take a look at the following thread to see if it can help you.
http://www.javaranch.com/ubb/Forum2/HTML/003306.html
Regards,
Manfred.
Originally posted by Cameron Park:
I have the following snippet in the second form:out.println("<HTML>");
out.println("<BODY>");
out.println("<FORM METHOD=\"POST\" ACTION =\""+response.encodeURL(chatRoomPath)+
"\" TARGET=\"_top\">");
out.println("<p>Enter your message:</p>");
out.println("<INPUT TYPE NAME=\"msg\" SIZE=\"30\">");
out.println("<INPUT TYPE=SUBMIT VALUE ='Send Message'>");
out.println("</FORM>");
out.println("<FORM METHOD=\"POST\" ACTION = \""+response.encodeURL(listRoomPath)+
"\" TARGET=\"_top\">");
out.println("<INPUT TYPE=SUBMIT VALUE=Exit>");
out.println("</FORM>");
out.println("</BODY></HTML>");
When I press the Exit button, the entire frame changed to listRoomPath.
Please help me understanding what is going on.