Add custom JSP

hi experts !
i have added custom menu in OIM. now i want to add some functionality to it. i have tried following but it is not working, please helpout if possible :-
1. Created a JSP page as follows
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>+
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">+
+<html>+
+<head>+
          +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">+
          +<title>the first jsp page through menu</title>+
+     </head>+
+<body>+
+<h1>Welcome</h1>+
+</body>+
+</html>+
2. placed this JSP in a folder named custom in [OIM DIR]\xellerate\OIMApplications\WLXellerateFull.ear\xlWebApp.war
3. Added Following to struts-config.xml
+<action path="/mergeOrgs" name="logonForm" validate="false"+
               type="net.custom.struts.helloworld.action.LoginAction">
               +<forward name="success" path="/custom/MergeOrgs.jsp" />+
          +</action>+
4. created a jar with LoginAction class and placed in [OIM DIR]\xellerate\OIMApplications\WLXellerateFull.ear\xlWebApp.war\WEB_INF\lib folder
5. run patch-weblogic.cmd
but i get the message "This page is not currently implemented" when i click on the lik.
the entries in xl Default. properties+
Organizations.Merge=mergeOrgs.do?Display
menuItem.Organizations.Merge.link=mergeOrgs.do?
xlWebAdmin_en_US.properties+
menuItem.Organizations.Merge=Merge Org
mergeOrgs.button.display=Merge Organizations
Edited by: ZIA on Feb 25, 2010 2:50 AM
Edited by: ZIA on Feb 25, 2010 2:51 AM
Edited by: ZIA on Feb 25, 2010 2:52 AM

You have to create one JSP which u have to put in pages folder.
Which will have one KEY.
Now make entry of your actual JSP with this KEY in tiles-def.xml
Put your actual JSP in tiles folder.
In ur struts-config.xml make entry of your JSP which is pages folder.
You can see just example of any JSP in pages folder.

