yajun wen

Greenhorn
+ Follow
since Oct 31, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by yajun wen

Many projects integrate Struts, Spring, Hibernate, JSF, etc. together. What is the best practice using struts 2? Do we need so many frameworks together?
15 years ago
I have a app running fine with Tomcat 5.

The context setting in server.xml is:
<Context path="" managerChecksFrequency="1" docBase=""
debug="0" verbosity="0" reloadable="false">
</Context>

The WEB-INF folder, index.jsp and all the jsp folders are put directly under webapps, without any app name. I can access the app by default at:
http://localhost:8080/

Now, I try to deploy the app to Tomcat 6, it is not working any more.

The problem is that tomcat 6 always take any folder in webapps as an application, and any access to the jsps under the folders bellow webapps failed because tomcat is looking for WEB-INF/web.xml.

Any one knows how to solve this?

Thanks in advance.
16 years ago