jsp新手遇有关问题 求解释
发布时间:2010-05-31 07:00:19 文章来源:www.iduyao.cn 采编人员:星星草
jsp新手遇问题 求解释
源码:
<%@ page language="java" contentType="text/html; charset=GB18030" pageEncoding="GB18030"%>
<%@page import="dxiaofg.Feiyong"%>
<%@page import="dxiaofg.manage"%>
<%
String louhao = request.getParameter("select");
String danyuan = request.getParameter("select2");
String fanjian = request.getParameter("select3");
try {
Feiyong fei = manage.getInstance().Findfeiyong(louhao,danyuan,fanjian);
}catch(Exception e) {
e.printStackTrace();
}
%> //报错是multiple annotation found in this line
//Syntax error :insert ';' to complete the statement
//Syntax error : insert "assignmentoperator expression " to complete the statement
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>物业管理</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="ding.jsp">
<label>楼号
<select name="select" id="select">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
</select>
</label>
<p>
<label>单元号
<select name="select2" id="select2">
<option>一单元</option>
<option>二单元</option>
<option>三单元</option>
<option>四单元</option>
</select>
</label>
</p>
<p>
<label>房号
<select name="select3" id="select3">
<option>R101</option>
<option>R102</option>
<option>R201</option>
<option>R202</option>
<option>R301</option>
<option>R302</option>
<option>R401</option>
<option>R402</option>
<option>R501</option>
<option>R502</option>
<option>R601</option>
<option>R602</option>
<option>R701</option>
<option>R702</option>
</select>
</label>
</p>
<p>
<label>
<input type="submit" name="Submit" value="查询费用" />
<%"fei.feiyong" %>
</label>
</p>
</form>
</body>
</html>
出现以上错误,新手勿见笑,求请教
------解决方案--------------------
//报错是multiple annotation found in this line
//Syntax error :insert ';' to complete the statement
//Syntax error : insert "assignmentoperator expression " to complete the statement
这是你卸写在代码里面的注释么?
报错是multiple annotation found in this line
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。
其他相似内容:
-
一段JS代码看不懂
JScript code
function Designer_Builder(designer) {
//属性
this.owner = designer || null;
。。。...
-
共享struts2.1.8+Hibernate3.3+spring2.5.6+extjs3.2的最新版图书管理系统,奋战两周。
写这个系统,是学习的目的,不是真正当项目写...
-
postgreSQL有没有contains函数?
update base_admin set allchildid=allchildid||'00' where CONTAINS(allchildid,'test')
报此错...
-
ssh整合问题,老是提示连接已关闭!
在网上下的一个ssh整合例子,例子是使用的mysql数据库 ,我改成了sqlserver,老是报连接已关闭的错误!高...
-
jsp新手求助,那位大虾进来看看
1楼
我用的是EditPlus来编写jsp页面,我也安装了Tomcat 5.0的jsp引擎,但是我在Editplus编写好了jsp代...
-
apache的HttpClient4.x如何实现跨域访问
请问httpclient如何实现跨域的登录及登录后访问。比如登录为login.xxx.net/login.do,查询...
-
请教一个gson转换的问题
String hql="from VdDicMedicine where c17='1'";
List<VdDicMedicine> list=dao.getList(hql);
...
-
jsp跳转到servlet
[b][/b]晕死啊,我在jsp跳转到servlet这个页面老是出现404错误,我的一些歌环境配置我可以检查了好几遍没发现什么...
-
小弟问个java流读取的问题
image_location是形如/xxxx/image_tmp/2007/6/1/14/的 路径字符串
目的是想 从 /xxxx/image_...
-
struts上传图片
请求帮助 我把图片上传到服务器端,怎么在获得这个图片啊
我获得图片在tomcat下的路径 为什么获得不到图片??
----...