Similar Messages

  • Unable to add Custom JSP 1.2 Tag Library to Project

    I am trying to upgrade to a newer version of JDeveloper (10.1.3.0.4) but am having a problem with projects that use custom JSP tag libraries.
    After converting the project (.jpr) files to the new version, I double click and go to "JSP Tag Libraries." When I click on "Add" to add a new JSP Tag library, only JSP version 1.1 libraries are shown, I cannot choose any JSP 1.2 tag libraries.
    my TLD files are all JSP 1.2, so I am not quite sure why this isn't working in a newer JDeveloper after it has worked fine in the past. If I examine any JSP page that uses my taglibs, I see the following 2 kinds of error:
    the line:
    <%@ taglib uri="taglib.uri" prefix="mytag" %>
    is underlined in red and says "the tag library taglib.uri is referenced, but not installed"
    And for any lines that try to use the custom tag:
    <mytag:dosomething>
    there is a yellow/orange underline that says "no grammar available for namespace taglib.uri, contents of element dosomething cannot be validated"
    Note that I can add the taglib JAR file under Tools > Manage Libraries, but I cannot add the JSP tag library to my project. Is there some sort of compatibility issue when transferring project files from an old version of JDeveloper?
    Any help would be appreciated

    Yes any new project I create I can specify JSP 1.2 or 2.0 with the wizard and it works fine.
    But I don't want to re-create my entire project file again just to register my taglibs.
    Here's the JSP related section in web.xml:
    <!-- TagLibraries -->
    <taglib>
    <taglib-uri>taglib.uri</taglib-uri>
    <taglib-location>/WEB-INF/tlds/mytag.tld</taglib-location>
    </taglib>
    It's definately something in the project itself... but I am lost as to what it is.
    Edit: nvm I fixed it. It was the web.xml. I had to change the line:
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    into
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    and it worked. Thanks.
    Message was edited by:
    user523020

  • Add organization lookup to custom JSP

    Hi Experts !
    i am trying to add organization lookup link in my custom JSP pages i have added to OIM. the code of my page is given below. when i click on the link for "View Lookup Details", the pop up screen has following message displayed :-
    INCORRECT_FIELD_LIST
    list of fields is incorrect
    the code of the page is given below :
    <%@taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
    <%@taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/tld/xellerate-tags.tld" prefix="tctags" %>
    <%@ page import="com.thortech.xl.webclient.util.FormField" %>
    <%@ page import="com.thortech.xl.webclient.actions.tcLookupFieldForm" %>
    <%@ page import="com.thortech.xl.webclient.actions.tcActionForm" %>
    <%@ page import="com.thortech.xl.webclient.util.tcMessageResourcesUtil" %>
    <html:html>
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/css/style.css">
    <link rel="stylesheet" type="text/css" href="<%=contextPath%>/css/calstyle_all.css">
    <body >
    <html:form name="appointmentForm" action="/appointment" method="post">
    Create Designation
    <table border="0" align="center" class="A11" >
         <tr>
    <td align="left" class="grbx" valign="top">
    ID
    </td>
    <td height="6px"/>
    <td align="left" class="Input.textStyle" valign="top" >
    <html:text property="id" />
    </td>
    </tr>
              <tr>
    <td align="left" class="grbx" valign="top">
    Name
    </td>
    <td height="6px"/>
    <td align="left" class="Input.textStyle" valign="top" >
    <html:text property="desigName" />
    </td>
    </tr>
    <tr>
    <td align="left" class="grbx" valign="top">
    Description
    </td>
    <td height="6px"/>
    <td align="left" class="Input.textStyle" valign="top" >
    <html:text property="desigDescription"/>
    </td>
    </tr>
         <tr>
              <td align="left" class="grbx" valign="top">
                   Organization
              </td>
              <td width="35px">
              </td>     
              <td class="ControlLabel">
                   <tctags:lookupfield name="appointmentForm"
    property="desigOrg"
    windowheight="500"
    windowwidth="500"
                   lookupAPI="-2"
    methodName="findOrganizationsFiltered"
    className="Thor.API.Operations.tcOrganizationOperationsIntf"
    columnNames="Organizations.Organization Name, Organizations.Status"
                   selectionColumn="Organizations.Organization Name"
    columnLabelKey="request.requestDetail.organization"
    htmlFormName="appointmentForm"
    styleClass="Fields"
    iconsrc="images/lookup.gif"
    tabindex="6"
    maxlength="50"
    fixedFilter="Organizations.Status:Active" />
              </td>
         </tr>
              <tr height="100px">
              <td height="50px"/>
              </tr>
              <tr>
    <td height="50px"/>
    <td height="50px"/>
    <td align="right" class="grbx" valign="top" >
    <html:submit property="appt_saveCreate">Save</html:submit>
    <html:button property="clear" value="Clear" onclick="clearForm()" />
    <html:cancel property="appt_cancelCreate">Cancel</html:cancel>
    </td>
    </tr>
    </table>
    </html:form>
    </body>
    </html:html>
    Any mistake i am making? (must be otherwise it would have been working :-) )
    Best Regards

    oookay got it going :-) . Was just a matter empty space in
    columnNames="*Organizations.Organization Name, Organizations.Status*"
    advice to myself....read logs carefully :-D

  • How to add a lookup to the customized jsp

    Hi,
    I added a menu item, when click on this menu item it goes to the one jsp page(my own jsp page), here I have one field, for this field I want to add a lookup.....
    please advice me how to achieve this.....
    Thanks.

    I was actually trying this with my custom JSP. This shows up a "lookup item" in the jsp with all valid values added in the associated lookup:
    Just few points for your reference:
    1) Bean-Name = Your bean name
    2) Action-Form-Field = Any field from your action form
    3) USR_UDF_TESTLOOKUP = OIM field
    I actually created a UDF in Users with DB column name='*USR_UDF_TESTLOOKUP*' and of lookup type. All valid values to be shown in the JSP are provided in this lookup only.
    4) First-Name = The label which should get displayed when we click on the lookup icon.
    5) All remaining fields must be left as it is.
    Copy this to any JSP and see it should work.
         <tr>
              <td class="ControlLabel" width="25%">
              Custom Field
              </td>
              <td
              width="35px">
              </td>          
              <td class="ControlLabel">
              <tctags:lookupfield name="*Bean-Name*" property="*Action-Form-Field*"
              windowheight="500"
              windowwidth="500"
         lookupcolumn="USR_UDF_TESTLOOKUP"
              selectionColumn="Lookup Definition.Lookup Code Information.Decode"
              columnLabelKey="First-Name"
              htmlFormName="*Bean-Name*"
              styleClass="Fields"
              iconsrc="images/lookup.gif"
              tabindex="65"
              maxlength="25" />
              </td>
         </tr>
    Thanks
    Sunny

  • Facing problem in integrating my custom jsp with the workflow engine

    Hi,
    I am using Jdeveloper 11.1.1.6.0 for BPM 11g implementation on my Application.I have Weblogic Server 10.3 Installed and configured the domain. Also the server is up and running.
    I am trying to create workflow and wants to integrate it with my custom jsp but i am facing problem in integrating my custom jsp with the workflow engine.Can you please answer the following questions:
    1)how to link BPM human task with my custom jsp (Requester jsp).
    2)how my custom jsp data(Requester data) will be stored in workflow engine and how the same data will be visible to the next custom jsp(Reviewer jsp).
    This is urgent .Any early reply will be great help.
    Thanks in advance.
    Edited by: 990133 on Mar 24, 2013 5:31 AM

    you forgot to add the usage dependency in the DC metadata section in your DC, you have to add the XSS~utils and fpm as a used DC's as part of your DC, try to add those, if you already done that, so check where missed the adding of used webdynpro components in any of the VAC's or FC's,
    Cheer,
    Appa

  • How can I get the workspace login name in a custom jsp?

    I want to add a custom jsp in workspace, how can I pass the login name to this jsp?

    DrClap wrote:
    I think the OP wants to start up an application like MS Word and then operate it from a Java program.Doesn't The Monkey's Paw do that? What a second, according to Wikipedia:
    [http://en.wikipedia.org/wiki/The_Monkey%27s_Paw]
    <quote>
    ...the paw of a dead monkey is a talisman that grants its possessor three wishes, but the wishes come with an enormous price.
    The moral of the story is contained in this description of the paw: "It had a spell put on it by an old fakir," said the sergeant-major, "a very holy man. He wanted to show that fate ruled people's lives, and that those who interfered with it did so to their sorrow."
    </quote>
    So I guess that a non-sequitor ... or is it?

  • MySQL database connection from Custom JSP

    I am trying to connect MySQL database from my custom JSP. I am getting following error which says that the connector JAR (mysql-connector-java-5.1.7) is not in CLASS PATH.
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    Where should I need to add to get by custom JSP during run time of BPM Studio or Workspace?
    I have tried in adding to External resources. But didn't work that way. even I tried adding to "lib" folder in resource view.
    My Custom JSP code:_
    <%@ page language="java" import="java.sql.*" %>
    <html>
    <head></head>
    <body>
    <%     
    System.out.println("MySQL Connect Example.");
    Connection conn = null;
    String url = "jdbc:mysql://localhost:3306/";
    String dbName = "aboo";
    String driver = "com.mysql.jdbc.Driver";
    String userName = "monty";
    String password = "some_pass";
    try {
    Class.forName(driver).newInstance();
    conn = DriverManager.getConnection(url+dbName,userName,password);
    System.out.println("Connected to the database");
    String query = "Select * FROM employeee";
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery(query);
    while (rs.next()) {
    System.out.println(rs.getInt(1));
    System.out.println(rs.getString(2));
    conn.close();
    System.out.println("Disconnected from database");
    } catch (Exception ee) {
    ee.printStackTrace();
    %>
    </body>
    </html>
    Edited by: sideeque on Jul 7, 2009 9:38 AM
    Edited by: sideeque on Jul 7, 2009 9:39 AM

    I got it working by just adding JAR to C:\OraBPMStudioHome\webapps\workspace\lib

  • How to add custom attributes to UME

    hi gurus,
    I have developped an appliation in that I want add custom attributes to UME for the sake of retriving the BrandType.
    Please give me suggestion how to do this.
    Thanks in adance.
    Lohi

    Hi Lohi,
    UME setup
    1)     go to Configuration tool (C:\usr\sap\J2E\JC02\j2ee\configtool\consoleconfig.bat)
    2)     For “Global server configuration->services->com.sap.security.core.ume.service” define property “ume.admin.addattrs” as “BU_PARTNER” and for “ume.admin.self.addattrs” as “<empty>”. (to set value select entry, input value in “Value” field and click “Set”)
    3)     Click “Apply changes” button on the toolbar.
    4)     Restart server.
    5)     Login to http://<server_name>:<server_port>/useradmin/index.jsp and define “BU_PARTNER” property.
    Code:
    try {
         final IWDClientUser wdUser = WDClientUser.getCurrentUser();
         final IUser user = wdUser.getSAPUser();
         final String[] attribute = user.getAttribute(
              "com.sap.security.core.usermanagement",
              "BU_PARTNER");
         if( attribute==null || attribute.length == 0 || !Utils.isNotEmpty(attribute[0]) ) {
              wdComponentAPI.getMessageManager().reportMessage(...);
              return;
         } else {
              buPartner = attribute[0];
    } catch (final WDUMException e) {
         wdComponentAPI.getMessageManager().reportMessage(...);
    Best regards, Maksim Rashchynski.

  • Help with a Custom JSP - Select Box (entry view definition).

    I'm in no way an expert in HTML so please bear with me. We have quite a large list of Job Titles that we use on multiple forms and I wanted to use a custom jsp so I only have to update our title list once if we add/remove titles at our organization. I created a simple select box with all our titles and put them on the Vibe server under the custom jsp folder. The select box shows up on the entry form definition no problem... I just don't know how to make it show up on the entry view definition. The code is obviously pretty basic:
    <html>
    <select name ="Title">
    <option value ="Title1">Title1</option>
    <option value ="Title2">Title2</option>
    <option value ="Title3">Title3</option>
    <option value="Title4">Title4</option>
    </select>
    </html>
    What do I need to do in order for it to show up on the entry view definition side of things? Could anyone with html and/or Vibe knowledge please chime in? I'd really appreciate it.

    Try the following custom JSP, it works fine in my environment.
    Construction is a s I said before: while in edit mode (add or modify) it appears as Select Box, otherwise gives the value only.
    Regards, Darek
    <%@ include file="/WEB-INF/jsp/definition_elements/init.jsp" %>
    <c:choose>
    <c:when test='${ssOperation == "add_folder_entry" || ssOperation=="modify_folder_entry"}'>
    ${property_caption}<br>
    <select name="${property_name}">
    <option value="opt1">title1 1</option>
    <option value="opt2">title 2</option>
    <option value="opt3">title 3</option>
    <option value="opt4">title 4</option>
    </select>
    </c:when>
    <c:otherwise>
    ${ssDefinitionEntry.customAttributes[property_name]}
    </c:otherwise>
    </c:choose>

  • JS scripted needed to add custom text plus filename to file info in document title

    Would greatly appreciate any help with this one...
    JS script to add custom text plus filename to file info in document title
    many thanks

    Super :O)
    I have a folder of say 50 images and I want to run a JS script batch
    example in the document title :  image Nr 81205
    custom text is "image Nr" +  file name "81205"
    activeDocument.info.title =" image Nr" + decodeURI(activeDocument.name);
    would this be correct without seening the file ext
    many thanks

  • How to add custom fields in BADI  Subscreen.

    Hi Friends,
    I have to include some custom fields in MFBF tcode.(In make-to-order tab page).
    To do that I have used RM_HR_INTEGRATION  BADI definition  and created implementation for this. In the provided subscreen I tried to add custom fields but it asks access key . I donu2019t know , how to proceed further. Your help is needed.
    Or kindly provide me solution to achieve my requirement.
    Thanks in Advance,
    senthil.

    Hi Venky,
    We can see the documentation in
    se18 -> badi -> LE_SHP_TAB_CUST_HEAD -> display -> documentation button above the definition name
    in the first pop-up of documentation..go to the end which says 'Further notes'
    Further notes
    Documentation on BAdI Interface LE_SHP_TAB_CUST_HEAD
    click on this and we have a detailed description of each method defined in the badi
    Hope it helps
    Regards
    Byju

  • Add Custom CSS to SharePoint Foundation 2010

    I have SharePoint Foundation 2010. I am trying to use custom CSS to override the out of the box CSS. I have linked my CSS file within the master page a million different ways but nothing seems to work.
    Can this be done in Foundation or do I need to purchase Server?

    Hi Tory,
    How did you add the custom CSS for SharePoint 2010 foundation?
    You can upload the CSS file into a library at the SharePoint site collection, then use <SharePoint:CssRegistration name="<% $SPUrl:~SiteCollection/Style Library/Custom/styles.css %>" After="corev4.css" runat="server"/> to include a reference
    to your custom CSS file.
    In addition, please clear SharePoint cache, and do an IISRESET, then compare the result.
    More information, please refer to the links:
    http://labs.steveottenad.com/add-custom-css-to-a-sharepoint-2010-site/
    http://msdn.microsoft.com/en-us/library/gg447066.aspx
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to call a concurrent program from a Custom JSP page.

    Hi,
    I have a custom JSP page which i have deployed by creating a form function with the path of the JSP Page
    and added the JSP Page to the OA_HTML top.
    Now, i need to call a concurrent program from the JSP Page, i have all the parameters in my page and i am using the standard class as below:
    ConcurrentRequest cr= new ConcurrentRequest(con);
    int requestId= cr.submitRequest("XXINV",programName,null,null,false,vec);
    I have verified my connection object and it is OK but i am getting the exception that user is not set to run the program.
    I tried the below code in my JSP page and getting -1 for all test variables :-
    int userId = wctx.getUserId();
    int respApplId = wctx.getRespApplId();
    int respId = wctx.getRespId();
    I think i need to set the context in JSP page to run the program..
    Pls help ....
    Regards
    Saurabh Jaiswal

    Hi,
    Thanks for the reply,,,
    This is a possible solution but this will allow to run the program anyhow.
    But the procedure which i call thru callable statement will start with
    fnd_global.apps_initialize (3825, 50603, 704);
    fnd_request.submit_request API call.
    Now, the values of user and Responsibilty is required in the program and it changes.
    With this approach we have to hardcode the user and resp.
    The same JSP page is attached to other responsibilities and there the concurrent program would get fired as if fired from the resp Id hardcoded as above.
    Need to capture user Id and RespId.
    How can i set the apps Context in JSP page???
    Regards
    Saurabh Jaiswal

  • Issue in keeping the InfoView session valid using Custom JSP Open Document

    Hi
    We are using OpenDocument URL in custom JSP to show BO Web Intelligence Document.  The documents are opening fine but some of our WebI documents have links to other WebI document,  when the link is clicked it takes to Info View Login Page.
    If I login and logout once from InfoView then the WebI document links work fine.
    Can you please guide me on how to make the session valid for WebI internal links?  Do I need to create a Cookie or use URL Encoding?
    Following is the sample JSP code:
    <%@ page import="com.crystaldecisions.sdk.exception.SDKException" %>
    <%@ page import="com.crystaldecisions.sdk.framework.CrystalEnterprise" %>
    <%@ page import="com.crystaldecisions.sdk.framework.IEnterpriseSession" %>
    <%@ page import="com.crystaldecisions.sdk.framework.ISessionMgr" %>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.IInfoStore" %>
    <%@ page import="com.crystaldecisions.sdk.occa.security.ILogonTokenMgr"%>
    <%
    try{
    String systemName = "ServerName";
    String userName = "user";
    String password = "pass";
    String authType = "secEnterprise";
    IEnterpriseSession enterpriseSession=null;
    if (enterpriseSession == null)
    ISessionMgr enterpriseSessionMgr = CrystalEnterprise.getSessionMgr();
    enterpriseSession = enterpriseSessionMgr.logon(userName, password, systemName, authType);
    ILogonTokenMgr logonTokenMgr = enterpriseSession.getLogonTokenMgr();
    String defaultToken = logonTokenMgr.createWCAToken("",20,10);
    response.sendRedirect("http://boServer:port/OpenDocument/opendoc/openDocument.jsp?iDocID=16894&token="+defaultToken);
    catch(Exception e)
    e.printStackTrace();
    %>

    Thanks Aasavari for responding. My problem is solved. 
    I need not create any cookie or create token using getLogonToken
    Some of the URLs in the webi documents were incorrect and so Info View was taking to the Info View Login page.  
    But I am surprised though why info view not complain about incorret and rather takes to the login page.
    Thanks for your help again.

  • How to add existing jsp file to a project?

    I am trying out 10g developer preview. Looks like a lot of bugs are there in the tool. I would like to know how to add existing jsp file into a project. I tried the Import functionality, but it shows the option to create a project and include only Java files. Is there a way to do this? Thank you

    Just copy the files in the directory where the rest of your source file is.

Maybe you are looking for

  • I have installed a trail version of FrameMaker 12 and cannot open the book and chapter files in FrameMaker 8

    Hi My colleague and I use FrameMaker 8 but I'm considering whether it would be a good idea to upgrade to FrameMaker 12. So today I installed a trail version of FrameMaker 12. Before opening a book file in FM12, I copied it to another folder so I woul

  • Help Required in Master data Data model

    Hello, May some one help me in explaining the relation with the sales org, sales office, sales group, distribution channel, division, plant, material, Customer, controlling area, profit centre and cost element. These are the info objects I have in my

  • Can't create valid PL/SQL stored procedure

    I have two questions about PL/SQL and JDBC: Question 1: I'm trying to create and execute a PL/SQL stored procedure, and I can't seem to get the syntax right. I'm trying to create the simplest stored proc I can. Here's the stored procedure: create or

  • Mystery files

    I'm an HTML/Javascript newbie.  I've tried adding a Javascript script to open a new window with specific dimensions and no toolbars, but every time I view the document, it gives me error messages that refer to a URL for a file that doesn't exist, e.g

  • HELP, so confused over Printing!!!!

    I am so confused!!!     ICC Profiles, sRGB vs RGB, color management.   I work in Photoshop Elements 7 and use Canon Pixma MP610 printer.   I would like a start to finish in setting up in PSE 7.