Hi Wes, Thank you very much for fast response and solution to my problem (didn't think about trying with this). Yes, changing from jspf to jsp works as desired. Is my implementation wrong? I remember reading somewhere (I can't remember where) that by convention, jsp fragments should be used with extension .jspf and placed inside /WEB-INF/jspf/*.jspf where my jspf files are located currently.
Thanks, Tommy ----- Original Message ---- > From: Wes Wannemacher <w...@wantii.com> > To: Struts Users Mailing List <user@struts.apache.org> > Sent: Thursday, September 3, 2009 6:50:23 AM > Subject: Re: possible bug in v2.1.6 ?? > > Just for troubleshooting purposes try to change the filename of the > included file to .jsp instead of .jspf... I have a theory, but I want > you to verify it first. > > -Wes > > On Thu, Sep 3, 2009 at 9:27 AM, Tommy Phamwrote: > > Hi, > > > > I think I may have found a bug. Here's the problem I've encountered. The > final UI is based on this: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm currently testing both jquery & spry frameworks for ajax. If the > > source > is all in one page, every thing works including the struts tags, specifically > . However, if I put each section in it's own jspf file, the struts > tags break. Here's my usage: > > > > main.jsp: > > > > > > > > > > > > > > > > > > > > > > > > > > > > I also tried using <%@ include /> directive also with the same undesirable > results. I've included the <%@ taglib /> for any page that uses the struts > tag(s). The undesired results, when I use > />">test, I see this in the final UI (web page source code) which gives > action not mapped 404 error: > > > > http://localhost:8090/recipes/%3Cs:url%20value= > > > > The expected & desired result is http://localhost:8090/recipes/myPath > > > > recipes is my app context. Has anyone seen this problem before? This > > works > just fine in Servlet+JSP+JSTL1.2+Hibernate with either or > <%...@include %>. > > > > TIA, > > Tommy > > > > PS: Dev environment is Win08 x64, JDK 1.6u14 x64, TC6.0.20, Struts 2.1.6, > Hibernate 3.3.2.GA. Both jquery (1.3.2 and jquery ui 1.7.2) & spry (1.6.1) > are > on the same page. (Spry has something I like and jquery has the other parts > I > like better). > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > > > -- > Wes Wannemacher > > Head Engineer, WanTii, Inc. > Need Training? Struts, Spring, Maven, Tomcat... > Ask me for a quote! > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org