Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to call servlet file by clicking a hyperlinks in jsp

 
neha agg
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have made a jsp page in which course details have been given,now i want that by clicking on that hyperlinks,firstly it should check whether user is logged in or not,if looged then a new jsp page should be opened and if not logged in that signup page should be opened....

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64851
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Addressing a servlet is as simple as using the URL as the href of the link.

Authentication can be performed using JEE container-managed authentication, or rolling your own with servlet filters.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic