JAX-RS and Struts2

2008-12-21 Thread Frans Thamura
hi all i read several time ago about JAX-RS and Struts2 integration which we know S2 is not adopt JSF JSR, but JAX-RS but i am in the middle of studying JAX-RS is there possibility to use JAX-RS right now in S2 thx -- -- Frans Thamura Meruvian One Stop Java and Enterprise OSS Provider Techn

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 field names To: user@str

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

Step by Step Struts 2 tutorial

2008-12-21 Thread licicin
Hi, i started Struts 2 tutorial http://www.onepd.com/ The Struts 2 tutorial will help the reader truly understand Struts 2 concepts, it starts with simple examples and explains not only how to use Struts' features, but also how certain features work under the hood; Integrates Struts 2 applicatio

Re: Christmas Riddle

2008-12-21 Thread Dirk Forchel
Thanks to your help, both of you. I'll figure your proposals out after Christmas. Nils-Helge Garli wrote: > > I know that it is not recommended, but since you couldn't get it > working the other way, I figured that was the closest out of the box > use case that could work. The proposed dispatch

Validation Annotation not return INPUT

2008-12-21 Thread Kibo
Hi Konference I use Struts2 with validation annotation. Problem is, that validation not return input. I get fielderror message only but whole method is invoke and run. I assume, that I give bad form feld data the action annotated method coud not be invoke. --- @Validations(