Hi!
Few years ago i use java methods in xsp pages.
Here is a sample code:
?xml version=1.0 encoding=iso-8859-2?
xsp:page language=java
xsp:structure
xsp:includejava.util.*/xsp:include
/xsp:structure
xsp:logic
String hello(String name) {
return Hello + name + !;
}
/xsp:logic
page
Hi!
I'm trying to put a function inside an xsp:logic element. How is this done?
Normally you have main function in a java class, but here you don't need
one. So how do you make a function there? It has to be possible, right?
--
View this message in context: