File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Where to include Serclet class in Jsp? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Where to include Serclet class in Jsp?" Watch "Where to include Serclet class in Jsp?" New topic
Author

Where to include Serclet class in Jsp?

rejieve alexander
Greenhorn

Joined: Dec 10, 2000
Posts: 22
Hi friends,
Could someone please help me in
letting me know in detail, where should i include a servlet
class in jsp when u want to call a servlet from
jsp,and how could i call the functions from the servlet..
Thanks in advance.....
ray bond
Ranch Hand

Joined: Oct 11, 2000
Posts: 111
if you want to include servlets in jsp page you can do like ,

<%@ page import="ServletClass" %>
after importing servlet you have to create instance of that servlet to use its method ,
ray bond
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Where to include Serclet class in Jsp?
 
Similar Threads
Using JFreeCharts
Servlet class in Jsp
Call servlet from java class and redirect to jsp page
Unable to compile class for JSP
Calling jsp from java class and posting data