i had a problem with upload the photo to the server. i am the following code to upload the photo to database from the client system
File filein = new File(filename);
int filelength = (int) filein.length();
InputStream streamedfile = new FileInputStream(filein);
ps.setBinaryStream(1, streamedfile, filelength);
this code is working properly when i am work wit my local system as a server(tomcat) but after launch this project to the domain, i am facing the problem.
i got the error msg as "Resource cannot found"..
if u want to check this error, just login into www.thambadhi.in/demo
with the username: firstname.lastname@example.org
click on the link "ADD PHOTO" the u select one image file then click on upload, now u may see the error msg..
one important thing i have to tell here, in my local system i am using windows XP as OS, Tomcat6.0 as application server and My SQL 5.0 as a database server.. but in my domain
Operating system Linux
Service Status Click to View
Kernel version 2.6.9-34.ELsmp
Machine Type i686
Apache version 1.3.37 (Unix)
PERL version 5.8.5
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Installed Perl Modules Click to View
PHP version 5.1.6
MySQL version 5.0.24-standard
cPanel Build 10.9.0-STABLE 116
Theme cPanel X v2.6.0
plz help me to solve this problem..
contact me 9942939383