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&#39;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">=
&lt;<a href=3D"mailto:[email protected]">[email protected]</a=
>&gt;</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>
&gt;<br>
&gt; Marcel,<br>
&gt;<br>
&gt; Sitemesh supports jspx, html, and any other html generating method.<br=
>
&gt; Check what paths the sitemesh filter is configured in your web.xml.<br=
>
&gt;<br>
&gt; Cheers,<br>
&gt; Scott<br>
&gt;<br>
&gt; 2009/12/22 Marcel Overdijk &lt;<a href=3D"mailto:marceloverdijk@gmail.=
com">[email protected]</a>&gt;:<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m transforming a little project with just a couple jsp pages=
 to jspx<br>
&gt;&gt; &quot;document&quot; pages.<br>
&gt;&gt;<br>
&gt;&gt; The application uses sitemesh for decorating, but after changing t=
he<br>
&gt;&gt; pages<br>
&gt;&gt; to jspx style the pages aren&#39;t decorated anymore.<br>
&gt;&gt;<br>
&gt;&gt; Does sitemesh support jspx?<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; View this message in context:<br>
&gt;&gt; <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>
&gt;&gt; Sent from the OpenSymphony - SiteMesh mailing list archive at Nabb=
le.com.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------------------=
---<br>
&gt;&gt; To unsubscribe, e-mail: <a href=3D"mailto:users-unsubscribe@siteme=
sh.dev.java.net">[email protected]</a><br>
&gt;&gt; For additional commands, e-mail: <a href=3D"mailto:users-help@site=
mesh.dev.java.net">[email protected]</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; ---------------------------------------------------------------------<=
br>
&gt; To unsubscribe, e-mail: <a href=3D"mailto:[email protected]=
ev.java.net">[email protected]</a><br>
&gt; For additional commands, e-mail: <a href=3D"mailto:users-help@sitemesh=
.dev.java.net">[email protected]</a><br>
&gt;<br>
&gt;<br>
&gt;<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--