我为什么发不了图片?请教

04-04-01 hnchchnchc
在发帖子的时候,发图片的时候,报异常:

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: MultipartRequest()Not a directory: upload/

com.jdon.picture.MultipartFormServ.doPost(MultipartFormServ.java:60)

javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

我的jive_config.xml相应配置为:

<upload>

<dir>upload/</dir>

<relurl>upload/</relurl>

</upload>

,也确实在jive/下建立了upload文件夹了。

大哥,指点指点吧?这个问题怎么解决啊?

hnchchnchc
2004-04-01 15:26

<upload>

<dir>upload/</dir>

<relurl>upload/</relurl>

</upload>

上面没有显示出来,我写的有错吗?

hnchchnchc
2004-04-01 15:26

    <upload>
        <dir>upload/</dir>
        <relurl>upload/</relurl>
    </upload>

猜你喜欢