AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Struts: come tornare alla pagina di partenza?

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian)
View previous topic :: View next topic  
Author Message
filp
Guest





PostPosted: Sat Sep 24, 2005 10:10 am    Post subject: Struts: come tornare alla pagina di partenza? Reply with quote



Ciao a tutti,
è da un pò che sto cercando il modo per rendere nota a Struts la pagina
da cui proviene la richiesta e memorizzarla in qualche maniera. Questo
mi servirebbe se ad esempio ho una action richiamabile da più pagine
diverse e voglio tornare all'origine dopo che l'ho eseguita.
Il problema è che non posso usare metodi che prelevano l'informazione
dal file struts-config perché sarebbe un'informazione statica e non
decisa a runtime. Mi pare che anche l'analisi della request del browser
non sia utile perché mi darebbe solo il nome dell'action (sotto forma di
linkAction.do) da cui provengo.
Potete aiutarmi?
Ciao
Back to top
pioneer@inwind.it
Guest





PostPosted: Mon Sep 26, 2005 7:38 am    Post subject: Re: Struts: come tornare alla pagina di partenza? Reply with quote



Metti in un campo hidden il nome della jsp.
E poi lo leggi nella action dalla Request.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.