此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
楼主截止到2008-06-17 20:02:52的汇总数据:
发帖数:1
结贴数:0
结贴率: 0.00%
如何结贴请参考这里:http://topic.csdn.net/u/20080501/09/ef7ba1b3-6466-49f6-9d92-36fe6d471dd1.html
楼主截止到2008-06-17 20:02:52的汇总数据:
发帖数:1
结贴数:0
结贴率: 0.00%
如何结贴请参考这里:http://topic.csdn.net/u/20080501/09/ef7ba1b3-6466-49f6-9d92-36fe6d471dd1.html
<Jun 18, 2008 9:07:57 AM CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating distribute task for application '_auto_generated_ear_'.>
<Jun 18, 2008 9:07:57 AM CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space页面上error:
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
代码:
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Hutchison Corporate Portal</title>
<link href="../css/normal.css" rel="stylesheet" type="text/css" />
</head>
<body>
<f:view>
<h:form>
<h:inputText value="#{test.name}"></h:inputText>
<h:commandButton action="#{test.doTest}" value="test"></h:commandButton>
</h:form>
</f:view>
</body>
</html>Backing Bean:
package com.hcp.controller;public class Test {
private String name;
private String password;
/**
* @return the name
*/
public String getName() {
return name;
} /**
* @param name the name to set
*/
public void setName(String name) {
this.name = name;
} /**
* @return the password
*/
public String getPassword() {
return password;
} /**
* @param password the password to set
*/
public void setPassword(String password) {
this.password = password;
} public void doTest()
{
this.name = "aaaa";
this.password = "bbbb";
}
}
应该是这个问题!
http://download.csdn.net/source/745731