• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jsp and Servlet

 
francis varkey
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sir,
I have single jsp login page . while submitting this page , have to go control to a servlet for checking with database. But I can't access the servlet from jsp. Can we give the name of servlet in action of form . Jsp and servlet are different folder of application.

Please send some sample code.


thanks
Francis
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Folders are immaterial. Be sure to use the URL for the servlet mapping in the deployment descriptor. And don;t forget to include the context path.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!