Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Issue with Redirecting to a jsp

843840Aug 1 2008 — edited Aug 1 2008
Hi,
I am facing the problem when redirecting to a jsp from another jsp.

I have one loginscreen .jsp which redirects to another jsp index.jsp
for example

http://c8160.mns.co.in:7001/Authn/LoginScreen.jsp?redirectURL=http://c8160.mns.co.in:7001/lmn/Index.jsp

here my client is removing the "redirectURL=http://c8160.mns.co.in:7001/lmn/Index.jsp" ,placing the javascript code <script>alert("hi")</script>

which leadind to application failure.

Pls anyone suggest how i can prevent the client to modify this .(like when modify this disaplying the error message or making session expired like that)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 29 2008
Added on Aug 1 2008
4 comments
353 views