struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <musa...@gmail.com>
Subject Re: using GET urls and parameters
Date Tue, 21 Oct 2008 16:23:44 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message