• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

servlet api source code

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, I found it:

https://glassfish-svn.dev.java.net/source/browse/glassfish-svn/trunk/v3/web/

 
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
If you were a tree, what sort of tree would you be? This tiny ad is a poop beast.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic