Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/85.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
Html 从源页面通过href导航到jsp上的启用按钮_Html_Jsp - Fatal编程技术网

Html 从源页面通过href导航到jsp上的启用按钮

Html 从源页面通过href导航到jsp上的启用按钮,html,jsp,Html,Jsp,我在服务器操作时调用JSP,并获得所需的所有内容的显示。 现在,我有一个特殊的场景,我将通过使用来自其他JSP的href单击链接来调用页面。 当我通过单击链接导航到我的JSP时,我希望启用一个按钮。通过传递附加参数。在jsp中检查参数并将按钮状态设置为禁用 <button <%=("false".equals(request.getPrameter("enable"))?"disabled":""%> > OK </button> OK

我在服务器操作时调用JSP,并获得所需的所有内容的显示。 现在,我有一个特殊的场景,我将通过使用来自其他JSP的href单击链接来调用页面。
当我通过单击链接导航到我的JSP时,我希望启用一个按钮。

通过
传递附加参数。在jsp中检查参数并将按钮状态设置为禁用

<button <%=("false".equals(request.getPrameter("enable"))?"disabled":""%> > OK </button>
OK