You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by aparti <at...@in.com> on 2013/02/13 08:04:49 UTC

Need substitue jar for jsp-api

I have a pom.xmljavax.servletjsp-apiI am looking for Oracle/Sun substitute
jar for it.Any help will be appriciated.Regards



--
View this message in context: http://maven.40175.n5.nabble.com/Need-substitue-jar-for-jsp-api-tp5746853.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Need substitue jar for jsp-api

Posted by aparti <at...@in.com>.
Thanks For the reply....We are targetting Weblogic



--
View this message in context: http://maven.40175.n5.nabble.com/Need-substitue-jar-for-jsp-api-tp5746853p5746903.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Need substitue jar for jsp-api

Posted by Stephen Connolly <st...@gmail.com>.
Servlet 3.1
Not in final form yet. http://jcp.org/en/jsr/detail?id=340

Servlet 3.0
<dependency>
    <groupId>org.apache.geronimo.specs</groupId>
    <artifactId>geronimo-servlet_3.0_spec</artifactId>
    <version>1.0</version>
    <scope>provided</scope>
</dependency>

Servlet 2.5
<dependency>
    <groupId>org.apache.geronimo.specs</groupId>
    <artifactId>geronimo-servlet_2.5_spec</artifactId>
    <version>1.2</version>
    <scope>provided</scope>
</dependency>

Anything before Servlet 2.5
Seriously? Well there should be a servlet 2.4 jar in central under the
javax.servlet


On 13 February 2013 13:57, Stephen Connolly <stephen.alan.connolly@gmail.com
> wrote:

> 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 <rw...@artifact-software.com>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<us...@maven.apache.org>
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>>
>> --
>> Ron Wheeler
>> President
>> Artifact Software Inc
>> email: rwheeler@artifact-software.com
>> skype: ronaldmwheeler
>> phone: 866-970-2435, ext 102
>>
>>
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: users-unsubscribe@maven.**apache.org<us...@maven.apache.org>
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>

Re: Need substitue jar for jsp-api

Posted by Stephen Connolly <st...@gmail.com>.
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 <rw...@artifact-software.com>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<us...@maven.apache.org>
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
> --
> Ron Wheeler
> President
> Artifact Software Inc
> email: rwheeler@artifact-software.com
> skype: ronaldmwheeler
> phone: 866-970-2435, ext 102
>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@maven.**apache.org<us...@maven.apache.org>
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Need substitue jar for jsp-api

Posted by Ron Wheeler <rw...@artifact-software.com>.
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
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Ron Wheeler
President
Artifact Software Inc
email: rwheeler@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Need substitue jar for jsp-api

Posted by aparti <at...@in.com>.
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
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Need substitue jar for jsp-api

Posted by Olivier Lamy <ol...@apache.org>.
try this one as substitute:
http://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat-jsp-api/


2013/2/13 aparti <at...@in.com>:
> I have a pom.xmljavax.servletjsp-apiI am looking for Oracle/Sun substitute
> jar for it.Any help will be appriciated.Regards
>
>
>
> --
> View this message in context: http://maven.40175.n5.nabble.com/Need-substitue-jar-for-jsp-api-tp5746853.html
> Sent from the Maven - Users mailing list archive at Nabble.com.



--
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Need substitue jar for jsp-api

Posted by Anders Hammar <an...@hammar.net>.
http://search.maven.org/#search|gav|1|g%3A%22javax.servlet%22%20AND%20a%3A%22jsp-api%22

/Anders


On Wed, Feb 13, 2013 at 8:04 AM, aparti <at...@in.com> wrote:

> I have a pom.xmljavax.servletjsp-apiI am looking for Oracle/Sun substitute
> jar for it.Any help will be appriciated.Regards
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Need-substitue-jar-for-jsp-api-tp5746853.html
> Sent from the Maven - Users mailing list archive at Nabble.com.