此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
楼主截止到2008-06-17 20:02:52的汇总数据:
发帖数:1
结贴数:0
结贴率: 0.00%
如何结贴请参考这里:http://topic.csdn.net/u/20080501/09/ef7ba1b3-6466-49f6-9d92-36fe6d471dd1.html

解决方案 »

  1.   

    lz 是不是用jspsmart做文件下载,一般用jspsmart会出现此问题 或是文件下载页面抛出此异常response.getWriter()与response.getOutputStream冲突导致lz 如果是用jspsmart做下载文件的话,要在jsp中去除所有空格和回车在scriplet中,例如:去除空格和回车<%%>去除空格和回车<%%>去除空格和回车或者lz用out.clear()仔细检查一下
      

  2.   

    程序在Tomcat里完全没有问题,并且我也没有用jspsmart做文件下载,就用了一下jsf而已
      

  3.   

    我写了一个最简单的页面来测试,这样报错:
    <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";
    }
    }
      

  4.   

    你的项目里面有没有用到 jsf文件下载的功能
      

  5.   

    好像用JSF1.1就能成功,weblogic10.0应该支持JSF1.2才对啊,是不是有额外的什么东西没有注意?
      

  6.   

    JSF的问题!
    应该是这个问题!
      

  7.   

    有人说,<jsp:root> tag instead of taglib <%@taglib>
      

  8.   

    weblogic10里不直接支持JSF1.2,但可以配置一下,就OK了。这里:
    http://download.csdn.net/source/745731