aspose file tools*
The moose likes JSP and the fly likes jspsmartupload.jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jspsmartupload.jar" Watch "jspsmartupload.jar" New topic
Author

jspsmartupload.jar

david allen
Ranch Hand

Joined: Sep 27, 2002
Posts: 185
I have jspsmartupload working when I place the jspsmartupload.jar file in tomcat's 'lib' directory. I thought one was able to also place it in the WEB-INF\classes folder of the current sites directory.
I cant get it working in the WEB-INF\classes folder and would much rather have it there as when I send the files to the host all the files will be contained in the one directory.
Do I need to change anything else for the web-inf\classes.
thanks
david
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61432
    
  67

jar files must be placed in the lib folder. Much as you'd like to, putting them in classes will result in them being ignored.
hth,
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61432
    
  67

P.S. For ease of deployment, you could build a war file rather than uploading individual files.
david allen
Ranch Hand

Joined: Sep 27, 2002
Posts: 185
so if I was to create a war file would I leave the jspsmartupload.java file in the lib folder or do I have to put it somewhere else when creating the war file.
thanks david
Sergey Kargopolov
Ranch Hand

Joined: Jul 04, 2003
Posts: 63
why dont you extract the files from out of .jar archive and place them into web application folders etc. (all ".class" files into classes folder)
david allen
Ranch Hand

Joined: Sep 27, 2002
Posts: 185
how do I extract the files out of a jar file?
thank you
david
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jspsmartupload.jar