Hello Glenn,

GW> String(application.getRealPath("/personnel/Eid.jpg"));
well, if (application.getResource("/personell/Eid.jpg")!=null)
might be better, as it would work under Weblogic too, while
.getRealPath() won't

GW> note that application object is the name Tomcat gives your servletContext,
GW> it may be a different name depending on your web-container.
Thanks a million! I was doing pageContext.getServletContext() for
that, stupid me!!!!
But it is not a Tomcat-nism, it is JSP 1.1 spec, so it will be
the same!

Best regards Anthony Tagunov

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to