File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes how to call java class in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to call java class in jsp" Watch "how to call java class in jsp" New topic

how to call java class in jsp


Joined: Mar 26, 2001
Posts: 5
i have develop a shopping cart in jsp, i have a class which have to be called from jsp file, i am using tomcat server
please tell me where to place this class files so that it can be accessed in from jsp file
Prasad Desai

Joined: Apr 30, 2001
Posts: 10
Hi Niranjan,
Try putting your class files in TOMCAT_HOME\webapps\examples\WEB-INF\classes directory.
I agree. Here's the link:
subject: how to call java class in jsp