Link to home
Start Free TrialLog in
Avatar of inzaghi
inzaghi

asked on

setting the src reference on an image to a servlet

I have an image tag how do I set the src to point to a servlet.
My servlet name is ImageDisplayerServlet. Do I need to specify absolute or relative patths?

in the web.xml I have the following setting

  <servlet-mapping>
    <servlet-name>ImageDisplayerServlet</servlet-name>
    <url-pattern>/reports/ImageDisplayerServlet/*</url-pattern>
  </servlet-mapping>
ASKER CERTIFIED SOLUTION
Avatar of evnafets
evnafets

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial