aspose 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
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply 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: 56233
    
  13

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to call servlet file by clicking a hyperlinks in jsp
 
Similar Threads
How to remove managed bean from session
Struts Tiles Question
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