Skip to Main Content

Application Development Software

Call a Java Class using the CALLJAVA tag

933715Apr 27 2012 — edited May 7 2012
Hi everyone,

I`m using webcenter Sites last version and I want to access a class that was made by me too. To do this call I`m using the CALLJAVA xml tag in a jsp template.

My problem is that the tag do not find the class that I placed in the Java class path and returns me the 900 erro code that means "Java class not found".

Following the documentation I implemented the COM.FutureTense.XML.Template.Seed interface, created the jar and put it in the Weblogic path below:

/u01/oracle/Middleware/user_projects/domains/cs_domain/lib


The code is that:

<SETVAR NAME="errno" VALUE="0"/>
<CALLJAVA CLASS="timeexample">
<ARGUMENT NAME="logindate"
VALUE="SessionVariables.logintime"/>
</CALLJAVA>
<IF COND="IsError.Variables.errno=true">
<THEN>
<!--Handle error-->
</THEN>
</IF>


Please I need some help. Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 4 2012
Added on Apr 27 2012
2 comments
260 views