Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How to place web files outside the application context?
How to place web files outside the application context? [message #213248] Mon, 05 May 2008 04:15 Go to previous message
Eclipse User
Originally posted by: bill.davidson.gmail.com

I'm using eclipse-jee-ganymede-M6 and I can't seem to figure out
how to put files outside of the application context. In particular,
I would like to put some of my more generic CSS and Javascript files
in top level /css/ and /js/ directories (relative to the server root)
rather than in /MyAppName/css/ or /MyAppName/js/ so that I could use
them with other apps without having multiple copies on my server.

I'm fine with putting them in another project if I need to but I need
them to still be served up by the same local instance of Tomcat 6 that's
serving up MyAppName. This instance is apparently configured by
Eclipse and puts the files in some funky location deep in the bowels
of the workspace .metadata/.plugins directory. I need the css/js files
in this instance because I want to use them in my JSP's. I've tried
creating other web projects, both static and dynamic but I can't seem to
get it right. It always wants to put the files under the project name/
application context relative to the server root. I suppose I could
create a project called "css" and another called "js" but that just
feels wrong.
 
Read Message
Read Message
Read Message
Previous Topic:log4j, Tomcat and WTP Server configuration?
Next Topic:Significance? org.eclipse.wtp
Goto Forum:
  


Current Time: Sun May 19 23:36:57 EDT 2013

Powered by FUDForum. Page generated in 0.01627 seconds