On Wed, 2008-02-20 at 00:43 +0000, Kelly Graus wrote: > Jeromy Evans <jeromy.evans <at> blueskyminds.com.au> writes: [snip] > > > > 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 to it. > > According to Practical Apache Struts 2, this should be able to be an action. > However, I'm having difficulty getting this to work. I keep getting a 404 > requested resource not found for the logon action. I'll keep working on it, > if any one has any ideas it would be great.
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 (if I'm right about Tomcat), the first being Jeromy's suggestion. The other thing I've done that seems to work is to create a blank file that matches the request. In this case a 0-byte file called login.action may do the trick. It's a bit of a hack, and I think when this comes up with the Tomcat peeps, they point to the spec. -Wes --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]