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 execute for static pages? It seems like
> that would fix the Dispatcher.getInstance() problem. Something like
>
> <action name="*" class="com.opensymphony.xwork2.ActionSupport">
> <result name="success">/staticHTML/{1}</result>
> </action>
>
> in your struts.xml seems like it would do the trick (be careful of
> overriding your regular actions!).
>
> -Brian
>
>
>
> On Thu, Jan 21, 2010 at 11:49 AM, Philipp Leusmann <
> [email protected]> wrote:
>
>> Sure it would be faster without that stuff, but since I use some
>> session-related stuff (user login status etc.) , replacing it with a static
>> decorator would not be feasible.
>>
>> Thanks anyway for your suggestions.
>>
>> Regards,
>> Philipp
>> <snip>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]