Re: Struts 1: how to use different parameter names from html field names

2009-05-03 Thread Paul Benedict
> -----Original Message- > From: farmer2008 [mailto:ee...@ncf.ca] > Sent: Sunday, December 21, 2008 3:33 PM > To: user@struts.apache.org > Subject: Struts 1: how to use different parameter names from html field names > > > > Hi, > > My html form uses "get&quo

RE: Struts 1: how to use different parameter names from html field names

2008-12-23 Thread Givler, Eric
uot;?" + queryString ); fwd.setRedirect( true ); return fwd; -Original Message- From: farmer2008 [mailto:ee...@ncf.ca] Sent: Sunday, December 21, 2008 3:33 PM To: user@struts.apache.org Subject: Struts 1: how to use different parameter names from html field names Hi, My html

Re: Struts 1: how to use different parameter names from html field names

2008-12-21 Thread farmer2008
Thanks Dave. I'll take your suggestions and re-consider how to do it. newton.dave wrote: > >> It's worth an effort as a web page quite possibly won't work >> properly if its query string is longer than 255 characters. > > It's not that I don't understand the problem, I just don't see it being

Re: Struts 1: how to use different parameter names from html field names

2008-12-21 Thread Dave Newton
> It's worth an effort as a web page quite possibly won't work > properly if its query string is longer than 255 characters. It's not that I don't understand the problem, I just don't see it being much of an issue. > JavaScript can achieve it but it's not a good choice because > clients may di

Re: Struts 1: how to use different parameter names from html field names

2008-12-21 Thread farmer2008
Thanks Dave for your quick response. It's worth an effort as a web page quite possibly won't work properly if its query string is longer than 255 characters. JavaScript can achieve it but it's not a good choice because clients may diable it. Struts 1 render "name" attribute of text field from t

Re: Struts 1: how to use different parameter names from html field names

2008-12-21 Thread Dave Newton
There's nothing like that built-in. Seems like it'd be trivial to implement via JavaScript, but I'd question whether or not it's worth the effort. --- On Sun, 12/21/08, farmer2008 wrote: From: farmer2008 Subject: Struts 1: how to use different parameter names from html

Struts 1: how to use different parameter names from html field names

2008-12-21 Thread farmer2008
Hi, My html form uses "get" method to send data to server to do a search. City: ... So in the result page, the url will be .../searchresult.do?city= Since the form contains many fields and some fields' values are pretty long, I plan to use one letter to name eac