Re: [S2] struts2-archetype-starter not working in WebSphere 6.1.0.7

2007-06-16 Thread Martin Gainty
same with BEA.. /WEB-INF/web.xml.. contextConfigLocation /WEB-INF/applicationContext.xml M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email me

Re: [S2] struts2-archetype-starter not working in WebSphere 6.1.0.7

2007-06-16 Thread Richard Dominguez
I think I found the answer -- it had to do with where applicationContext.xml was. Since helloWorldAction is wired up through Spring, if Spring isn't working, then the app doesn't work. And for some reason, the following entry in web.xml does not work in finding the applicationContext.xml: context

Re: S2 substitute for jstl empty operator

2007-06-16 Thread Roberto Nunnari
Roberto Nunnari wrote: Hello again.. Another question.. in JSTL I can write: ... The empty operator tests for null, empty strings and empty arrays.. if in S2 I type: ... it doesn't work. humm... it seams that: suffices for testing null.. is that the correct usage? Best practices for the o

S2 substitute for jstl empty operator

2007-06-16 Thread Roberto Nunnari
Hello again.. Another question.. in JSTL I can write: ... The empty operator tests for null, empty strings and empty arrays.. if in S2 I type: ... it doesn't work. Is there in S2 a substitute for the JSTL EL operator empty? And for the ! operator? Sorry for all the questions, but I couldn't

Re: usage of

2007-06-16 Thread Roberto Nunnari
sorry.. my previous message was misstyped in the second question.. let me repost it corrected: Hello list. I'm learning S2 and I'm a bit puzzled with the following: value="%{id}"/>"/> I would expect the generate HTML to be something like: but instead I get: do I miss anything? also, jst

usage of

2007-06-16 Thread Roberto Nunnari
Hello list. I'm learning S2 and I'm a bit puzzled with the following: value="%{id}"/>"/> I would expect the generate HTML to be something like: but instead I get: do I miss anything? also, jstl let me do something like: is there anything similar in S2? Thank you in advance. B

Re: Struts 2

2007-06-16 Thread l1nk
Please i really need some help here. I dont understand why this dont work. Heres my struts-form.xml and struts.xml: strust-form.xml http://struts.apache.org/dtds/struts-2.0.dtd";> /pages/erro.jsp /pages/sucesso.jsp

RE: Problem while Struts 2 and Tiles 2 integration.

2007-06-16 Thread LAMY Olivier
Hi, Have a look : https://issues.apache.org/struts/browse/TILES-183 HTH, -- Olivier -Message d'origine- De : Kev_dev [mailto:[EMAIL PROTECTED] Envoyé : samedi 16 juin 2007 19:57 À : user@struts.apache.org Objet : Re: Problem while Struts 2 and Tiles 2 integration. I received this erro

Re: Problem while Struts 2 and Tiles 2 integration.

2007-06-16 Thread Kev_dev
I received this error as well, and discovered the cause to actually be my tiles.xml. The Struts2 tiles.xml needs to follow the schema defined in "http://struts.apache.org/dtds/tiles-config_2_0.dtd";, and if your tiles.xml differs from it, you may receive this exception. In my case, I was porting

RE: [S2] Weblogic & struts.multipart.parser

2007-06-16 Thread Karr, David
The usual workaround for avoiding conflicts between WebLogic's jar files and the application jar files is to use "prefer-web-inf-classes" in the weblogic.xml file. This would work for simple UI components like Struts and Beehive, but it might not work for lower-level components like the XML parser

Re: updating a DIV with ajax submit

2007-06-16 Thread Mansour
I solved the problem. I don't know why but it resolved. Never mind. Here the old code: and task.jsp contains this: Service Name Unit Count cost Date Completed ... For some reason this was not updating th

Re: updating a DIV with ajax submit

2007-06-16 Thread Martin Gainty
Good Morning Mansour you will need to initialise your Ajax div tag with your own Placeholder to quote the doc before asynchronously retrieving contents of href attribute initialise your Div Tag with Placeholder data.. (in this example the Response from href="http://www.weather.com/weather?zip=9

Re: updating a DIV with ajax submit

2007-06-16 Thread Musachy Barroso
Well, that's all Struts will do, insert the html in the target element musachy On 6/15/07, Mansour <[EMAIL PROTECTED]> wrote: Jeff Amiel wrote: > I assume the value of %{ajaxSubmit} is a struts action...? > And you are sure it is actually putting NEW content in the div after > the image is