This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
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.
 
Consider Paul's rocket mass heater.
 
subject: Predefined Names used inside the Struts2.xml file
 
Similar Threads
struts2 action-method-validation.xml not working?
"javax.crypto.BadPaddingException: pad block corrupted" using BouncyCastle and DESede: How to avoid?
Struts 2 forms with different actions
Custom result mapping in struts2
I frame not displaying blob (document) from action class