users@glassfish.java.net

Problem wen using "Default Web Module" & docroot

From: <glassfish_at_javadesktop.org>
Date: Fri, 09 Jan 2009 02:14:18 PST

Hi,

I have a question about the usage of a "Default Web Module" in a virtual sever configuration.
In our application we are using JavaScript Libs (TinyMCE) located in the docroot of the Server (/...domains/domain1/docroot/tinymce...)
So inside different applications we access the scripts with root context
  script src="/tiny_mce/tiny_mce.js"

Now we plan to configure one application as the "Default Web Module" of a virtual server configuration..
But in this case the docroot is no longer accessible from a web module.

Can anybody help me to understand this behavior of the "Default Web Module".
Should we better avoid using a "Default Web Module". Instead of this it would be possible changing the index.html in the docroot or changing the context root of our default webapplication?

Thanks for any help and shared experience

ralph
[Message sent by forum member 'rsoika' (rsoika)]

http://forums.java.net/jive/thread.jspa?messageID=324962