【发布时间】:2012-05-12 06:52:20
【问题描述】:
我正在尝试显示选项卡式面板,但选项卡未显示。这是浏览器显示的内容 -
欢迎使用 Struts 2! 这是第一个窗格 这是远程选项卡我的代码:
<%@ taglib prefix="s" uri="/struts-dojo-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Basic Struts 2 Application - Welcome</title>
</head>
<body>
<h1>Welcome To Struts 2!</h1>
<s:tabbedpanel id="test" >
<s:div id="one" label="one" theme="ajax" labelposition="top" >
This is the first pane<br/>
</s:div>
<s:div id="three" label="remote" theme="ajax" href="/AjaxTest.action" >
This is the remote tab
</s:div>
</s:tabbedpanel>
</body>
</html>
感谢您的帮助
【问题讨论】:
标签: java html jsp struts2 struts