tomcat环境下jsp编译错误,求解! - Java / Web 开发
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 52 in the jsp file: /vip_info.jsp
ÕË cannot be resolved
49: <table border="1">
50: <caption>个人信息</caption>
51:
52: <%
53: try{
54: Class.forName("com.mysql.jdbc.Driver").newInstance();
55:
An error occurred at line: 52 in the jsp file: /vip_info.jsp
Syntax error on tokens, delete these tokens
49: <table border="1">
50: <caption>个人信息</caption>
51:
52: <%
53: try{
54: Class.forName("com.mysql.jdbc.Driver").newInstance();
55:
An error occurred at line: 52 in the jsp file: /vip_info.jsp
ÐÕÃû£º cannot be resolved
49: <table border="1">
50: <caption>个人信息</caption>
51:
52: <%
53: try{
54: Class.forName("com.mysql.jdbc.Driver").newInstance();
55:
An error occurred at line: 52 in the jsp file: /vip_info.jsp
ÐÔ.𣺠cannot be resolved to a type
49: <table border="1">
50: <caption>个人信息</caption>
51:
52: <%
53: try{
54: Class.forName("com.mysql.jdbc.Driver").newInstance();
5
相关问答:
一个JSP页面接收其他页面提交过来的FORM表单,但是要求只接收当前站点及其子站点提交过来的FORM表单,其他站点提交过来的表单不接收,这个怎么设置?
用过滤器
filter
将当前站点及其子站点放一个目录
然 ......
怎么在控制台中输入类似下面的信息:
s1234 50
s1235 80
s1234 90
s1234 40
s1236 90
每当回车时 ......
本人正在用Java做一个C/S架构的项目,
可是由于项目比较大,前期对架构的设计尤其重要,因为后期可能随时会加个功能或者去掉某些功能。
所以特地寻求如何设计C/S的架构使程序更加面向对象更加易于维 ......
我是个新手,做一个JSP网页,我要读出数据库正常,但是我要修改的时候,也就是读入的时候出现乱码,请高手告诉我怎么解决,先谢谢了。
request.setCharacterEncoding("UTF-8");
把编码统一
/**
......