wood burning stoves 2.0*
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


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
 
GeeCON Prague 2014
 
subject: Where to include Serclet class in Jsp?