Hi guys, In my Jsp's i am unable to load the image situated in the "images" folder one layer below. IMG SRC="images/image.gif" anyone has any clues aboutt this. This is actually true for all jsp's in my defaultWebApp in myserver. is there any extra configuration that needs to be done in the weblogic server 6 ? In my servlet mapping tag in the web.xml file i have <servlet-mapping> <servlet-name>HelloWorld</servlet-name> <url-pattern>/*</url-pattern> </servlet-mapping> Thanks, Raja
kishore kasina
Greenhorn
Joined: Oct 01, 2001
Posts: 4
posted
0
Hi Raja Srinivas, I tried one example with d:/proj/test.jsp and d:/proj/images folders. it works fine with following code <img src="images/blesepa.gif"> in my test.jsp So please check ur src"" properly and check whether the image file exists or not. iam not sure whether there is any setting needed in web.xml. But in my case images get reflected without setting any thing in web.xml. with best regards Kishore
raja srinivas
Greenhorn
Joined: Jun 22, 2001
Posts: 20
posted
0
hi, nope its not a problem with the path specified as the same thing works if use the same src="" in an HTML file. But if i view the same HTML File through Weblogic the images are not loaded. Is there a way to configure the MIME setting in the Weblogic server. I am running out of ideas here... can someone please help me on this, I am getting desperate !!! The same thing happens if i 'include' an external javascript file in my jsp. Anyone ??? Raja