This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JSP and the fly likes file write permission error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "file write permission error" Watch "file write permission error" New topic

file write permission error

biny panackal
Ranch Hand

Joined: Apr 12, 2007
Posts: 72
Dear all,

When i am trying to upload(write) a file to a folder in my live server(godaddy) through jsp it is showing some error like what i am giving below

org.apache.jasper.JasperException: access denied ( directory name/ write)
sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)

and my class file is not importing class whether it i the reason for it, or else help me to solve this problem

hopping a fast replay form you.

Biny panackal

Biny Balan
Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

If your server is a Unix system, make sure that you have write permission for the directory you are trying to upload into. Which means that the "w" attribute must be set for the web user.

[My Blog]
All roads lead to JavaRanch
biny panackal
Ranch Hand

Joined: Apr 12, 2007
Posts: 72
Thank you for your comment.

I had given all permission to the folder in godaddy server which is a unix based one. But i am still getting the same error. When i searched in web i heard bout some policy file.
[ June 15, 2007: Message edited by: biny panackal ]
It is sorta covered in the JavaRanch Style Guide.
subject: file write permission error