Easy use Java Server Pages
1) Change the suffix of the pages that you want to restrict to .jsp.
2) Adds a scriptlet that authenticate the users and session
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
---------------------------------------- Message History
----------------------------------------
From: s saravanan <[EMAIL PROTECTED]>@java.sun.com> on 25/11/2000 04:43 PST
Please respond to "A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology." <[EMAIL PROTECTED]>
DELEGATED - Sent by: "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology."@java.sun.com>
To: [EMAIL PROTECTED]
cc:
Subject: How to restrict it?
Hi All,
I have some help regarding restriction of pages in browsers.
I have created 3 html pages. First page is a homepage where the user login
is there. The users have to see the remaining 2 html pages only if they
login in the first page.In the browser, if they give url like
http://servername:8080/login.html ----It shows user login, here it goes
to servlet program and checking the username and if it is correct user it
chould enter second page showing the second url:
http://servername:8080/folder/two.html
Suppose in the browser, if i'am giving directly the 2nd url or 3rd url
http://servername:8080/folder/two.html , then should restrict showing that
page and should goto automatically to login page directly.
Can any body help me on this immediately!!!
saravanan.
_____________________________________________________________________________________
Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorised copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html