You have to craete one jsp file in which you will accept the session value
and forward the request  to the respective page. (e.g. amon.jsp)

the session will contains paramstring the value of this will be your
request.getRequestURI().

in your every jsp page before doing any calculation you have to put this
name/value pair into the session. and when you want to forward to next page
then say

request.sendRedirect("amon.jsp?page=nextPage.jsp");

Hope this will work perfectly for u b'use i was using this in my prev.
project. so tested one...


abhijeet




----- Original Message -----
From: "Prashanth.S" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, October 01, 2003 2:45 PM
Subject: RE: <CTRL-N> should not work in different machine...


>
> Hi,
> Thanks for the solution..Actually my problem is if i copy paste my
application url from my machine and use it on other machine it still lets
user to go through the application but instead it should invalidate by
giving session time out error...So what to do???
> Waitinf gor reply
> Prashanth
>
> Andrew Hill <[EMAIL PROTECTED]> wrote:
> eh?
> Thats something about XSLT
>
> -----Original Message-----
> From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 1 October 2003 14:54
> To: Struts Users Mailing List
> Subject: Re: should not work in different machine...
>
>
> for this you have to trap the CTRL-N key event through HTML tags. GOTO
>
>
> http://www.javaworld.com/javaworld/jw-12-2001/jw-1221-xslt.html?
>
> link . search you will get the solution.
>
> abhijeet
>
>
>
> ----- Original Message -----
> From: "Prashanth.S"
> To:
> Sent: Wednesday, October 01, 2003 10:22 AM
> Subject: should not work in different machine...
>
>
> > Hi all,
> > In my application i dont want [copy pasting the same url in
> different window] to work...My application is sending sessionid in
URL....So
> how i need to do this so that i cant browse through the application when i
> copy paste the url in different machine.???
> > Thanks
> > prashanth
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > The New Yahoo! Shopping - with improved product search
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to