Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to convert a .jsp to a .java/.class file for use in peoplesoft

715680Apr 29 2010
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 27 2010
Added on Apr 29 2010
0 comments
655 views