Hi, I'm trying out Jason Hunter's examples on "overlaying" an image in a servlet... Whenever it gets to request.getPathTranslated() , I would get source --> D:\weblogic\myserver\public_html\Confidentializer\jsp.gif However,the webserver couldn't find the right path to jsp.gif (which I placed a copy under /public_html/jsp.gif and /public_html/Confidentializer/jsp.gif) ? Exception in getting the width and height of the image... However , if I coded in source --> D:/weblogic/myserver/public_html/Confidentializer/jsp.gif it would be ok (the one in /public_html/Confidentializer/jsp.gif is loaded) (After replacing "\" by "/") ... Is this how it should go about? I also tried getRealPath(source) but it doesn't help either? Is this Weblogic's problem or the code? BTW I've searched through the archives, but I couldn't see a realfix to my problem(s) ?? JH only mentioned that the image should be placed under /public_html (DocumentRoot) Any solutions? Thanks!! Regards koshy ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
