Re: [S2] Textfield key with resource bundle

2008-04-11 Thread Kelly Graus
Hi Jeromy, I'm using struts 2.0.11. My resource bundle is in the WEB-INF/classes directory. My action extends ActionSupport, and implements ModelDriven and preparable. I couldn't get the ModelDriven stuff to work correctly, and at some point when I was playing around with it, the text sta

Re: [S2] Logging Issues

2008-04-01 Thread Kelly Graus
Hi Laurie, Thanks for the reply! I found the "swallowOutput" attribute in the Tomcat context that caused the exceptions to be placed in my application log. However, I'm now setting up global exception mapping in struts so I can handle unexpected problems without showing the user a stack trace

Struts 2 issue with Spring, Hibernate, and Tiles

2008-03-05 Thread Kelly Graus
Hello, I am trying to setup my first Struts 2 project with Spring, Hibernate, and Tiles (and only my second Struts 2 project). I think I have Spring, Hibernate, and Tiles all working correctly. I'm using Tomcat 6, with the newest released versions of Struts, Spring, Hibernate, and Tiles. I

Re: Struts 2 Container Security problem

2008-02-19 Thread Kelly Graus
Wes Wannemacher wantii.com> writes: > I'm jumping in late, so if I refer to something that came up in a > previous post, I apologize ahead of time. I'm guessing that you're using > tomcat. Tomcat is picky about certain things being actual filesystem > resources. There are two possible solutions (

Re: Struts 2 Container Security problem

2008-02-19 Thread Kelly Graus
Jeromy Evans blueskyminds.com.au> writes: > > > >> I would add a login action to the public namespace which prepares a > >> login page. Unfortunately I don't think the container will allow you to > >> specify "/login.action" as the login page though, but you can make > >> login.jsp redirect

Re: Struts 2 Container Security problem

2008-02-19 Thread Kelly Graus
Jeromy Evans blueskyminds.com.au> writes: > > Hi Kelly, > > In struts.xml, the namespace given to your package needs be in > /protected as well. > eg. > Otherwise, as you've seen, it's available in the root of the > application's context path. > > I usually split my struts2 application into

Re: Struts 2 Container Security problem

2008-02-19 Thread Kelly Graus
Martin Gainty hotmail.com> writes: > > start here > http://www.acegisecurity.org/guide/springsecurity.html > > M- Thank you for the response. I looked at Acegi, but it seemed overly complex for my requirements. This application is just a simple in house administration tool (and learning exerci

Struts 2 Container Security problem

2008-02-19 Thread Kelly Graus
Hi Everyone, I'm attempting to secure my first Struts 2 web app using container security with a DataSourceRealm. I'm using Tomcat 6 as my container. Here is how my project is setup: LicensingAdministration/ META-INF/ context.xml WEB-INF/ web.xml classes/ stru