This is part of my web.xml file for some reason works in
tomcat but I tried using Websphere application developer 5.0 and it doesn't.
I get an internal error, I'm sure I copied the files right? Many something missing when I'm using WSAD 5.0. Any ideas?
this is my error trace in the console
[
Servlet Error]-[FormLoginServlet]: com.ibm.ws.webcontainer.servlet.exception.ServletNotFoundException: Servlet Not Found: FormLoginServlet
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.getServletReference(WebAppServletManager.java:514)
This is my web.xml file that worked in tomcat.
[code]
<security-constraint>
<web-resource-collection>
<web-resource-name>Security
Test</web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>tomcat</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/formlogin.html</form-login-page>
<form-error-page>/formerror.html</form-error-page>
</form-login-config>
</login-config>
<security-role>
<role-name>tomcat</role-name>
</security-role>
[code]