Re: decorating static content with sitemesh

2010-02-03 Thread Philipp Leusmann
Just to add things up, I filed a jira-issue for all of this: , but maybe you can still convince me I got things wrong and the stuff works without jumping hoops Am 03.02.2010 um 12:54 schrieb Philipp Leusmann: > Sorry for my late reply, but I was

Re: decorating static content with sitemesh

2010-02-03 Thread Philipp Leusmann
Sorry for my late reply, but I was busy doing other things. I just investigated a little further into this issue, but still cannot find a way to resolve it. As you proposed, I checked my struts filter mapping, which is /* , so that would be sufficient. I also checked the struts.action.extensio

Re: decorating static content with sitemesh

2010-01-21 Thread Brian Thompson
In web.xml, make a Struts filter mapping that includes *.html in addition to *.action. -Brian On Thu, Jan 21, 2010 at 1:41 PM, Philipp Leusmann < philipp.leusm...@rwth-aachen.de> wrote: > Hi Brian, > > that would work, but then I'll have to make a call to > "/staticHTML/page.html.action" to acc

RE: decorating static content with sitemesh

2010-01-21 Thread Kawczynski, David
0 2:42 PM > To: Struts Users Mailing List > Subject: Re: decorating static content with sitemesh > > Hi Brian, > > that would work, but then I'll have to make a call to > "/staticHTML/page.html.action" to access "/staticHTML/page.html". > Wou

Re: decorating static content with sitemesh

2010-01-21 Thread Philipp Leusmann
Hi Brian, that would work, but then I'll have to make a call to "/staticHTML/page.html.action" to access "/staticHTML/page.html". Would be a workaround, but I still would prefer the call to *.html Philipp Am 21.01.2010 um 19:18 schrieb Brian Thompson: > Can you get the Struts filter to execut

Re: decorating static content with sitemesh

2010-01-21 Thread Brian Thompson
Can you get the Struts filter to execute for static pages? It seems like that would fix the Dispatcher.getInstance() problem. Something like /staticHTML/{1} in your struts.xml seems like it would do the trick (be careful of overriding your regular actions!). -Brian On Thu, Jan 21, 2010

Re: decorating static content with sitemesh

2010-01-21 Thread Philipp Leusmann
; > > >> -Original Message- >> From: Philipp Leusmann [mailto:philipp.leusm...@rwth-aachen.de] >> Sent: Thursday, January 21, 2010 12:26 PM >> To: Struts Users Mailing List >> Subject: Re: decorating static content with sitemesh >> >> Ok, that woul

RE: decorating static content with sitemesh

2010-01-21 Thread Kawczynski, David
hilipp Leusmann [mailto:philipp.leusm...@rwth-aachen.de] > Sent: Thursday, January 21, 2010 12:26 PM > To: Struts Users Mailing List > Subject: Re: decorating static content with sitemesh > > Ok, that would not be sufficient for me, since I use some > struts in my decorating t

Re: decorating static content with sitemesh

2010-01-21 Thread Philipp Leusmann
ith it's own filter in web.xml > >> -Original Message- >> From: Philipp Leusmann [mailto:philipp.leusm...@rwth-aachen.de] >> Sent: Thursday, January 21, 2010 11:58 AM >> To: Struts Users Mailing List >> Subject: Re: decorating static content with

RE: decorating static content with sitemesh

2010-01-21 Thread Kawczynski, David
Plain sitemesh, with it's own filter in web.xml > -Original Message- > From: Philipp Leusmann [mailto:philipp.leusm...@rwth-aachen.de] > Sent: Thursday, January 21, 2010 11:58 AM > To: Struts Users Mailing List > Subject: Re: decorating static content with sitemesh

Re: decorating static content with sitemesh

2010-01-21 Thread Philipp Leusmann
David, did you use plain sitemesh or the struts-sitemesh plugin? Philipp Am 21.01.2010 um 17:50 schrieb Kawczynski, David: > I have used SiteMesh to decorate static content served > up by the app server. If the static content is served > up by apache (or some other httpd server) you're out of

RE: decorating static content with sitemesh

2010-01-21 Thread Kawczynski, David
I have used SiteMesh to decorate static content served up by the app server. If the static content is served up by apache (or some other httpd server) you're out of luck. > -Original Message- > From: Philipp Leusmann [mailto:philipp.leusm...@rwth-aachen.de] > Sent: Thursday, January 21