Calling a java method from jsp file - SAP Community
文章推薦指數: 80 %
In jspdynpage create an object to test.java and using that object u call doContent() method. . SkiptoContent Home Community AskaQuestion WriteaBlogPost Login/Sign-up SearchQuestionsandAnswers 0 FormerMember Jun25,2009at10:04AM Callingajavamethodfromjspfile 3105Views Follow RSSFeed HiExperts, Ihavecreateda.javafilewhichreadsaexternaltextfile. Andihavea.jspfile. Nowiwanttocalla.javamethodinjsppage. IsitpossibletocallaJavamethodinjsppage? Regards,
延伸文章資訊
- 1Invoking a Java Method in JSP - Stack Overflow
Well, the simplest way is to import your class in the JSP and call it's methods via scriptlets. T...
- 2How to call a Java function inside JavaScript Function?
JavaScript cannot call java method directly since it is on the server. You need a Java framework ...
- 3How to Call a Java Class in JSP
Call Java methods from Java class into JSP page. 1. Create a Java class - Calculator.java. I assu...
- 4Call a .java method from jsp - Forums - Liferay Community
Raja Nagendra Kumar, modified 11 Years ago. RE: Call a .java method from jsp. Expert Posts: 484 J...
- 5How do I call the methods in my Java class using JSP? - Quora
You can call a main method of class1 from main method of class2 by passing a String array as obje...