Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Forward tag question

 
Gemini Moses
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a URL query string parameter. The Action class defined by this path can read it with the statement:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic