aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes How to see JEE source file 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 "How to see JEE source file in eclipse?" Watch "How to see JEE source file in eclipse?" New topic
Author

How to see JEE source file in eclipse?

Ziyang Zhang
Ranch Hand

Joined: Jul 17, 2010
Posts: 47
Hi,
I am learning servlet. If I want to see the source file of HttpServletRequestWrapper in eclipse. Could anyone tell me how to do this step by step?
Thank you very much!
Ziyang


Enjoy life!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

Please be sure to ask Eclipse questions in the IDEs forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ziyang Zhang
Ranch Hand

Joined: Jul 17, 2010
Posts: 47
Bear Bibeault wrote:Please be sure to ask Eclipse questions in the IDEs forum. I have moved this post there for you.

Sorry about this. Thank you very much.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

If you are using Tomcat :
1. You should already have included the servlet JAR to your project classpath
2. Download the API sources at Tomcat's homepage (Tomcat 6.x)
3. Right-click your servlet JAR, click Properties. In the Java Source Attachment page, select the source archive you downloaded in 2.

You're done. If you're not using Tomcat, you'll have to download the sources of your container, if they are available.


[My Blog]
All roads lead to JavaRanch
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

By the way, I don't think you need to see the API sources to learn servlets
Ziyang Zhang
Ranch Hand

Joined: Jul 17, 2010
Posts: 47
Christophe Verré wrote:By the way, I don't think you need to see the API sources to learn servlets

Thank you very much for your answer! Sometimes I am just curious to have a peek of the inside. Like I want to check if the wrapper classes are written as I imagined.
Thanks a lot!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to see JEE source file in eclipse?