This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where to get source code of Servlets ?

 
Kalyan kumar gondrala
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
can you tell me the URI where I can get the source code of Servlets.
 
Naseem Khan
Ranch Hand
Posts: 809
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can download jad (java decompiler) which will decompile your class back to java file.

Naseem
 
Kalyan kumar gondrala
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Naseem,
As j2sdk1.4.2_06 setup comes with the core java source code,
is there any package/setup which comes with Servets source code.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64838
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Each container has its own implementation of the Servlets API. For example, Tomcat will come with the jar files necessary to compile and run your servlets, and, since it is open source, you can also obtain its source if you like.
 
Scott Selikoff
author
Saloon Keeper
Posts: 4014
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't get the source code of servlets that are run on a server that you don't have access to the .class file for.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic