5 Replies Latest reply on Dec 28, 2007 8:44 PM by Laurent HENSSEN

    add files into deployed war file?!

    jianxin zhang Newbie

      I have an application deployed on the jboss server.
      in the *.war file,i create a folder named images for saving user uploaded pictures,but when test it,the user uploaded pic add to a temp folder in somewhere in the jboss work directory,not add into the *.war file.the next time the jboss started,uploaded pic all disappear.can i add files into the deployed .*.war files? or a solution to this kind of problem?

      (using windows 2000)
      now ,i have to create a image.war folder under the jboss's deply folder to save the uploaded files. but do it this way, I must hard code the position where to hold the uploaded files into the jsp or servlet!!!