In any case, the api should be <scope>provided</scope> unless *you are
building a servlet container*.

Given that the servlet and jsp api's are a standard, it should not matter
*which* one you choose. I tend to favour the geronimo spec jars though
figuring pout the exact one can be tricky and their version numbering is a
tad strange.

You really just need to know what servlet specification you are targeting
as the minimum that your application will run on and pull in any
corresponding API with scope=provided


On 13 February 2013 13:00, Ron Wheeler <[email protected]>wrote:

> Not really a Maven question but...
>
> I am not sure why Oracle or Sun would make one of these since they have
> nothing to do with jsp.
>
> It is part of the servlet container specification and would be provided by
> the container project.
> Apache Tomcat, Jetty, Glassfish,...
>
> Here is another one that looks like it was done as part of the Jetty
> project:
>
> <dependency>
>     <groupId>org.mortbay.jetty</**groupId>
>     <artifactId>servlet-api-3.0</**artifactId>
>     <version>7.0.0pre2</version>
> </dependency>
>
> What container(s) are you targeting?
>
> Ron
>
>
> On 13/02/2013 6:13 AM, aparti wrote:
>
>> Thanks but I am looking for Jar from ORacle or Sun
>>
>>
>>
>> --
>> View this message in context: http://maven.40175.n5.nabble.**
>> com/Need-substitue-jar-for-**jsp-api-tp5746853p5746865.html<http://maven.40175.n5.nabble.com/Need-substitue-jar-for-jsp-api-tp5746853p5746865.html>
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: 
>> users-unsubscribe@maven.**apache.org<[email protected]>
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>
> --
> Ron Wheeler
> President
> Artifact Software Inc
> email: [email protected]
> skype: ronaldmwheeler
> phone: 866-970-2435, ext 102
>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> users-unsubscribe@maven.**apache.org<[email protected]>
> For additional commands, e-mail: [email protected]
>
>

Reply via email to