aspose file tools*
The moose likes Struts and the fly likes does not start with a Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "does not start with a "/" character" Watch "does not start with a "/" character" New topic
Author

does not start with a "/" character

Erap Estrada
Ranch Hand

Joined: Nov 08, 2006
Posts: 92
This is solution topic. The reason i am posting this is because, ive read 4 struts books but an extra steps of installation below was never mentioned in those books.

If you're getting problem similar to:

javax.servlet.ServletException: Path loginLayout does not start with a "/" character


Here's what you got to do:

Step 1. add chain-config.xml to WEB-INF folder inside your project
you can find this file in
/struts-1.3.5-all/struts-1.3.5/src/tiles/src
/main/resources/org/apache/struts/tiles

Step 2.
add the following init-param tag to Action Servlet configuration in web.xml



Step 3.
add commons-chain-1.1.jar to your project library.


This solution i found is from this blog


SCJP with 98% by...
Sreejith Sasidharan
Greenhorn

Joined: Mar 30, 2009
Posts: 2
Hi...

I was facing issue in Eclipse + Tomcat..(never came in oracle Jdeveloper/oc4j) not sure which is the culprit but your solution fixed my problem. I was finding hard to solve and spent nearly 2 hrs and then found this solution

Cheers

Sree

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: does not start with a "/" character