Hi there,
I've recently started using the SmartURLs plugin with Struts 2, particularly for the extensionless URLs feature, which I've enabled by setting the struts2 filter to be "org.texturemedia.smarturls.SmartURLsFilter" in my "web.xml" and setting "struts.action.extension=" in my "struts.properties". This appears to be working, however it's left me with one undesired side affect. I used to have an "index.jsp" in the root of my web app that would redirect to the web app's home page via a "Home.action". "index.jsp" is of course in my welcome files list in my "web.xml". Without the SmartURLs plugin, "http://localhost" would redirect to "http://localhost/Home.action" . This is the behaviour I want. With the SmartURLS plugin, this no longer works. Instead I get an error and SmartURLs has tried to redirect me "http://localhost//index.jsp" (note double slash before index.jsp) I've got a rather crude way of working around this. Basically I just created an empty "Home" file in the web app root and then added "Home" to my welcome files list. This works and I am correctly redirected from "http://localhost" to "http://localhost/Home" , however it seems like a bit of a hack job. Is there a better way to do this? -- View this message in context: http://www.nabble.com/Struts-2-%2B-SmartURLs-Plugin--Root-Redirect-no-Longer-Working-tp17422264p17422264.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]