Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where to include Serclet class in Jsp?

 
rejieve alexander
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic