Re: Sitemesh and jspx (JSP Documents)
Joe Walnes <[email protected]> Mon, 21 Dec 2009 22:32:49 -0600
| Newsgroups | gmane.comp.web.sitemesh.general |
|---|---|
| Message-ID | <[email protected]> |
--0014852eab56d5581c047b49b2c6 Content-Type: text/plain; charset=ISO-8859-1 Do .jspx pages use the same content-type as .jsp pages? Look at the headers returned to verify. If they use a different content-type, you may need to update WEB-INF/sitemesh.xml. If you don't have this file, you can copy sitemesh-default.xml from inside the sitemesh Jar. thanks -Joe On Mon, Dec 21, 2009 at 3:15 PM, Marcel Overdijk <[email protected]>wrote: > > The only place I have changed .jsp to .jspx is in decorators.xml to point > to > jspx decorator. > And in spring mvc config to suffix logical view names with .jspx instead of > .jsp. > > When I change both back to jsp my app works decorated... > > To bad sitemesh has no logging at all. Makes it difficult to pinpoint the > problem. > > > Scott Farquhar wrote: > > > > Marcel, > > > > Sitemesh supports jspx, html, and any other html generating method. > > Check what paths the sitemesh filter is configured in your web.xml. > > > > Cheers, > > Scott > > > > 2009/12/22 Marcel Overdijk <[email protected]>: > >> > >> I'm transforming a little project with just a couple jsp pages to jspx > >> "document" pages. > >> > >> The application uses sitemesh for decorating, but after changing the > >> pages > >> to jspx style the pages aren't decorated anymore. > >> > >> Does sitemesh support jspx? > >> > >> -- > >> View this message in context: > >> > http://old.nabble.com/Sitemesh-and-jspx-%28JSP-Documents%29-tp26875203p26875203.html > >> Sent from the OpenSymphony - SiteMesh mailing list archive at > Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > > -- > View this message in context: > http://old.nabble.com/Sitemesh-and-jspx-%28JSP-Documents%29-tp26875203p26880185.html > Sent from the OpenSymphony - SiteMesh mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --0014852eab56d5581c047b49b2c6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Do .jspx pages use the same content-type as .jsp pages? Look at the headers= returned to verify.<div><br></div><div>If they use a different content-typ= e, you may need to update WEB-INF/sitemesh.xml. If you don't have this = file, you can copy sitemesh-default.xml from inside the sitemesh Jar.</div> <div><br></div><div>thanks</div><div>-Joe</div><div><br><div class=3D"gmail= _quote">On Mon, Dec 21, 2009 at 3:15 PM, Marcel Overdijk <span dir=3D"ltr">= <<a href=3D"mailto:[email protected]">[email protected]</a= >></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;"><br> The only place I have changed .jsp to .jspx is in decorators.xml to point t= o<br> jspx decorator.<br> And in spring mvc config to suffix logical view names with .jspx instead of= <br> .jsp.<br> <br> When I change both back to jsp my app works decorated...<br> <br> To bad sitemesh has no logging at all. Makes it difficult to pinpoint the<b= r> problem.<br> <div><div></div><div class=3D"h5"><br> <br> Scott Farquhar wrote:<br> ><br> > Marcel,<br> ><br> > Sitemesh supports jspx, html, and any other html generating method.<br= > > Check what paths the sitemesh filter is configured in your web.xml.<br= > ><br> > Cheers,<br> > Scott<br> ><br> > 2009/12/22 Marcel Overdijk <<a href=3D"mailto:marceloverdijk@gmail.= com">[email protected]</a>>:<br> >><br> >> I'm transforming a little project with just a couple jsp pages= to jspx<br> >> "document" pages.<br> >><br> >> The application uses sitemesh for decorating, but after changing t= he<br> >> pages<br> >> to jspx style the pages aren't decorated anymore.<br> >><br> >> Does sitemesh support jspx?<br> >><br> >> --<br> >> View this message in context:<br> >> <a href=3D"http://old.nabble.com/Sitemesh-and-jspx-%28JSP-Document= s%29-tp26875203p26875203.html" target=3D"_blank">http://old.nabble.com/Site= mesh-and-jspx-%28JSP-Documents%29-tp26875203p26875203.html</a><br> >> Sent from the OpenSymphony - SiteMesh mailing list archive at Nabb= le.com.<br> >><br> >><br> >> ------------------------------------------------------------------= ---<br> >> To unsubscribe, e-mail: <a href=3D"mailto:users-unsubscribe@siteme= sh.dev.java.net">[email protected]</a><br> >> For additional commands, e-mail: <a href=3D"mailto:users-help@site= mesh.dev.java.net">[email protected]</a><br> >><br> >><br> ><br> > ---------------------------------------------------------------------<= br> > To unsubscribe, e-mail: <a href=3D"mailto:[email protected]= ev.java.net">[email protected]</a><br> > For additional commands, e-mail: <a href=3D"mailto:users-help@sitemesh= .dev.java.net">[email protected]</a><br> ><br> ><br> ><br> <br> </div></div><font color=3D"#888888">--<br> View this message in context: <a href=3D"http://old.nabble.com/Sitemesh-and= -jspx-%28JSP-Documents%29-tp26875203p26880185.html" target=3D"_blank">http:= //old.nabble.com/Sitemesh-and-jspx-%28JSP-Documents%29-tp26875203p26880185.= html</a><br> </font><div><div></div><div class=3D"h5">Sent from the OpenSymphony - SiteM= esh mailing list archive at Nabble.com.<br> <br> <br> ---------------------------------------------------------------------<br> To unsubscribe, e-mail: <a href=3D"mailto:[email protected]= va.net">[email protected]</a><br> For additional commands, e-mail: <a href=3D"mailto:[email protected].= java.net">[email protected]</a><br> <br> </div></div></blockquote></div><br></div> --0014852eab56d5581c047b49b2c6--