codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Access denied error when submit form  spidervn at 03:21 on Tuesday, April 25, 2006
 

Hello all,

When submit form, i have an error message "Access denied".
My form is as below:

<form name="postform" method=post enctype="multipart/form-data">
<input name="uploadfile" type=file>
</form>

<input type=button value="Change Picfile" onclick="document.postform.uploadfile.click();"> <input type=button value="Submit form" onclick="document.postform.submit()">

If i click on the browse button of the <input type=file>, the form works fine.
But if i click the button with value="Change Pic", the browse window popup, and the input type=file get a right path to the file in my harddrive, everything seem to be ok, but when i submit the form, i have an error message "Access denied". I don't have a clue what this message is about.

PLEASE HELP,








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: What does it entail making a Java program run without the editor?
•  Re: How can I avoid accepting a null value from user input?
•  Textarea help
•  Re: Rolling the dice, sort of...
•  Re: help please for newbie to java and i/o
•  Re: Another 2-D Array question
•  Re: path delimiters
•  Re: 2 Dimensional Array
•  Converting Java Program to C


Recent Articles
What is a pointer in C?
Multiple submit buttons with form validation
Understanding Hibernate ORM for Java/J2EE
HTTP screen-scraping and caching
a javascript calculator
A simple way to JTable
Java Native Interface (JNI)
Parsing Dynamic Layouts
MagicGrid
Caching With ASP.Net


© Copyright codetoad.com 2001-2006