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.
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
Predefined Names used inside the Struts2.xml file
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
I like...
posted
Oct 16, 2009 11:35:10
0
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 :
public String execute() { getName() ; return "SUCCESS"; } <result name="SUCCESS">/success.jsp</result> (inside struts.xml file)
Is it possible for me to use other names ??
Save India From Corruption - Anna Hazare.
nobeltr ozgur
Greenhorn
Joined: Sep 20, 2009
Posts: 14
posted
Oct 16, 2009 12:22:03
0
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 like...
posted
Oct 16, 2009 18:30:19
0
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter