我在第一个action:ProjectLogin.java中:用到:
public String execute() throws Exception {
Map<String,String> m; //定义Map类型变量 Map m;
if (getPassword().equals(getPassword2())
&& !getUsername().trim().equ ......
就是像csdn标签页左边的那个大C那样的logo
logo就是一张图片,图片是怎么放在jsp上的,logo就怎么放
就是favicon.ico的图标,现在就是只有替换掉tomcat的root里的图标那个logo才能换掉,这样webapp里的所有工程目录都用同一个图标,能不能直接在webapp里面的子目录里面使用favicon.ico
{{-- ......
这是错误信息,严重: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 33 in the jsp file: /WebRoot/index.jsp
Detail cannot be resolved to a type
30: <span class="one" & ......
<%@page contentType="text/html; charset=gb2312" %>
<html>
<body bgcolor=green><font size=1>
<form action="tree.jsp" method="post" name=form>
<input type="text"name="boy">
<input type="submit"value ......
大家好,我是JAVA新手,希望有大虾可以帮我解决这个问题。
背景:数据库Oracle9i中User的startTime定义为DATE类型;moudle中定义了User类,其中User的属性startTime定义为DATE类型;定义了List<User> testList;通过hibernate的find方法直接查询到结果,未对startTime进行类型转换;
问题是:取出的结果testList中的 ......
WEB-INF 中我用的框架 框架应该如何调用jsp页面呢?
谢谢
框架代码如下
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head> ......