日期:2014-05-17  浏览次数:20755 次

在Eclipse中,怎么查看某个类的源代码啊
import org.apache.struts.actions.DispatchAction;
也知道它所在包的绝对路径,但它是个JAR文件啊,没办法看源码的:Source not found
The source attachment does not contain the source for the file DispatchAction.class.You can change the source attachment by clicing Change Attached Source bellow:

怎么才可以看到它的源码啊?


------解决方案--------------------
你需要下载struts的源码,然后去找
------解决方案--------------------
我记着是 按住Ctrl 用鼠标点就可以了
------解决方案--------------------
反编译啊
------解决方案--------------------
F3