aspose file tools*
The moose likes Servlets and the fly likes Where to put the class file while calling Beans from JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Where to put the class file while calling Beans from JSP" Watch "Where to put the class file while calling Beans from JSP" New topic
Author

Where to put the class file while calling Beans from JSP

Maghvendra Singh
Greenhorn

Joined: Jun 19, 2001
Posts: 4
Hi,
I am trying to call a bean from a JSP. But I could not understand where should I put the class files pertaining to that bean(s). I am using the JRun 3.0 as the Web Server.
Could somebody help me in putting the class files (beans) to run the JSP succesfully?
I have prepared the applications using JSP earliar. But never tried with Beans.
Thanks,
Maghvendra.
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
JRUN 3.0 is Servlet 2.2/JSP 1.1 compliant You can deploy Beans the same as Servlets. If you put them in a Jar file, put them in the /WEB-INF/lib/ directory. If you are just placing the class files up, put them in /WEB-INF/classes/path/equal/to/packagename/

------------------
Hope This Helps
Carl Trusiak, SCJP2


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
 
 
subject: Where to put the class file while calling Beans from JSP