File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 61770
    
  67

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