Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bean loading in custom context

Status
Not open for further replies.

purpledawn

Programmer
Jun 21, 2001
50
US
Tomcat 3.2.3 with Apache 20

Hi. I've created a custom context outside of the webapps directory. If I put a jsp file in the top directory of the context, it finds the bean is uses just fine. However, jsp files in subdirectories of the context can't find their beans. I pretty sure the web-inf directory is set up properly. Am I missetting attributes in the context tag in server.xml, or is there another problem?

ContextRoot/file.jsp - finds bean
ContextRoot/subdir/file.jsp - can't find bean

I know this works in the examples directory, and I've set all the attributes for my context exactly the same as the examples context.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top