On 05/05/2015 16:55, Thusitha Thilina Dayaratne wrote: > Hi > >> >> Could someone tell me what is the difference between tomcat-embed-jasper >> and tomcat-jasper? >> I have checked the both jars. tomcat-embed-jasper contains >> javax.servlet.jsp package. Is that the only difference between those 2? >>> Yes. > Thanks for quick reply. > 1. If so why there are 2 jars? Is there a specific reason to have 2 jars?
Yes, there is a reason. The embedded packaging is designed to use the minimum number of JARs. JSP support is optional so all the classes are in a single JAR. > 2. I found that in tomcat-jsp-api is having the same javax.servlet.jsp > package. > So is it possible to use only the tomcat-embed-jasper since it contains all > the packages in tomcat-jasper and tomcat-jsp-api? Yes. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org