This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes how to call servlet file by clicking a hyperlinks 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 » JSP
Bookmark "how to call servlet file by clicking a hyperlinks in jsp" Watch "how to call servlet file by clicking a hyperlinks in jsp" New topic
Author

how to call servlet file by clicking a hyperlinks in jsp

neha agg
Greenhorn

Joined: Sep 30, 2012
Posts: 4
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

Joined: Jan 10, 2002
Posts: 60765
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to call servlet file by clicking a hyperlinks in jsp
 
Similar Threads
How to make an image to appear and fade gradually when a web page is opened?
How to open word and pdf document in the browser
iframe refreshing another iframe
Struts Tiles Question
How to remove managed bean from session