Skip to main content

servlet mapping in OC4J

No replies
Joined: 2014-01-08
Points: 0

Im new to j2ee architecture, i got a question regarding OC4J container(heard that it is very old technology from my colleague), in the web.xml i cant find the servlet-mapping tag, supposedly servlet-mapping is to map url -> servletname -> class, i cant find any servlet-mapping inside, but it is able to link jsp page to the servlet classes, im wondering why. Can anyone advice me on this? Thanks.

Possible reason i could think of: 1) in the jsp page there is servlet name, so it will lookup the servlet classes in web.xml. 2) by using servlet request.dispatcher.