This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Struts and the fly likes Predefined Names used inside the Struts2.xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Predefined Names used inside the Struts2.xml file" Watch "Predefined Names used inside the Struts2.xml file" New topic
Author

Predefined Names used inside the Struts2.xml file

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

ERROR
INPUT
LOGIN
NONE
SUCCESS

It seems that all these are predefined names inside Struts Action classes .which are used inside the execute method .

For example :



Is it possible for me to use other names ??


Save India From Corruption - Anna Hazare.
nobeltr ozgur
Greenhorn

Joined: Sep 20, 2009
Posts: 14
Is it possible for me to use other names ??

yes you can use any names that what you want in struts.xml files
im not sure if you are using annotion i mean if you are developing without struts.xml
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I would *strongly* recommend spending some time reading the Struts 2 documentation wiki--most of the questions you've asked so far are answered there.

The guides are located here: http://struts.apache.org/2.1.8/docs/guides.html

The top-level is here: http://struts.apache.org/2.1.8/docs/home.html

You'll end up learning more if you explore on your own.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Predefined Names used inside the Struts2.xml file
 
Similar Threads
Custom result mapping in struts2
"javax.crypto.BadPaddingException: pad block corrupted" using BouncyCastle and DESede: How to avoid?
Struts 2 forms with different actions
struts2 action-method-validation.xml not working?
I frame not displaying blob (document) from action class