aspose file tools*
The moose likes Servlets and the fly likes where to get source code of Servlets ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "where to get source code of Servlets ?" Watch "where to get source code of Servlets ?" New topic
Author

where to get source code of Servlets ?

Kalyan kumar gondrala
Greenhorn

Joined: Jul 11, 2006
Posts: 4
Hi all,
can you tell me the URI where I can get the source code of Servlets.
Naseem Khan
Ranch Hand

Joined: Apr 25, 2005
Posts: 809
You can download jad (java decompiler) which will decompile your class back to java file.

Naseem


Asking Smart Questions FAQ - How To Put Your Code In Code Tags
Kalyan kumar gondrala
Greenhorn

Joined: Jul 11, 2006
Posts: 4
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

Joined: Jan 10, 2002
Posts: 61612
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3716
    
    5

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.


My Blog: Down Home Country Coding with Scott Selikoff
 
Don't get me started about those stupid light bulbs.
 
subject: where to get source code of Servlets ?