Skip to content

Basic REST implementation ready project with deploymentdescriptor & pom.xml

Notifications You must be signed in to change notification settings

deviator206/java_basic_rest_impl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

java_basic_rest_impl

Basic REST implementation ready project with deploymentdescriptor & pom.xml

after adding jersey-json & adding params in web.xml recieved error - "java.lang.NoSuchMethodError: com.sun.jersey.core.reflection.ReflectionHelper.getContextClassLoaderPA()Ljava/security/PrivilegedAction"

had used the version - 1.8 of jersery-json but changed it to

com.sun.jersey jersey-json 1.19.3

All issue resolved working uRL GET http://localhost:8080/vogellaRestImpl/rest/hello/getstring http://localhost:8080/vogellaRestImpl/rest/hello/getxml http://localhost:8080/vogellaRestImpl/rest/hello/getjson

support for json input added http://localhost:8080/vogellaRestImpl/rest/hello/jsoninput {"name":"Send Name"} POST

About

Basic REST implementation ready project with deploymentdescriptor & pom.xml

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages