• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Predefined Names used inside the Struts2.xml file

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ??
 
nobeltr ozgur
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic