Hey there,

I am trying to add a simple servlet to my application. For that I have added
the following to the web.xml file:

<servlet>
    <servlet-name>ImageServlet</servlet-name>
    <servlet-class>org.apache.taglibs.image.ImageServlet</servlet-class>
  </servlet>


and

      <servlet-mapping>
    <servlet-name>ImageServlet</servlet-name>
    <url-pattern>/gen-image/*</url-pattern>
  </servlet-mapping>


I was hoping that this would call the Image-Servlet whenever I request the
gen-image url. However, the way ifbiz is setup I get the feeling that any
call is directly relocated to /control and hence the above doesn't work. I
tried looking at the product/facility web.xml file, since there is something
similar going on with the ShippingAPI.dll file, but no use... do i need to
add the servlet as a request-map to the controller.xml before the above
works?
-- 
View this message in context: 
http://www.nabble.com/Servlet-Mapping-in-OFBiz-tp20892386p20892386.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to