This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Package tag in struts.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Package tag in struts.xml " Watch "Package tag in struts.xml " New topic
Author

Package tag in struts.xml

Yuta Lolap
Ranch Hand

Joined: Jun 03, 2012
Posts: 80

what happens if in a package tag in struts.xml you don't give the namespace attribute?

Yogesh Lonkar
Ranch Hand

Joined: Jul 17, 2012
Posts: 94

then default name space is considered which is "" - an empty. for more information go on this link


Learning some thing New Every Day
Yuta Lolap
Ranch Hand

Joined: Jun 03, 2012
Posts: 80

thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Package tag in struts.xml
 
Similar Threads
Struts2 Interceptor Error in struts.xml file
Struts 2 problem -- There is no Action mapped for namespace / and action name
HTTP Status 404 - /Struts2Application1/clientAction + Please help
No action config found for the specified url.
struts.xml in struts 2