Frage

I have below code which works fine in apache

@WebServlet("/myservlet")

When I deploy the same in weblogic it is not working. After internet search I came to know that I should use something like: @WLServlet (name = "LoginServlet", mapping = {"/LoginServlet"})

and I have to use this import statement import weblogic.servlet.annotation.WLServlet; as well.

But I don't know which jar contains these classes.. Can anyone help me to identify the jar.. I have tried Google search for it and it didn't help..

Regards,

Rinu

War es hilfreich?

Lösung

As @JoseK suggested, Use $WL_HOME/modules/com.bea.core.weblogic.web.api_1.4.0.0.jar

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top