File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Java 8 in Action this week in the Java 8 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Predefined Names used inside the Struts2.xml file
 
Similar Threads
I frame not displaying blob (document) from action class
Custom result mapping in struts2
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