I am using Struts Menus with Jboss 3.2.3. I can login fine using FORM Authentication with LdapLoginModule. Once I have successfully logged in, I can't invoke any actions with Struts. I am using Struts 1.1. Below are the snippets from some of the files...
struts-config.xml
<action-mappings>
</action-mappings>
welcome.jsp
<a href=welcome.do>Click here to continue
LoginAction.java
public ActionForward execute(
ActionMapping mapping,
HttpServletRequest req,
HttpServletResponse res) {
System.out.println("<<<<<<<<I am here");
System.out.println(req.getUserPrincipal());
return mapping.findForward("success");
}
index.jsp is the jsp with Struts Menus and LoginAction.java is the action that I want to invoke before it gets to index.jsp. If I do use a wrong userid and password, it takes me to an error page but when I use the right combo, it goes to welcome page and once I click on the link, it just sits there. The address in the browser says welcome.do but it doesn't invole the action. Is this a known issue with Struts 1.1, Struts Menus and Jboss?
Nevermind...Figured it out.
Thanks,