A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
Forward tag question
Joined: Jan 04, 2001
May 03, 2007 09:48:00
I am lookin gat sturts-config.xml file which has-
<action path= ....>
<forward name=�aredirect� path=�/com/aRedirect.do?LocationId=a�>
Can someone tell what is role of LocationID here?
Is it passed as class variable or static final variable to class defined for aRedirect?
Joined: Feb 15, 2005
May 03, 2007 22:57:00
It's a URL query
parameter. The Action class defined by this path can read it with the statement:
String locId = request.getParameter("LocationId");
I agree. Here's the link:
subject: Forward tag question
Dynamic action forward?
/* in Struts Action Mapping
How to use Formbean's validate method?
Navigation problem in struts
window.location with servlet bean
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015