How to pass and catch HTML parameters to a Java program using REST services?(without using servlet/jsp)0 Answer(s) 2 years and 7 months ago
Posted in : Hibernate

Hello, I am new to these technologies i.e. Spring, Hibernate. I am creating a basic login application which accepts username and password from HTML file, passes these parameters to a JAVA file through REST services. In that it uses hibernate criteria to check whether username and password are correct by cross checking it on the database created and if so replies back to the HTML page as "Login is successful".
So my question is how to pass and catch HTML parameters to a Java program using REST services?(without using servlet/jsp). Also how to use hibernate criteria?
Please help. Its very urgent.