how to convert a .jsp to a .java/.class file for use in peoplesoft
Hi java/jsp experts,
I want to convert a .jsp to a .java/.class file. is there a tool available, please let me know if you have any pointers....
or can i do it manually:
these are a few lines that the .jsp contains, and i would like to translate this to be in .java/.class format:
<%@ page import="sun.misc.BASE64Encoder, javax.crypto., javax.crypto.spec."%>
<%@ page import="java.util.StringTokenizer" %>
<%@ page import="java.util.Map" %>
<%!
.......
.......
sb.append("<input type=\"hidden\" name=\"orderPage_serialNumber\" value=\"");
sb.append(serialNumber);
sb.append("\">\n");
return sb.toString();
.......
.......
%>
how can i translate the above import statements and html elements from jsp to java, please let me know.
Once i have the .java file created from the .jsp, I will compile .java to create the .class file and invoke the .class in peoplecode by using java apis available in peopletools.
Thanks in advance.