From: vasudevrao gupta [mailto:[EMAIL PROTECTED]
Can any one tell me how to get the actionpath from the
HTTPRequest or ActionMapping?
This belongs on struts-user, not struts-dev.
I assume you're trying to do this in the Action. If that's the case, I
believe mapping.getPath() will get you
Subject: derrive the form action name from the action mapping that called
the JSP
Is it possible to derive the form action name from the action mapping
that
called the JSP?
Like:
html:form action=${actionName} method=post
I have 2 different actions that calls a JSP page. I want each of them
Is it possible to derive the form action name from the action mapping that
called the JSP?
Like:
html:form action=${actionName} method=post
I have 2 different actions that calls a JSP page. I want each of them to
submit to the respective action
I.e action1 gets submitted to action1.do
Does anyone know how to easily get the current action name (other than
decomposing it from the URI)?
The idea is I am writing a class of generic reporting servlets and I
would like to stick in a simple form or link to return to the prior
action.
Any ideas would be appreciated.
Edgar
On Mon, 25 Nov 2002, edgar wrote:
Does anyone know how to easily get the current action name (other than
decomposing it from the URI)?
The idea is I am writing a class of generic reporting servlets and I
would like to stick in a simple form or link to return to the prior
action.
You mean
Yeah I found it. When I first read the documentation I misinterpreted it.
Thanks.
-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 25, 2002 9:16 PM
To: Struts Users Mailing List; Edgar Dollin
Subject: Re: Action Name
On Mon, 25 Nov 2002, edgar
Is it possible to find in the JSP what action mapping has lead us there? Is
there a parameter in the request?
Thanks in advance,
Mike
-Original Message-
From: Martin Gross [mailto:[EMAIL PROTECTED]]
Sent: 27 March 2002 12:17
To: Struts Users Mailing List
Subject: Re: Object
-
From: Mike Dewhirst [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 7:18 AM
To: 'Struts Users Mailing List'
Subject: checking action name
Is it possible to find in the JSP what action mapping has lead us there? Is
there a parameter in the request?
Thanks in advance,
Mike
8 matches
Mail list logo