📄 script.jsp
字号:
<%@ taglib uri="webwork" prefix="webwork" %><%@ taglib uri="webwork" prefix="ui" %><link rel="stylesheet" type="text/css" href="../template/xhtml/styles.css" title="Style"><html><head><title>Script test</title></head><body><h1>Script test</h1><i>Note:</i> This page, when submitted, will execute the JavaScript test.js on the server. The two form fields will be concatenated and displayed.Try entering "foo" as value in "bar" field, and the other way round. This will generate error messages.<form method="post" action="<webwork:url page="testscript.action"/>"><table width="350" border="0" cellpadding="3" cellspacing="0"> <ui:textfield label="'Foo'" name="'foo'"/> <ui:textfield label="'Bar'" name="'bar'"/> <tr><td colspan="2" align="center"> <input type=submit value="Update"> </td></tr></table><webwork:if test="results && hasErrors==false"><HR>Xyzzy: <webwork:property value="results['foo']"/>+<webwork:property value="results['bar']"/>=<webwork:property value="results['xyzzy']"/><BR></webwork:if></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -