• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jspsmartupload.jar

 
david allen
Ranch Hand
Posts: 185
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64178
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64178
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
P.S. For ease of deployment, you could build a war file rather than uploading individual files.
 
david allen
Ranch Hand
Posts: 185
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 185
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how do I extract the files out of a jar file?
thank you
david
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic