(NEWER) Tomcat 4.0.3 & servlet/jsp class folders
1 posts in topic
Flat View  Flat View

Posted By:   Krystof_Malak
Posted On:   Tuesday, January 14, 2003 01:27 AM


I copy my package (with a class file) into the Tomcat servlets folder C:Program FilesApache Tomcat 4.0webappsROOTWEB-INFclasses.

I run a servlet (that imports that package explicitly) and everything goes OK.

I run a jsp (that imports that package via jsp:useBean) and I get en error (it doesn't see my package).

If I copy my package into a different Tomcat folder, that is C:Program FilesApache Tomcat 4.0classes my jsp runs OK.

Thanks for your help,

Re: (NEWER) Tomcat 4.0.3 & servlet/jsp class folders

Posted By:   Anonymous  
Posted On:   Tuesday, January 14, 2003 05:48 AM

I've noticed that when specifically instantiating data beans (for example when loading a vector), "usebean" often (always?) don't work, and I have to use "mypackage.classname". IE.

util.Pet apet = new util.Pet();

Guess what my databases are about? Perhaps someone with a better understanding of JSPs can explain why that is true.

J. Smith

Aylmer, PQ

About | Sitemap | Contact