Moreover.... but must my login.jsp page action be j_security_check? Can i use filter?; my login.jsp page is: <html> | <head> | <title>login</title> | </head> | <body bgcolor="#ffffff"> | <form method="post" action="dispatcher"> | <table> | <tr> | <td> | <p>Username:</p> | </td> | <td> | <input type="text" name="username"/> | </td> | </tr> | <tr> | <td> | <p>Password:</p> | </td> | <td> | <input type="text" name="password"/> | </td> | </tr> | </table> | <br> | <br> | <input type="submit" name="Submit" value="Submit"> | <input type="reset" value="Reset"> | </form> | </body> | </html>
If i change it in: <html> | <head> | <title>login</title> | </head> | <body bgcolor="#ffffff"> | <form method="post" action='<%= response.encodeURL( "j_security_check" ) %>'> | <table> | <tr> | <td> | <p>Username:</p> | </td> | <td> | <input type="text" name="j_username"/> | </td> | </tr> | <tr> | <td> | <p>Password:</p> | </td> | <td> | <input type="text" name="j_password"/> | </td> | </tr> | </table> | <br> | <br> | <input type="submit" name="Submit" value="Submit"> | <input type="reset" value="Reset"> | </form> | </body> | </html> But i have this erro when i click on the submit: anonymous wrote : HTTP Status 400 - Invalid direct reference to form login page | | -------------------------------------------------------------------------------- | | type Status report | | message Invalid direct reference to form login page | | description The request sent by the client was syntactically incorrect (Invalid direct reference to form login page). | | | -------------------------------------------------------------------------------- | | Apache Tomcat/5.0.26 My God... is it really so difficult to handle JAAS in JBoss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853243#3853243 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853243 ------------------------------------------------------- This Newsletter Sponsored by: Macrovision For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user