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 Servlets and the fly likes How to create a page of login in Java ? 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 » Servlets
Bookmark "How to create a page of login in Java ?" Watch "How to create a page of login in Java ?" New topic
Author

How to create a page of login in Java ?

Gustavo Siqueira
Ranch Hand

Joined: Jun 15, 2011
Posts: 97

Hi!

I'm creating a form login and password on Servlet. Such servlet have the function of request the page Home.jsp that is on (/WEB-INF/security/Home.jsp).
Within from Home.jsp (WEB-INF/security/Home.jsp), I have a form than have another function from of an other servlet. However, after run this servlet, I cannot know as I return the page previous.

What do I do ?

Thanks a lot!
Vivek SharmaJi
Ranch Hand

Joined: Dec 09, 2012
Posts: 38

You can set request parameter or hidden variable on the jsp page and submit it to identify from which page you are coming.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to create a page of login in Java ?
 
Similar Threads
weblogic 9- authentication
a conceptual problem with security in spring
login-config question
popup form in spring
How is a request handled within struts framework