You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Karianne Berg <ke...@start.no> on 2005/06/30 12:02:15 UTC

Using dynamic GET data

Hello,

I'm fairly new to Struts, and I'm trying to transform a web presentation
application of some size into using Struts for the Controller part, since it has
grown really, really long.

For the presentation part of the application, the users are supposed to follow
links and get presented with information based on the GET data in the url's.
Normally, I would just extend DispathAction for this (that was my first plan,
anyway). Problem is, the information in the GET data is given by the user who
made the presentation in the publishing part of the application. How can I make
Actions that can handle any type of GET data and still get the user dispatched
to the right jsp page?

Thanks in advance,
Karianne

-------------------------------------------------------------------------
Start.no tilbyr nå raskere bredbånd til lavere pris.
Sjekk http://www.start.no/bredband/ for mer informasjon

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Using dynamic GET data

Posted by Nitesh <ni...@cordiant.net>.
Probably you could get the GET data in the action class which goes to a 
intermediate JSP which does nothing but forwards to the right JSP using the 
GET data.

HTH
Nitesh
----- Original Message ----- 
From: "Karianne Berg" <ke...@start.no>
To: <us...@struts.apache.org>
Sent: Thursday, June 30, 2005 3:32 PM
Subject: Using dynamic GET data


> Hello,
>
> I'm fairly new to Struts, and I'm trying to transform a web presentation
> application of some size into using Struts for the Controller part, since 
> it has
> grown really, really long.
>
> For the presentation part of the application, the users are supposed to 
> follow
> links and get presented with information based on the GET data in the 
> url's.
> Normally, I would just extend DispathAction for this (that was my first 
> plan,
> anyway). Problem is, the information in the GET data is given by the user 
> who
> made the presentation in the publishing part of the application. How can I 
> make
> Actions that can handle any type of GET data and still get the user 
> dispatched
> to the right jsp page?
>
> Thanks in advance,
> Karianne
>
> -------------------------------------------------------------------------
> Start.no tilbyr nå raskere bredbånd til lavere pris.
> Sjekk http://www.start.no/bredband/ for mer informasjon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org