• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to see JEE source file in eclipse?

 
Ziyang Zhang
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to ask Eclipse questions in the IDEs forum. I have moved this post there for you.
 
Ziyang Zhang
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, I don't think you need to see the API sources to learn servlets
 
Ziyang Zhang
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic