Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

login page

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
helo...i would like to know how to make a dynamic menu..there is a login page which can detect the user level..then from that the user can only see his menu only....using jsp and sevlet..i stil new in jsp..so hopefuly someone could help me...i suggesting to use jsp as the interface while the engine is sevlet..please help me
 
Prasad Charasala
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Naga,
If you are new to JSP, learn JSP first then write some JSP which can generate some dynamic content. In that process if you find any difficulty, the people here may help you. All I can say here is get userid when he logs in and put that information in session object, and based on the session info retrieve his level from your database and present the appropriate JSP to the client.

------------------
Prasad
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's an interesting (if not very recent) article about this on the Java Developer Connection at Sun here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic