Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   Calling Java Class Function Directly from Html Page - Possible? (http://www.go4expert.com/forums/calling-java-class-function-directly-t22835/)

maven 27Jul2010 15:28

Calling Java Class Function Directly from Html Page - Possible?
 
Hello dear fellows,
I m new to Java programming but i know a bit basic of JSP, Java and web development.
I am creating a login page for an application designed over Three-Tier Approach.

For login or any other type of submission ive to first call a jsp page in the "action" and over that jsp page i had to creat a new java class object and call that function. and so for every frm ive , ive to make a different Jsp page



What i was wondering that is it possible that i could skip those Jsp pages in between which each have only 5-6 lines of code and they only route me to the src/java class.. can i directly call a Java method from my html page? is it possible?

thnakyou!

shabbir 28Jul2010 08:54

Re: Calling Java Class Function Directly from Html Page - Possible?
 
Yes if you can either make an Ajax call to some other page which has the class code or you can make an Applet.


All times are GMT +5.5. The time now is 11:52.