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

<package> Tag necessity

Rajaprabhu Aravindasamy
Greenhorn

Joined: Dec 26, 2011
Posts: 25
Hello guys..!
I'm a newbie to struts, just learning it from the beginning..!

my question is,

" <package name="someName" extends="struts-default"> tag is a must part in Struts.xml or not...?
If yes then tell me what is the reason or necessity behind that..? "

I know my question is very silly. But please post me the reply soon...!
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8708
    
    6

You can look at the XML DTD and determine if it is required or not.
The purpose of the tag is to allow the user to create "packages" out of Struts web contexts, similar to how Java packages work. See this article.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: <package> Tag necessity
 
Similar Threads
diff b/w JSTL and struts logic tag
[struts 1.x] using indexId of logic:iterate
struts2 default extension change issue
Architecture of the project
How do I specify a folder?