struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Yang" <kenshin...@gmail.com>
Subject Re: need to create servlet
Date Thu, 27 Nov 2008 05:27:35 GMT
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

<img src='/static/login.png'/>

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

I am just guessing
see if this helps

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message