You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nick Maunder | Oathouse <ni...@oathouse.com> on 2008/10/21 18:17:53 UTC
using GET urls and parameters
Hi all
My brain is fried
Why won't my struts2 accept a GET URL with parameters??
What I am doing wrong?
http://localhost:8080/ffRelease2/User_verifyEmail.action
<http://localhost:8080/ffRelease2/User_verifyEmail.action&user=1&otv=2d1afe2
118ae59288f3d79fb52abee> &user=1&otv=2d1afe2118ae59288f3d79fb52abee
I want to action User_verifyEmail (class UserAction.java, method
verifyEmail)
I have 2 request parameters, user and otv
I have gets and sets for both user (a "long") and otv (a String)
Can't find any example in my book or on the Struts2 website using GET URLs
I must be mr thicky today!!
Any help gratefully accepted
Nick
Re: using GET urls and parameters
Posted by Musachy Barroso <mu...@gmail.com>.
The url is broken: <
http://localhost:8080/ffRelease2/User_verifyEmail.action&user=1&otv=2d1afe2
118ae59288f3d79fb52abee<http://localhost:8080/ffRelease2/User_verifyEmail.action&user=1&otv=2d1afe2118ae59288f3d79fb52abee>
>&user=1&otv=2d1afe2118ae59288f3d79fb52abee
fix to this: http://localhost:8080/ffRelease2/User_verifyEmail.action<http://localhost:8080/ffRelease2/User_verifyEmail.action&user=1&otv=2d1afe2118ae59288f3d79fb52abee>
?blablah&blahblah
musachy
On Tue, Oct 21, 2008 at 12:17 PM, Nick Maunder | Oathouse <nick@oathouse.com
> wrote:
> Hi all
>
>
>
> My brain is fried
>
>
>
> Why won't my struts2 accept a GET URL with parameters??
>
>
>
> What I am doing wrong?
>
>
>
> http://localhost:8080/ffRelease2/User_verifyEmail.action
> <
> http://localhost:8080/ffRelease2/User_verifyEmail.action&user=1&otv=2d1afe2
> 118ae59288f3d79fb52abee<http://localhost:8080/ffRelease2/User_verifyEmail.action&user=1&otv=2d1afe2118ae59288f3d79fb52abee>>
> &user=1&otv=2d1afe2118ae59288f3d79fb52abee
>
>
>
> I want to action User_verifyEmail (class UserAction.java, method
> verifyEmail)
>
> I have 2 request parameters, user and otv
>
> I have gets and sets for both user (a "long") and otv (a String)
>
>
>
> Can't find any example in my book or on the Struts2 website using GET URLs
>
>
>
> I must be mr thicky today!!
>
>
>
> Any help gratefully accepted
>
>
>
> Nick
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd