Re: need to create servlet

2008-11-26 Thread Steven Yang
I am guessing its suggesting you have one context root for static content
and another root for your actions and stuff.
for example you might have something like

for actions
http://localhost/actions/login.action

and for static contents

http://localhost/static/login.png

and in your login.action jsp you will have to refer to login.png as



and in the HTTP server you set it to only intercept /static

I am just guessing
see if this helps


RE: need to create servlet

2008-11-26 Thread Fernandes, Filipe
Filipe Fernandes wrote:
> The question is, how do we create a separate server context root for
> *.action in order to get rid of the filter mappings in the web.xml?
Any
> hints would be appreciated...

I forgot to mention that a LaunchServlet example is available in the
following webpage, but the example is far from complete.

http://struts.apache.org/2.x/docs/websphere.html

thanks,
filipe


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]