Servlet mapping 2 url variable

247 views Asked by At

I'm using servlet java and mapping this in web.xml. I'm trying something like this

<servlet>
  <servlet-name>walmart-freight</servlet-name>
  <servlet-class>walmart.Freight</servlet-class>
</servlet>

<servlet-mapping>
  <servlet-name>walmart-freight</servlet-name>
  <url-pattern>/walmart/x/code/*/sku/*</url-pattern>
</servlet-mapping>

But does not find url mapped.

request example: /walmart/x/code/123/sku/457 method=getstrong text

0

There are 0 answers