Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] how to dynamically config jetty policy files?

On 06/09/2011 05:58, zhiwei chen wrote:
hi,all.

I have run many app under jetty, and I want to give one app a specified
read_write dir.
like this:

/webapps/app1.war  read_write_dir is   /dir/app1/
/webapps/app2.war  read_write_dir is   /dir/app2/
/webapps/app3.war  read_write_dir is   /dir/app3/
.......

How to dynamically specified app's read_write_dir when app are comming?

Not sure if I understand the question, but could you use context params
in the web.xml of each app to specify the directory path?

------------------------------------------------------------------------
 John English | My old University of Brighton home page is still here:
              | http://www.cem.brighton.ac.uk/staff/je/
------------------------------------------------------------------------


Back to the top