A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
Forward tag question
Gemini Moses
Ranch Hand
Joined: Jan 04, 2001
Posts: 244
posted
May 03, 2007 09:48:00
0
I am lookin gat sturts-config.xml file which has-
<action path= ....>
type =...
scope =...>
<forward name=�aredirect� path=�/com/aRedirect.do?LocationId=a�>
</action>
Can someone tell what is role of LocationID here?
Is it passed as class variable or static final variable to class defined for aRedirect?
Thanks,
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
posted
May 03, 2007 22:57:00
0
It's a URL query
string
parameter. The Action class defined by this path can read it with the statement:
String locId = request.getParameter("LocationId");
Merrill
Consultant,
Sima Solutions
I agree. Here's the link:
http://aspose.com/file-tools
subject: Forward tag question
Similar Threads
/* in Struts Action Mapping
Dynamic action forward?
Navigation problem in struts
window.location with servlet bean
How to use Formbean's validate method?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter