Unable to Repopulate the select control once the validation failed

2007-09-02 Thread vamsi
Hi, I am using struts validation frame work. if the validation fails I am returning to the same jsp page. Here in this page there is some date is which was populated when the jsp page initially loaded. when saving the data I am performing the validation if it fails I

Re: Pls help me to find Struts 1.0.2 binary, library and source

2007-09-02 Thread Joey Watson
Wendy , Thank you very much. On 9/3/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 9/2/07, Joey Watson <[EMAIL PROTECTED]> wrote: > > > I have to find Struts 1.0.2 Binary Distribution, Struts 1.0.2 Library > > Distribution and > > Struts 1.0.2 Source Code Distribution for a project, but I didn't

Re: Pls help me to find Struts 1.0.2 binary, library and source

2007-09-02 Thread Wendy Smoak
On 9/2/07, Joey Watson <[EMAIL PROTECTED]> wrote: > I have to find Struts 1.0.2 Binary Distribution, Struts 1.0.2 Library > Distribution and > Struts 1.0.2 Source Code Distribution for a project, but I didn't find > it on apache website(http://archive.apache.org/dist/jakarta/struts/binaries/), > o

Pls help me to find Struts 1.0.2 binary, library and source

2007-09-02 Thread Joey Watson
Hi everybody. I have to find Struts 1.0.2 Binary Distribution, Struts 1.0.2 Library Distribution and Struts 1.0.2 Source Code Distribution for a project, but I didn't find it on apache website(http://archive.apache.org/dist/jakarta/struts/binaries/), only 1.1 can be found, so anybody know where I

Re: ServletRequestAware

2007-09-02 Thread Alvaro Sanchez-Mariscal
As far as I know, the only way is asking HttpServletRequest, and thus, implementing ServletRequestAware. If you want to keep HttpServletRequest code out of your actions, consider implementing an interceptor, or even a raw servlet filter. Alvaro. On 9/3/07, stanlick <[EMAIL PROTECTED]> wrote: > >

ServletRequestAware

2007-09-02 Thread stanlick
I have an action that determines the requester IP address. The action implements ServletRequestAware, but I don't like it being all tangled up in the Servlet API. Is there a way to get the IP address another way. The RequestAware interface seems to map to only request attributes. Thanks, S --

Struts2: How to handle errors and messages with ajax requests

2007-09-02 Thread Marc Eckart
Hi, I have no idea, how to handle ajax requests properly. My problem is, that I want to fill a list - by now it's just a simple struts action as normal http request. I now want that the list is filled with a ajax request so that the whole page doesn't need to be loaded. But sometimes it is possibl

[S2] error-page directive not working

2007-09-02 Thread Neil Aggarwal
Hello: I added this error-page directive in my web.xml: java.lang.Exception /error.action The error.action exists and loads correctly: http://cbsweb.jammconsulting.com/cbsweb/error.action I then created a jsp which throws an exception: <%throw new Exception("Testing error handling

Re: Struts 2 !!!OK!!! cannot we live without Spring?

2007-09-02 Thread stanlick
Hayrol -- How are you testing your actions? Using Spring, I can test all my actions with a simple tweak of the Spring file. If you step back and think about IoC using Spring, PICO, Orange Juice or whatever, you will realize that throwing the new keyword away is the best medicine in a highly depe