用IntelliJ IDEA建maven项目,无法再main下建java文件了无法new class,为什么
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励30(财富值+成长值)
展开全部
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String basePath = request.getContextPath() + "/";
%>
<html>
<head>
<title>Register</title>
<script type="text/javascript" language="javascript"
src="<%=basePath%>resources/js/jquery.js"></script>
<script type="text/javascript" language="javascript"
src="<%=basePath%>resources/js/json2.js"></script>
<script type="text/javascript">
$(function()
{
doSearchsearchbutton();
});
function doSearchsearchbutton()
{
doSubmit();
}
function doSubmit()
{
document.forms[0].target = "activityFrame";
document.forms[0].action = "<%=basePath%>regionNews/queryRegionNews.action";
document.forms[0].submit();
}
</script>
</head>
<body>
<div>
<form method="post" style="margin:0px;">
<div>
<ul>
<li>活动名称:</li>
<li>
<input type="text" id="newsBean.typeId" name="newsBean.typeId"
style="margin-bottom:10px" value="" />
</li>
<li>
<span>
<input id="searchBtn" type="button" value="查询" onClick="doSearchsearchbutton()" />
</span>
</li>
</ul>
</div>
</form>
<iframe onload="" src="" name="activityFrame" id="activityFrame" FRAMEBORDER=0 SCROLLING="no" style="width:100%;height:500px;border:0px;"></iframe>
</div>
</body>
</html>
pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String basePath = request.getContextPath() + "/";
%>
<html>
<head>
<title>Register</title>
<script type="text/javascript" language="javascript"
src="<%=basePath%>resources/js/jquery.js"></script>
<script type="text/javascript" language="javascript"
src="<%=basePath%>resources/js/json2.js"></script>
<script type="text/javascript">
$(function()
{
doSearchsearchbutton();
});
function doSearchsearchbutton()
{
doSubmit();
}
function doSubmit()
{
document.forms[0].target = "activityFrame";
document.forms[0].action = "<%=basePath%>regionNews/queryRegionNews.action";
document.forms[0].submit();
}
</script>
</head>
<body>
<div>
<form method="post" style="margin:0px;">
<div>
<ul>
<li>活动名称:</li>
<li>
<input type="text" id="newsBean.typeId" name="newsBean.typeId"
style="margin-bottom:10px" value="" />
</li>
<li>
<span>
<input id="searchBtn" type="button" value="查询" onClick="doSearchsearchbutton()" />
</span>
</li>
</ul>
</div>
</form>
<iframe onload="" src="" name="activityFrame" id="activityFrame" FRAMEBORDER=0 SCROLLING="no" style="width:100%;height:500px;border:0px;"></iframe>
</div>
</body>
</html>
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询