Re: tomcat-embed-jasper vs tomcat-jasper

2015-05-05 Thread Thusitha Thilina Dayaratne
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 :

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


--


Re: tomcat-embed-jasper vs tomcat-jasper

2015-05-05 Thread Mark Thomas
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



Re: tomcat-embed-jasper vs tomcat-jasper

2015-05-05 Thread Thusitha Thilina Dayaratne
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?
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?

Thanks

2015-05-05 21:18 GMT+05:30 Mark Thomas :

> On 05/05/2015 16:40, 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.
>
> Mark
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


--


Re: tomcat-embed-jasper vs tomcat-jasper

2015-05-05 Thread Mark Thomas
On 05/05/2015 16:40, 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.

Mark


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



tomcat-embed-jasper vs tomcat-jasper

2015-05-05 Thread Thusitha Thilina Dayaratne
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?

Thanks

--