I'm trying to see if there is a framework or open source project out that that will allow me to bundle seperate JARs of html, images, js and class files and drop them outside of a the WAR file to be picked up at runtime by the Web Application.
For example, my core application would be in a WAR file [CoreApp.war] but on an external directory on the filesystem I want to deploy packages of self-contained individual group of JSP, HTML, images, Java-Script files that will get picked up at runtime. So that the core app can act as the driver but the individual JSP's in each app along with some XML mapping can support the components on it's own.
Any thoughts on open-source products that do that or if there is anything that comes close that I can expand...
Thank you all...
Venkatt Guhesan
Discussions
Web tier: servlets, JSP, Web frameworks: Web widgets - Anyone know of a project that will allow this?
-
Web widgets - Anyone know of a project that will allow this? (4 messages)
- Posted by: null
- Posted on: February 22 2006 15:09 EST
Threaded Messages (4)
- security problems by Majid Kalkatechi on February 26 2006 14:00 EST
- security problems by akira yamazaki on February 27 2006 04:52 EST
- Web widgets - Anyone know of a project that will allow this? by Majid Kalkatechi on February 28 2006 03:40 EST
- do you mean Virtual directory? by Sheng Sheen on March 02 2006 19:15 EST
-
security problems[ Go to top ]
- Posted by: Majid Kalkatechi
- Posted on: February 26 2006 14:00 EST
- in response to null
hi,
Because of security problems, each web Applicatin has access to its own context and can not access to other parts of file system. -
security problems[ Go to top ]
- Posted by: akira yamazaki
- Posted on: February 27 2006 04:52 EST
- in response to Majid Kalkatechi
Maybe I'm missing a point but most of app servers allow you to get another context or redirect/dispatch requests to another web apps... -
Web widgets - Anyone know of a project that will allow this?[ Go to top ]
- Posted by: Majid Kalkatechi
- Posted on: February 28 2006 03:40 EST
- in response to null
yes, we can redirect the request to another context, but we dont have access to manage or load/unload recources from other
context. -
do you mean Virtual directory?[ Go to top ]
- Posted by: Sheng Sheen
- Posted on: March 02 2006 19:15 EST
- in response to null
WebLogic supports this in the EAR or WAR file, if you setup a virtual directory, you can then read JSP JARs, htmls, gif/jpgs from a different directory on the system. This way, all the WAR files that you have can share the same static/dynamic resources.
<virtual-directory-mapping>
<local-path>c:/usr/gifs</local-path>
<url-pattern>/images/*</url-pattern>
<url-pattern>*.jpg</url-pattern>
</virtual-directory-mapping>
<virtual-directory-mapping>
<local-path>c:/usr/common_jsps.jar</local-path>
<url-pattern>*.jsp</url-pattern>
</virtual-directory-mapping>