This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need Servlets & Jsp Source Codes

 
Sundararaj Govindasamy
Ranch Hand
Posts: 46
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am working with RAD as an IDE.In that IDE there is no source files available for javax.servlet... classes which are related to servlets and Jsps.
I searched in the SUN's website to download the source, but i cannot find that.
Can you help me where to get the source codes for J2ee (Servlets,Jsp)

Thanks in advance
 
Rajesh Pulipally
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Could you please give the celar deails like topics of scjp 1.6

Regards
rajesh
 
abhishek pendkay
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Although its not very clear why exactly you want the source files, this might help..
the source files of package javax.servlet and others come bundled in the
' servlet-api.jar ' file which comes as part of tomcat(which you can download from sun.com) so you can find the files there
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the source files of package javax.servlet and others come bundled in the ' servlet-api.jar ' file which comes as part of tomcat


Are you sure about that? I just checked that file in my Tomcat installation, and it has class files only.

But I agree that having those files would only be of limited interest. Maybe Sundararaj can tell us why he thinks he needs them.
 
laoying Yin
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sundararaj Govindasamy:
Hi,

Can you help me where to get the source codes for J2ee (Servlets,Jsp)

Thanks in advance


No idea what's the source code mean? Servlet is a interface, but you can downloadthe tomcat code and search for what you need.
 
Schandha Ravi
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rajesh,

I believe you would get response to your question on SCJP 6.0 in certifications forum, rather than servlets forum. This forum is explicitly related to Servlets and None other than that.
 
Sundararaj Govindasamy
Ranch Hand
Posts: 46
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai all ,
Thank you for your suggesions.
Yunpeng Yin,
I want to learn the .java files in the javax.servlet.* and javax.servlet.jsp.* and related packages NOT the class files.This is for learning purpose. Instead of memorize the API , it will be better if can to see these real code.Thats why i post this question here.
Abhishek,
I checked with the Servlet-api.jar in the tomcat installation, There i cannot found the .java files, there are only .class files as Ulf told.

Any other solutions please
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you think to check the Tomcat site for source downloads?
 
abhishek pendkay
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[ UD: Please refrain from making suggestions that violate the law. You're bound by the license agreement that governs the Servlet API, which specifically forbids what you're proposing. ]
[ August 13, 2008: Message edited by: Ulf Dittmer ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic