Login

Language :
TitleJava 에서 class 파일이 있는 위치 찾기
Locate the location of the class file in Java
Writer이지섭Write DateJan 14 2018Modify DateAug 9 2024View Count2743

Java consists of a class-based program.

Sometimes you need to find out where the class loads.

 

This can be found in the following ways: Use the jsp file.

If there is a class in the jar file, the jar file is displayed as well.

<%
java.net.URL clazz = null;
clazz = this.getClass().getResource("/org/springframework/scheduling/quartz/JobDetailBean.class");
out.println( clazz.getFile() + "<br/>" );
%>

 

[Web page referenced]

  http://blog.daum.net/ohsh69/7607683

Comment

Name               Password 
Content
Check Password.

Please enter your password when registering your comment.