1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Main Page

From jupload

Jump to: navigation, search

Misc. Documentation and HOWTOs

Server-Side example code

Main wiki blocs:

Getting onboard using Netbeans 6.0 and Tomcat

I was having difficulty getting http://jupload.sourceforge.net/ to execute. I couldn't get the given PHP example to work. Using Netbeans 6.0 and Tomcat, I was able to get jupload.sourceforge.net to work using MIE and Firefox.

  1. Expand the JAR file. Move the orignal source under "Apache Tomcat 6.0.14\bin" and use it to make a Netbeans project that is a web application with existing source.
  2. Under properties, set the Web Pages folder to "wwwroot".
  3. In applet-basic.html, change the applet's "postURL" parameter from upload_dummy.php to pages/parseRequest.jsp.
  4. Windows users: In parseRequest.jsp, initialize ourTempDirectory to "C:/Temp/".


You could also use pages/writeOut.jsp. But replace ...

out.println("SUCCESSFUL : Upload Stream Saved to \"" + fileOut + "\".");

... with ...

out.println("SUCCESS");

Personal tools