Please excuse my stupidity

I was separating parameters from url with "&" instead of ? duh!! Time for
the pub

Nick

-----Original Message-----
From: Nick Maunder | Oathouse [mailto:[EMAIL PROTECTED] 
Sent: 21 October 2008 17:18
To: 'Struts Users Mailing List'
Subject: 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



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

Reply via email to