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 strutsconfig.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 "strutsconfig.xml" Watch "strutsconfig.xml" New topic
Author

strutsconfig.xml

C Vivek
Ranch Hand

Joined: Oct 03, 2004
Posts: 115
Hi Guys,
Even if I have a StrutsConfig.xml. I will still have to write the security aspects, listners as part of web.xml right? sorry guys just trying to get some basics right!!

Thanks
Vivek
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
What you are saying sounds basically correct (you using Struts 1.x?). You need to use a web.xml to tell your container about Struts (the ActionServlet). If you define your roles in web.xml you can then define your action mappings to restrict access based on the user's current role (using the roles attribute on the action tag).

- Brent
C Vivek
Ranch Hand

Joined: Oct 03, 2004
Posts: 115
Thanks mate!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: strutsconfig.xml
 
Similar Threads
struts 1- tab --
struts
trapping two appearance of a character
Getting problem in struts
StrutsConfig.xml dilemma