Sadegh Soleimani
Sadegh Soleimani
LTLeaning Technologies
Created by Sadegh Soleimani on 4/7/2024 in #support
CheerPJ not showing anything
There is a class file in my code named AbstractPageBean which returns 404 when I run the page using cheerpj server side. 1- I am not sure if I implemented the server side correctly but in one of my applets, it says missing in myapplet$x.class, and in another says missing for AbstractPageBean 2- The code runs perfectly with CheerPJ extention 3- I use JSP and this is my code:
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<ui:page binding="#{Chart.page1}" id="page1">
<ui:html binding="#{Chart.html1}" id="html1">
<ui:head binding="#{Chart.head1}" id="head1">
<ui:link binding="#{Chart.link1}" id="link1" url="resources/CommonStyle.css"/>
<ui:script binding="#{Chart.script1}" id="script1" url="/resources/CommonScript.js"/>
<ui:script binding="#{Chart.script3}" id="script3" url="/resources/ajax.js"/>
<ui:script id="script4" url="https://cjrtnc.leaningtech.com/3.0/cj3loader.js"/>
</ui:head>
<ui:body binding="#{Chart.body1}" id="body1" style="background-color: rgb(222, 231, 195); -rave-layout: grid; direction: rtl;">
<APPLET
archive="WEB-INF/lib/TwainApplet.jar"
code="WEB-INF/classes/patient/ChartApplet"
height="550"
width="540"
></APPLET>
<script>
cheerpjInit();
</script>
</ui:body>
</ui:html>
</ui:page>
</f:view>
</jsp:root>
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<ui:page binding="#{Chart.page1}" id="page1">
<ui:html binding="#{Chart.html1}" id="html1">
<ui:head binding="#{Chart.head1}" id="head1">
<ui:link binding="#{Chart.link1}" id="link1" url="resources/CommonStyle.css"/>
<ui:script binding="#{Chart.script1}" id="script1" url="/resources/CommonScript.js"/>
<ui:script binding="#{Chart.script3}" id="script3" url="/resources/ajax.js"/>
<ui:script id="script4" url="https://cjrtnc.leaningtech.com/3.0/cj3loader.js"/>
</ui:head>
<ui:body binding="#{Chart.body1}" id="body1" style="background-color: rgb(222, 231, 195); -rave-layout: grid; direction: rtl;">
<APPLET
archive="WEB-INF/lib/TwainApplet.jar"
code="WEB-INF/classes/patient/ChartApplet"
height="550"
width="540"
></APPLET>
<script>
cheerpjInit();
</script>
</ui:body>
</ui:html>
</ui:page>
</f:view>
</jsp:root>
6 replies