File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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");
It is sorta covered in the
JavaRanch Style Guide
subject: Forward tag question
How to use Formbean's validate method?
window.location with servlet bean
Navigation problem in struts
/* in Struts Action Mapping
Dynamic action forward?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014