Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] source code for HttpServlet

Hi Hugues, thanks for the reply...

Yes that's the one, "javax.servlet.http.HttpServlet"

It used to be in Jetty version 5 ( http://jetty.cvs.sourceforge.net/viewvc/jetty/Jetty/src/javax/servlet/http/HttpServlet.java?view=log ). But I can't find it in the current version of Jetty..

I tried looking online and people say that, yes, javax is part of the Java EE specification, but that each EE implementation (for example Tomcat, glassfish, etc) has to implement all the classes in the specification. I assume that means tomcat has its own HttpServlet, glassfish has its own HttpServlet, and so presumably Jetty should have its own HttpServlet? or am I wrong?

In any case, the Java EE bundle (from the java website) contains glassfish source... does it mean that Jetty uses the glassfish's HttpServlet.java?

On Oracle's website it says: "

Java EE 6 JDK Source Code

The Java EE 6 SDK is based on GlassFish Server Open Source Edition, and for those interested in exploring the details of the Java EE 6 Reference Implementation the source code is available. This includes schools, universities, companies, and individuals who want to examine the source code for personal interest or research & development."


The link points to the svn of glassfish source. So it might be that if there is something wrong with HttpServlet I should report it to the glassfish team?

-Simon


On Tue, Jan 3, 2012 at 12:57, Hugues Malphettes <hmalphettes@xxxxxxxxxxx> wrote:
Hi Simon,

Can you let us know what is the package of the class you are looking
for and in which version of jetty?

As far as I know Jetty does not define a class called HttpServlet.
The HttpServlet I am aware of is the one in the servlet specification:
javax.servlet.http.HttpServlet

I hope it helps.
Hugues

On Thu, Dec 29, 2011 at 7:27 AM, Nesa Simon David <hellznrg@xxxxxxxxx> wrote:
> Hi Everyone, I am trying to find the source code of HttpServlet.java for
> Jetty.. does anyone know where I can find it? I am working on a project that
> depends on jetty and we believe that there are some issues with the way
> Jetty is handling exceptions... we just need to look at the source code to
> see if there's a problem there or is it a problem with our code...
>
> I tried looking every where to find the HttpServlet.java file but no luck.
> There is a very old version (Jetty 5) on sourceforge, but can't find
> anything else.. please help :) thanks
>
> -simon
>
> --
> Find me on Facebook, Google+, Google Talk, and Skype!
> Mobile: +61-434059978
>
> Get 2 GB of cloud storage for your files: Dropbox (I get 250mb extra when
> you use this link)
>
>
> _______________________________________________
> jetty-dev mailing list
> jetty-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-dev
>
_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-dev



--
Find me on Facebook, Google+, Google Talk, and Skype!
Mobile: +61-434059978

Get 2 GB of cloud storage for your files: Dropbox (I get 250mb extra when you use this link)


Back to the top