RE: RE: [HELP][Struts 2] Problem integrating sitemesh

2006-09-02 Thread David Friedman
The FAQ has a brief note to do this only on Tomcat5 but doesn't explain why. Always check the FAQ, Wiki, forums, mailing lists, and search engines for anything that doesn't work out of the box that you think should. Here is the FAQ with that tiny note at the bottom: http://www.opensymphony.com/s

RE: RE: [HELP][Struts 2] Problem integrating sitemesh

2006-09-02 Thread Garner Shawn
For some reason I had to add the dispatchers to the following: sitemesh /* FORWARD REQUEST I also had to upgrade from 2.3 xml definition to the following for 2.4 http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc

RE: RE: [HELP][Struts 2] Problem integrating sitemesh

2006-09-02 Thread Garner Shawn
Yeah the last xml chunck is the decorators xml file. The documentation said that the sitemesh.xml is optional. The /decorators/main.jsp is the same one from the sitemesh blank war. <%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator"; prefix="decorator" %> My Site -

RE: [HELP][Struts 2] Problem integrating sitemesh

2006-09-02 Thread David Friedman
Can we safely assume your last xml chunk is for /WEB-INF/decorators.xml? Where is your /WEB-INF/sitemesh.xml? What does your /decorators/main.jsp look like? Have you tried changing your mapping from "*" to "/*" as the documentation suggests? And yes, I've used SiteMesh a few times and had no pr

Re: Checking the request attribute by using the Struts tags in the next jsp page..

2006-09-02 Thread Jared Blitzstein
You can do it with either struts or JSTL depending on which you want to use. I prefer JSTL and this is how I'd do it This is open This is closed with struts you could use logic:equal and logic:notEqual (http:// struts.apache.org/1.2.4/api/org/apache/struts/taglib/logic

[HELP][Struts 2] Problem integrating sitemesh

2006-09-02 Thread Garner Shawn
I am trying to use sitemesh with struts 2. I tried to merge the sitemesh blank in with the struts blank wars. I get the "Struts is up and running" page but I can't tell that sitemesh is working at all. Can somebody tell me what I'm doing wrong? From what I can tell the home.jsp should be getting

Re: Checking the request attribute by using the Struts tags in the next jsp page..

2006-09-02 Thread nuwan chandrasoma
I would go for JSTL tags, its more power full than some struts tags, Thanks, Nuwan On 9/2/06, SrinivasaReddy <[EMAIL PROTECTED]> wrote: Hi.., I am setting the po values in links as http://:8080/ApplicationName/viewPO.do?po=open http://:8080/ApplicationName/viewPO.do?po=close in the display