Howdy,

>Is using a WAR file the best way to deploy a web app to a remote
server?

Yes.

>Is there a better way to reload the web app other than to remove and
>reinstall it?

You can use the Tomcat Manager's webapp deploy/reload mechanisms, either
graphically in the browser or via Ant.

>Is there a better way to grant the web app access to the image
directory
>other than the symbolic link?

There are alternatives, including:
- Specifying the image directory name (absolute path) in your web.xml as
a context-param or servlet-param, or in another configuration file your
app reads.

- Specifying the image directory as an env-entry-ref in your web.xml and
defining it as a resource in the server, i.e. in server.xml for tomcat.

- Including the images in your WAR.

- Putting the images in a database.

Are you serving images directly out of this directory, i.e. it's part of
an <img src=...> tag?

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to