dcsimg
how can I make Tomcat see my JavaBean
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Joost_Schouten
Posted On:   Wednesday, December 12, 2001 06:37 AM

Hi, Can anyone tell me how I can make tomcat find my JavaBean Fruit.class I have Tomcat setup to go to c:dox… …www if I browse to http://localhost/jsp-edu/. All works fine, and all my JSP pages have been working so far. Now I try to work with the file http://localhost/jsp-edu/session 12/confirm.jsp which calls for the JavaBean Fruit.class in that same folder. How do I make tomcat find this class. Do I need to create my own web.xml. If so, how should it look? Please help, I’m spending way more time on configuring tomcat than learning Java and JSP. ThanX, Joost    More>>

Hi,


Can anyone tell me how I can make tomcat find my JavaBean Fruit.class


I have Tomcat setup to go to c:dox… …www if I browse to http://localhost/jsp-edu/. All works fine, and all my JSP pages have been working so far. Now I try to work with the file http://localhost/jsp-edu/session 12/confirm.jsp which calls for the JavaBean Fruit.class in that same folder. How do I make tomcat find this class.


Do I need to create my own web.xml. If so, how should it look?


Please help, I’m spending way more time on configuring tomcat than learning Java and JSP.


ThanX,
Joost

   <<Less

Re: how can I make Tomcat see my JavaBean

Posted By:   Yufu_Huang  
Posted On:   Wednesday, December 12, 2001 10:52 AM

Fruit.class should be put in /WEB-INF/classes.
About | Sitemap | Contact