• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File uploading in EAR

 
Lijun An
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi gurus,
I have one ear which is deployed into WLS 6.1. In my ear, I would upload files from client into a folder on the server; I would use the same folder to download files from server to client. I have to jar the application for deployment.
I use web.xml to specify the directory for file upload/download. If it is a absolute directory, it's ok for upload. But an applet of the applicatin cannot get file from this directory. If it is in other directory form, then WLS 6.1 throws an exception stating the specified directory is not directory.
How should I specify the directory so that the servlet/JSP in the application can recognize the directory to upload/download files?
Thanks in advance.
Lijun
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic