A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Retrieve the Form action name
Joined: Oct 02, 2003
Nov 18, 2005 06:56:00
I want to retrieve the form action name in the
<form name=form1 action="hello">
is it possible to retrieve the action name (hello) in the servlet
Joined: Dec 11, 2004
Nov 18, 2005 07:14:00
Since the action is the address of the resource to which the browser will post, you can retrieve it with request.getRequestURL or request.getRequestURI.
How to ask a question...
Simple Servlet Examples
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Retrieve the Form action name
help with module level struts config
JSP to servlet
Error: creating bean of class (HELP THE NEWBE)
Tomcat,Eclipse and form data
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015