Jump to content
xisto Community
Sign in to follow this  
imran

File Upload Script In Java File Upload Script in JAVA

Recommended Posts

Hi,I am developing my personal website in JSP. I need a file upload script written in JAVA. I got a script that is Upload Bean from javazoom.com but the problem is its working fine on Windows Operating SYstem but not working on LINUX server. When i pass LINUX path (like /home/usr/public_html) to bean it gives me error Check UploadBean properties in your JSP.<jsp:setProperty name="upBean" property="folderstore" value="c:/uploads" />I think this bean aspecting a windows path. Can anyone provide me JSP Smart Upload script or any other file upload bean in JAVA. For your information Smart Upload website has been closed. My email id is way2imran@gmail.com.Thanks in advance

Share this post


Link to post
Share on other sites

Have you tried changing the value? You know, from "c:/uploads" to wherever you want it on your linux machine?

158237[/snapback]


Yes i tried but still not working. Whenever i tried to pass linux path to bean like : /home/usr/public_html, it gives me below error

 

Check UploadBean properties in your JSP.

<jsp:setProperty name="upBean" property="folderstore" value="c:/uploads" />

 

Dont know what to do?

Share this post


Link to post
Share on other sites

Check UploadBean properties in your JSP.

<jsp:setProperty name="upBean" property="folderstore" value="c:/uploads" />

What I mean is that somewhere you must be saying that things should be uploaded to c:/uploads. Otherwise you wouldn't get that error message with that path.

 

Try searching through all files you are using (most text editors can search through more than one text-file) for c:/uploads (or perhaps c:\uploads). And see what you come up with.

Share this post


Link to post
Share on other sites

I have used that program to.<jsp:setProperty name="upBean" property="folderstore" value="c:/uploads" />You have to delete that line because it means that that is the start location by File-->select file it is not the location where you want to store your file the location must be:In the file "applet_ftp.Js or aplet_http.Js"Add this lines to the netscape part: document.Write('param4="account" '); document.Write('value4="Direction" ');And this to IE FF Opera etc part:Document.Writeln('<PARAM NAME="param4" VALUE="account">');Document.Writeln('<PARAM NAME="value4" VALUE="Direction">');Where you have to change "Direction" with the right direction-reply by Olaf

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.