Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-22-2009, 12:21 PM
Active Member
 
Posts: 26
Default Where to add some .jar file for JSP?

Hi,

I have a JSP file which uses some third party JAR files, I am wondering where to put those jar files so the JSP can be find those jar file and compiled during run time?

I tried to put it in /opt/zimbra/lib/jars directory. but doesn't seem to be working.

Thanks
Jason
Reply With Quote
  #2 (permalink)  
Old 11-17-2009, 01:53 AM
Active Member
 
Posts: 48
Default

Hi Jason
Have you figured it out yet where to put the new jar file ?
I need add one jar file to use it in zimlets.
Shall i add it in service/WEB-INF/lib ?

Please reply
Reply With Quote
  #3 (permalink)  
Old 03-02-2010, 10:34 AM
Zimbra Employee
 
Posts: 105
Default

When you bundle your Zimlet (with the JAR) into a ZIP and perform a deploy, the JAR will automatically be copied into the correct location. You need to perform a server restart for the JAR to be read.

When using the dev directory, you need to copy the JAR into place manually. This section of the Zimlet Dev Guide talks about Java + JSP with Zimlets and where to place the JAR file(s):

ZCS 6.0:Zimlet Developers Guide:Java and JSP - Zimbra :: Wiki
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.