aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Servlet orginal API in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Servlet orginal API in Eclipse" Watch "Servlet orginal API in Eclipse" New topic
Author

Servlet orginal API in Eclipse

Harikrishna Gorrepati
Ranch Hand

Joined: Sep 23, 2010
Posts: 422
Hi, Please advice how to see the servlet and JSP API (HttpServlet code, GenericServlet Code etc..)code in Eclipse


OCPJP 6.0-81% | Preparing for OCWCD
http://www.certpal.com/blogs/cert-articles | http://sites.google.com/site/mostlyjava/scwcd |
Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
What I do is, in Eclipse, highlight a class such as HttpServlet and click F3. If Eclipse doesn't know where the source code for HttpServlet is then it will ask you. From there you can point to the file or folder that contains the source.
Harikrishna Gorrepati
Ranch Hand

Joined: Sep 23, 2010
Posts: 422
Hi Tom, please let me know how to find the file or folder for source code.
Harikrishna Gorrepati
Ranch Hand

Joined: Sep 23, 2010
Posts: 422
Never mind. I downloaded from Apache.
Harikrishna Gorrepati
Ranch Hand

Joined: Sep 23, 2010
Posts: 422
Hi, Could you please let me know how to detach the original source code
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5827
    
    7

Look in your project properties, under Java Build Path, in the Libraries tab. Expand the appropriate JAR file (most likely servlet) and you will see a Source Attachment entry.


JBoss In Action
Harikrishna Gorrepati
Ranch Hand

Joined: Sep 23, 2010
Posts: 422
Under Java Build Path --> Libraries tab--> Exapnded servlet-api.jar and found the source attachment. Thanks Peter
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet orginal API in Eclipse