java reflection

This commit is contained in:
kim
2021-01-16 15:58:41 +09:00
parent 6379ad3d08
commit 2459f8b46f
4 changed files with 57 additions and 0 deletions

56
reflect/.gitignore vendored Normal file
View File

@@ -0,0 +1,56 @@
README.md
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/
# Compliled files
/target/
**/target
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/
### Node ###
/node_modules
/build
dev.js
.DS_Store
npm-debug.log*
yarn-debug.kog*
yarn-error.log*

View File

@@ -103,6 +103,7 @@ public class Dispatcher implements Filter {
if(method.getName().equals(methodKey)) {
try {
method.invoke(dtoInstance, request.getParameter(key));
// request.getParameter()의 리턴값은 String 임을 주의하자
} catch (Exception e) {
e.printStackTrace();
} finally {