David,
Someone had better tell my application then, because it is using lots of tiles for the input parameter. ;)
I do recall getting the error described by Caroline some time ago, but darned if I can remember how I resolved it. (Too much water under the bridge. Or, too much beer on the brain?) It may be that I had to go to 1.2.x to get it to work. Just did a search of the Release Notes and it wasn't mentioned there, though.
I do know it works because I am using validation and tiles for the input parameter.
TR
David G. Friedman wrote:
I recall reading that the action's "input" parameter cannot be a tile. Try a JSP or action path.
Regards, David
-----Original Message----- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 22, 2004 5:55 PM To: [EMAIL PROTECTED] Subject: Path .frame.content Does Not Start With a "/" Character
I think I have made all kinds of mistakes in the Struts history.
I was working on VALIDATION. However, when I leave all text fields blank and submit the form for testing, I got HTTP Status 500 -
java.lang.IllegalArgumentException: Path .frame.content does not start with a "/" character
I think the problem is in my struts-config.xml file. I do not see that I put a "/" in front of any tile expressions; in particular, .frame.content
(My struts-config.xml can be found in the attachment)
The Tomcat logs file can also be found in the attachment.
In the browser window, I got:
java.lang.IllegalArgumentException: Path .frame.content does not start with a "/" character
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10 62)
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso r.java:274)
org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(Requ estProcessor.java:1012)
org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward( TilesRequestProcessor.java:345)
org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.j ava:980)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
_______________________________ Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. http://messenger.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]