This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deliver Static content

 
Pappu Kumar
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the following setup inside the "applications" folder. I have my main application (which has all the dynamic content...classes etc) , this folder is called dynamicWebApp. I have another folder staticWebApp (it has all images, javascripts etc). I would like to configure Weblogic 6.1 in such a way that it delivers all static content from the staticWebApp folder.....
please remember that this folder is outside the dynamicWebApp folder.
So inside the dynamicWebApp if i have a jsp page with a Image ..IMG tag with source ..src="staticWebApp/bullet.gif"...Weblogic would deliver this file from the staticWebApp folder.
Please suggest what to do.....and how to implement this feature.
Thanx in advance
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
src="/staticWebApp/bullet.gif" should do it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic