Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet api source code

 
Mateusz Moroz
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Does anyone know, where can I download servlet api source code? I'm interestred in HttpServletRequestWrapper and around classes sources in zip or svn entry, so I can attach it to eclipse and debug. I googled much, but no satisfy results appeared. I downloaded tomcat source codes, but there are compiled jars bundled, no theese jars sources.
 
Mateusz Moroz
Greenhorn
Posts: 21
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the application server implementation is open source (under each Glassfish and Tomcat indeed are) then you should just be able to download the sources from their homepage at the world wide web.

Maybe you downloaded the wrong Tomcat sources.
 
Mateusz Moroz
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe. I didn't find another tomcats src downloads on apache download page. The one I downloaded was from:

http://tomcat.apache.org/download-60.cgi

---> source code distributions.

The servlet api I get from glassfish is away from my interest, which is inspecting line by line what happens during processing liferay's request, because the processed line of code hits java comments /* */ .
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mateusz Moroz wrote:Maybe. I didn't find another tomcats src downloads on apache download page. The one I downloaded was from:

http://tomcat.apache.org/download-60.cgi

---> source code distributions.
That's the correct source. So I don't see your problem here. Please elaborate.

The servlet api I get from glassfish is away from my interest, which is inspecting line by line what happens during processing liferay's request, because the processed line of code hits java comments /* */ .

Uhm. Do you realize that the Glassfish source code will only be of any use if you actually run Glassfish as application server implementation? It sounds like that you're running Tomcat.
 
Mateusz Moroz
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems I downloaded the correct tomcat's source, but opened wrong zip file with jars instead of sources. That happens, when you program too much :P
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic