Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jsp/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jsp 自定义j_安全检查验证_Jsp_Authentication_Tomcat_Servlets - Fatal编程技术网

Jsp 自定义j_安全检查验证

Jsp 自定义j_安全检查验证,jsp,authentication,tomcat,servlets,Jsp,Authentication,Tomcat,Servlets,我有这样的表格: <form method="POST" name="loginform" action="j_security_check"> <table > <tr> <td>Username:</td> <td><input type="text" name="j_username" /></td

我有这样的表格:

<form method="POST" name="loginform" action="j_security_check">
        <table >
            <tr>
                <td>Username:</td>
                <td><input type="text" name="j_username" /></td>
            </tr>
            <tr>
                <td>Password:</td>
                <td><input type="password" name="j_password" /></td>
            </tr>
            <tr>
                <td align="right"><input type="submit" value="Login" /></td>
                <td></td>
            </tr>
        </table>
    </form>

用户名:
密码:

现在我的要求是,我希望不使用此表单进行身份验证。例如,我想调用j_security_check并传递参数。这怎么可能?。我们能那样做吗?j_安全检查如何处理重定向?请帮助我解决此问题。

同时让我们知道您要在何处执行此操作的用例。说到你的问题,是的,你可以调用,让我们知道用例,你想在哪里这样做。说到你的问题,是的,你可以调用,