jive2.5运行异常

05-01-10 wuzhi2000
我的jdon2.5的安装还算正常,但当点击“发新帖 ”和"您的设置/配置文件 "中的“上传头像”时便出现下面的异常


点击“发新帖 ”的异常
java.lang.NullPointerException
at org.apache.jsp.post_jsp._jspService(post_jsp.java:159)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
.......
.......

"上传头像"是的异常
The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: MultipartRequest()Not a directory: /home/bqlr/jive/upload/
at com.jdon.picture.MultipartFormServ.doPost(MultipartFormServ.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain
..........
..........



我的配置为
mysql 1.4 + tomcat1.4.3 + window 2003 server

请有经验的前辈指点一下

miaomiao
2005-01-14 15:18
以前的帖子里有解决办法:将post.jsp中usebean 中的scope 由session
改为application