You are not logged in.

#1 2007-05-05 02:55:50

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

tomcat: want to lock location bar

hello!

i have a big problem. i wrote a dynamic web project (jsp and servlet). there is big problem. users can fill in the adress of a jsp or servlet and tomcat will show it. one situation: the address of my page is "localhost:8080/foo". tomcat will show the login.jsp. here you can announce yourself and you will passed to overview.jsp. but i can  directly enter the address of overview.jsp ("localhost:8080/foo/overview.jsp") into the location bar and then tomcat throws an exception, because of missing variables created during the login process.

how can i prevent that? is there a way to hide the addresses (during surfing through the page the location will not change) or to block the possibility to enter the location of an other path then "/foo" (block "localhost:8080/foo/overview.jsp")?

thanks for your help...
mfg iggy


sorry for my bad english smile

Offline

#2 2007-05-06 22:42:01

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

Re: tomcat: want to lock location bar

no idea? sad


sorry for my bad english smile

Offline

Board footer

Powered by FluxBB