Thursday, October 25, 2018

JSP forms Customization in 11i & R12

JSP forms Customization in 11i & R12

Overview:
JSP allows the embedding of servlet code within HTML pages. As part of the Java technology family, JSP technology enables rapid development of Web-based applications that are platform independent. JSP technology separates the user interface from content generation, enabling designers to change the overall page layout without altering the underlying dynamic content.
In Oracle Applications, all the Self-Service Web Applications are developed using JSP. Any extensions or customization to the Self service pages involves working on JSP pages and this article illustrates how to customize JSP forms in Apps.

Steps to Customize JSP Forms:
Step1:
First develop a JSP/HTML page. (Save it as .jsp)
Eg:
<HTML>
<BODY>

<% java.util.Date date = new java.util.Date(); %>
Hello! The time is now

<%
// This scriptlet generates HTML output
out.println( String.valueOf(date));
%>
</BODY>
</HTML>
Step2:
If 11i Instance: Move the .jsp file to /ebs/oracle/vis5comn/html
If R12 Instance: Move the .jsp file to/ebs12/oracle/apps/apps_st/comn/webapps/oacore/html
class file is automatically generated in /ebs/oracle/vis5comn/_pages/_oa__html (in 11i)
class file is automatically generated in /ebs12/oracle/apps/apps_st/comn/_pages(in R12)

Step3:
Login to Oracle Applications and go to Application Developer Responsibility.
Create Function:

Go to Properties Tab- Give type as SSWA jsp function

Go to Web HTML tab – Give jsp file name. Save the work.

STEP 4:
Register the Function under which responsibility you want to see the Jsp Form
Step5:
Move to the Responsibility in which you have attached the Function and open the Form(jsp)
Open the JSP form:
Finally the Output JSP-Form:

No comments:

Post a Comment

SQL Important Queries

  How to delete rows with no where clause The following example deletes  all rows  from the  Person.Person  the table in the AdventureWork...