File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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

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

Joined: Mar 30, 2009
Posts: 2

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



I agree. Here's the link:
subject: does not start with a "/" character
It's not a secret anymore!