File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create a page of login in Java ?

 
Gustavo Siqueira
Ranch Hand
Posts: 97
C++ Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 38
Eclipse IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can set request parameter or hidden variable on the jsp page and submit it to identify from which page you are coming.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic