I still have struggle with this image, flash, files and Wicket

Here is my problem.

I have all my css files, images, flashes pdf etc in a dir let's say 

c:/mydir/

To access these files from my webapp I have created a Servlet that get the
files from my dir outside of the container using this path
/Files/myimage.gif

In my web.xml I have the servlet  <url-pattern>/Files/*</url-pattern>

The reasone I have the files outside the container is so that the css, files
can be changed without having to deploy the war file again or that the css
is Changed in the container but after redeploying the changes is lost
because of a designer changing the css.

Now, I can't use wicket declarations in my css file and when I have
background images in my css the servlet is not found. I would like to use
only wicket and not servlets mapping the files outside of the container. How
do you add background images in a css?

Do you keep the background image and the css inside the container? What
about when we need to change background image?


-- 
View this message in context: 
http://www.nabble.com/Mount-files-outside-container-tp19232069p19258448.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to