Hi,

> 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.
Thanks for the explanation.
So if I need jsp support, rather than using 2 jars(tomct-jasper and
tomcat-jsp-api) I can directly use only the tomcat-embed-jasper
Please correct me if I'm wrong.

Thanks

2015-05-05 21:31 GMT+05:30 Mark Thomas <ma...@apache.org>:

> 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
>
>


--

Reply via email to