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 <action> in struts.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "<action> in struts.xml" Watch "<action> in struts.xml" New topic
Author

<action> in struts.xml

Varun Nambuthiri
Ranch Hand

Joined: Sep 20, 2010
Posts: 76
Hi ,

I seem to be having the trouble of understanding the concept of these two tags

<package name="" namespace="" extends=""></package>
<action name="" class=""></action>

what want to know is what their work is . And I also want to know the importance of each of the properties of the tag . It would be help me big time .

Thank you and Regards
Varun


All's well that Debugs well .
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8908
    
    8

Have a look at the package and action documentation


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Varun Nambuthiri
Ranch Hand

Joined: Sep 20, 2010
Posts: 76
Hey,

Thanks for the reply . I read those but they go into the details as to what actually happens. Any other suggestions ?

Thank you and Regards

Varun

Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8908
    
    8

I'm confused as to what you are looking for. You asked:
what want to know is what their work is .

I pointed you to the documentation and you reply
I read those but they go into the details as to what actually happens.

What are you looking for if not what "actually happens"?
Varun Nambuthiri
Ranch Hand

Joined: Sep 20, 2010
Posts: 76
Hi ,

Sorry to have caused confusion .


See the documentation gives an example of how the <action> is used. Not much is said about its attributes and how their values differ . Because I took the easy way and ran into some trouble with Struts 2 , I want to get my basis right . And the detailed explanation.

Thanks and Regards
Varun
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: <action> in struts.xml