I want to devloped an interface in jsp/form devlopper

Hi,
I am using eBusiness Suite 11.5.5 on Sun Solaris server.
I have to interface with a custom build application. This
application uses Websphere as the application server.
I have to develop a new FORM in D2K and also in JSP, and send
request to this Websphere based appliaction, get response, parse
the response and display the different values in the UI of D2K
Forms and JSP.
Can u pls tell me the best way to do this? is there any method
by which i can call the response directly from Oracle Forms?
Regards
yogendra

Are you in the U.S?
You can only buy from the itunes store of your country of residence ( verified by valid billing address on your payment info) and ONLY while inside the borders of that country.

Similar Messages

  • I want to create tab's in JSP..?

    Hello experts,
    I want to create tab's in JSP page. So if there is in taglib for tab's. So please let me know which one is this and how to implement it. And the directory structure of the Application folder.
    Thanks and Regards,
    Andy Surya

    Or you could write your own using divs and css, it wouldnt take very long as I have done it a couple of times. It might not be the best solution, but I made each tab section an action apart from the page you are currently on and used a separate jsp for each individual tab page. The html was replicated at the top of each page. Each clickable tab header had an action behind it fired by javascript.
    It requires a page refresh on each tab click and multiple jsp's (one for each tab) so might not be the most appropriate solution but it works very well and looks good.

  • I want to make a chatroom using jsp, and have some problem, Help!

    I want to build a chatroom using jsp and client using plain html, so i need every client could have a constant connection with the web server and will receive messages realtime. But i got 2 problems.
    First, how can i turn my buffers off so that messages can get to the client the time it is meant to be. I added
    <@page buffer="none">
    but seems that it takes no effect, any tricks here? thx
    Second, I want every user could have a constant conn. with server but i dont want my server to waste resources on those connection that has already been disconnected.so is it possible to stop executing JSP pages once client has diconnected.Since i found that it will throw no exception writing to the client even if the connection is disconnected in JSPs.
    Thanks!!!!!

    By theway, i'm using TOMCat 5.0 as my JSP container.

  • I want to use data binding in jsp,just like microsoft ASP's RDS,how can I d

    I want to use data binding in jsp,just like microsoft ASP's RDS,how can I do?

    I can't claim to know exactly what RDS binding involves, but if my hunch is correct, you can get very similar behavior by using JSTL and define your data source using JNDI. See the JSTL spec, my article series about JSTL, or a JSP/JSTL book (such as mine ;-) for details:
    http://java.sun.com/products/jsp/jstl
    http://www.onjava.com/pub/a/onjava/2002/08/14/jstl1.html
    http://www.onjava.com/pub/a/onjava/2002/09/11/jstl2.html
    http://www.onjava.com/pub/a/onjava/2002/10/30/jstl3.html
    http://www.thejspbook.com/

  • How do I get iTunes to ONLY open in Mini Player? I don't want the entire iTunes interface opening when I double click on an Mp3 file.

    How do I get iTunes to ONLY open in Mini Player? I don't want the entire iTunes interface opening when I double click on an Mp3 file.

    Over 6000 people have downladed the script to get around this after a fashion. Is it still required?

  • Want to get ApEx session in JSP

    Hi Pals,
    From my ApEx application, I am calling a JSP by providing a direct URL.
    THe JSP does some specific function here.
    If the user get the JSP url by right click and view source, they can very well use this outside my ApEx application.
    I want to apply security like, the JSP url only works inside my ApEx application.
    My thought, if I can share ApEx session with JSP session I can impose the security check in JSP level.
    Any idea would be appreciable.

    Hi,
    Im using below method to call jsp page and passing UserName, application id and Session as
    <iframe src="http://apex.oracle.com/pls/otn/...javaapplication.jsp?userId=&USER.&appId=&APP_ID.&sessId=&SESSION."></iframe>
    Vailidation is done against the table "wwv_flow_sessions$" of schema : flows_030100 ,whether those values are exist in table.
    But if user is already logged into apex application, he can run the jsp independantly taking the url from "view source".
    Im also looking for more solid validation
    Regards,
    Benz

  • I want to post the values of the form in the same Jsp Page

    I want to post the values of the form in the same Jsp page.

    Was that a question? Or are you just informing the world of your grand intentions?
    But yeah, all you need to do is direct your action to the same page you're in. So, if this is your foo.jsp, it'd be something like...
    <%
    if(request.getParameter("bar") != null) out.println("Hello");
    %>
    <form method="post" action="foo.jsp">
       <input type="text" name="bar" value="baz">
       <input type="submit">
    </form>When you submitted your form, it would post the value to the same JSP page as you're already in, and print out Hello to the screen. "Hello" would not print out on the first visit, as the request would obviously not contain the parameter "bar" yet.

  • How can use interface in JSP?

    hi! friends i have one dought in JSP? it's possible interface in JSP? how?
    waiting for ur reply!

    hi
    i think u can not use interface in JSP but u can extend a class which implements an interface

  • Multiple submit buttons in a jsp form?

    I've been doing some research and found out that multiple buttons in a JSP form are possible by two ways:
    - We can obtain the value of the submit button to know which one was clicked in the parameters of the request using the name of the buttons (which should be the same for all the submit buttons).
    - We can change the submit destination using Javascript (Horrible solution since I want my web site to be safe to be used even if Javascript isn't active in clients browsers. I will use it of course since we can do amazing things with it but I want my website to be able to work without it also)
    WHAT annoys me is the fact that the value of a submit button is also his text, so if I change the text of the submit button, I will always have to check the servlet to do the corresponding change.
    Is there a third choice to be able to use multiple buttons?
    Olivier Voutat

    It seem rather convoluted at first but it's really good. I've not worked with JSF so I've no idea how that compares but from what I know, Craig McClanahan, who came up with Struts, worked on JSF also, so I guess it could only improve on Struts.
    EDIT: Here's a search result on Google'ing his name: http://www.theserverside.com/news/thread.tss?thread_id=29068
    But like I said, you don't have to use Struts ( which only uses standard JSP/ Servlets stuff anyway ), you simply use one of the ideas from it.
    For example; you have a properties file, say "/WEB-INF/properties/myProps.properties" with these entries:
    #USERS MODULE
    users.button.save=Save User
    users.button.search=Search User By Name
    users.button.delete=Delete UserThis would be a key: users.button.save to the value Save User
    Now, in your JSP, you use JSTL <fmt> tags:
    <fmt:setBundle basename="properties.myProps"/>
    //set the resource bundle you want to use
    //and create buttons with the proper values
    <input name="myButton" type="submit"><fmt:message key="users.button.save"/></input>
    <input name="myButton" type="submit"><fmt:message key="users.button.search"/></input>This would create buttons with text "Save User" and "Search User By Name" respectively
    Now, finally, in your servlet:
    //create a map of the properties,
    //possibly on app startup using a ServletContextListener
    //and put it in the servlet context for access everywhere
    HashMap myProps = (HashMap)getServletContext.getAttribute("myPropertiesMap");
    String buttonClicked = request.getParameter("myButton");
    if ( buttonClicked.equals((String)myProps.get("users.button.save")) )
    //perform save action
    else if ( buttonClicked.equals((String)myProps.get("users.button.search")) )
    //perform search action
    //etcYou'll obviously want to optimize this. Perhaps make a method that handles the comparison so you can have neater if conditions. But you get the idea, right?
    Edited by: nogoodatcoding on Oct 4, 2007 8:12 PM

  • Migrating PCR frontend-JSP forms to Adobe interactive forms-WD Abap Comp

    Hi All,
    We are currently on Netweaver 7.0 & ECC 6.0 and ESS - MSS Business Package 50.4. We are using JSP Forms on portal front for Personnel Change Requests (PCR's ) where in all the scenarios in the backend are heavily customized with good amount of usage of Javascripts. For certain scenarios, where in a huge amount of information is fetched from ECC 6.0 backend system, JSP are performing really bad and the total time taken to display the form is actually causing a lot of irritation to the end user.
    We are planning to propose an upgrade to SAP adobe interactive forms. The prerequisite is that the business wants to reuse all the customized scenarios without any changes and just want to move towards better front end forms.
    My questions are:
    1. Please list benefits of SAP Adobe interactive forms - ABAP component over JSP forms (performance wise)
    2. Issues with SAP Adobe Interactive forms?
    3. Since Javascripts do not work in Webdynpro ABAP. How can we implement those front end checks and validations.
    3. Any other options available for UI that can be suggested?
    All suggestions are welcome. Quick response is appreciated.
    Thanks a lot for your time and help.
    Best Regards,
    Anupama

    Is your performance issue with the Javascript with JSP pages?  or the Java script you are using within the Adobe form in your WDJ custom application using Adobe form? I have worked on PCR's using ISR framework old school it used to call as PCR and now HCM Processes and form, Developed PCR's using WDJ also integrated workflow with the WDJ PCR for approval(we never had any performance issue) infact ISR frame work was kind of slow compare to custom WDJ solution and less flexible for a developer to develop.
    I have also worked created WDA custom application for PCR's , WDA is definitely better when you compare it with WDJ but I have not seen much performance issue with WDJ atleast on custom PCR solutions.
    I don't have any case study to share with you, can you please tell what kind of PCR's your client is using and what kind of performance issue you are experiencing and where and why you guys are using Javascript.

  • Calculations in Jsp form - Urgent Please

    Hi,
    I have 3 fields in my table, Quantity,Price and Total. Quantity * Price gives Total. Price is the Column of another table and I display the values of Price using <jbo:InputSelectLOV>. So,my requirement is when I input the value for Quantity and select the values from list in the Edit.jsp form I need the value of Quantity * Price to be displayed in the Total field on Browse form. Could someone please help me. I am new to JSP and any help is appreciated.
    Thank You

    It's not related to JDeveloper this is a generic thing for HTML pages - if you want to do client side (menaing no traffic to the server) actions you use Javascript.
    You just need to stick the Javascript into the JSP page you have inside JDeveloper.

  • Jsp form help

    Hello everyone out there'
    I am a computer science teacher in a private high school in Nigeria and have some experience in java programming language and also new to the JSP tech .I want to introduce the school into using web applications in managing their infomation like registration,staff info,accounts e.t.c .They have asked me to make a presentation in two days time on web appllications ,i have decided to use JSP tech to demonstrate a web application .I have also downloaded the TOMCAT server install and configured it ,set the enviroment varible and is working well when itried invoking a html form.I have even install the j2sdk 1.5.
    The problem now is on my JSP form i want to link to an Access database the code is provided below:
    <%@page contentType="text/html" import="java.sql.*" %>
    <%@page pageEncoding="UTF-8"%>
    <html>
    <head><title>JSP Page</title></head>
    <body bgcolor='palegoldenrod'>
    <img src ='Apps/Japp/logo.jpg ' height="100" width="100"/><hr/>
    <center ><form method="POST" action="/Apps/Japp/TEST.jsp" >
    <table bgcolor='navyblue'>
    <tr><td><font Color="yellow" size="5"><b>Student Number :</b> </font></td>
    <td><input Type ="text" name= "number" size="30"/></td></tr>
    <tr><td><font Color="yellow" size="5"><b>First Name :</b> </font></td>
    <td><input Type ="text" name= "fname" size="30"/></td></tr>
    <tr><td><font Color="yellow" size="5"><b>Middle Name :</b> </font></td>
    <td><input Type ="text" name= "mname" size="30"/></td></tr>
    <tr><td><font Color="yellow" size="5"><b>Last Name :</b> </font></td>
    <td><input Type ="text" name= "lname" size="30"/></td></tr>
    <tr><td><font Color="yellow" size="5"><b>Subject :</b> </font></td>
    <td><input Type ="text" name= "sub" size="30"/></td></tr>
    <tr><td><font Color="yellow" size="5"><b>Grade :</b> </font></td>
    <td><input Type ="text" name= "grade" size="30"/></td></tr>
    <tr><td><font Color="yellow" size="5"><b>Exam Type :</b> </font></td>
    <td><input Type ="text" name= "etype" size="30"/></td></tr>
    <tr><td><font Color="yellow" size="5"><b>Number In Group:</b> </font></td>
    <td><input Type ="text" name= "ngroup" size="30"/></td></tr>
    </table>
    <font Color="yellow" size="5"><b>Teachers Comments </b> </font>
    <textarea name= "comment" rows="8" cols=50/></textarea>>
    <input type="submit" value="Submit your Entries" />
    <input type="reset" value="Clear Entries" /></form>
    </center >
    <hr/>
    <%
    Connection conn;
    Statement stat;
    String studentNumber = request.getParameter( "num");
    String firstName= request.getParameter(" fname");
    String middleName= request.getParameter("mname" );
    String lastName = request.getParameter( "lname") ;
    String subject= request.getParameter( "sub") ;
    String grade= request.getParameter("grade") ;
    String numInGroup= request.getParameter("ngroup") ;
    String coment = request.getParameter("comment" ) ;
    String examType= request.getParameter("etype" ) ;
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    conn = DriverManager.getConnection("jdbc:odbc:Tester","bart","college");
    stat = conn.createStatement();
    stat.executeUpdate( "INSERT INTO REPORT " +
    "VALUES (studentNumber,firstName , middleName,lastName ," +
    "subject,grade,numInGroup,coment,examType" );
    stat.close();
    conn.close();
    catch (Exception e)
    e.printStackTrace();
    %>
    </body>
    </html>
    i am recieving the error message below when I sumit my entry from the form.Can anyone tell me what to do tosolve this problem and do ineed to configure an xml file i n the web module for this iam using NETBEANS IDE
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: /Japp/TEST.jsp(6,1) Illegal value of scope attribute: PAGE (must be one of "page", "request", "session", or "application")
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:83)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:402)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:186)
         org.apache.jasper.compiler.JspUtil.checkScope(JspUtil.java:252)
         org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:536)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1133)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2180)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2230)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2236)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:485)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2180)
         org.apache.jasper.compiler.Validator.validate(Validator.java:1518)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:247)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:305)
    note The full stack trace of the root cause is available in the Tomcat logs.
    Apache Tomcat/5.0.19

    org.apache.jasper.JasperException: /Japp/TEST.jsp(6,1)
        "Illegal value of scope attribute": "PAGE" (must be one of "page", "request", "session", or "application")The error says it all. In your TEST.jsp you have a JSP tag that uses the scope attribute. You have it written as: scope="PAGE".
    Keep in mind that JSP is Java, and Java is case sensitive. Re-read the error message and see if you can't locate and fix the problem.
    PS: This occurs because you are writing code without following any sort of coding standards. It makes for errors in JSPs, but also real hard to read HTML. Create a set of rules for yourself and follow them. It will make it a lot easier to manage later on. Some example rules:
    1) Name all pages with capital letters to start the name, and to deliminate words. Use lower case letters the rest of the time. Example:
    "Test.jsp" "StudentMailAddressForm.html" ...
    2) Use only lower case letters for tags except when required not to:
    <td ...> <body ...> <jsp:useBean...>
    3) All tag attribute names should be lower case except when required not to:
    < ... color="..." > <... name="... >
    4) Put all tag attributes in double quotes.
    <... name="address" ...> < ... size="15" ... > <... src="images/ThePic.jpg" ...>
    5) Allattribute values should be lower case except:
    a. To distinquish words <... name="hamSandwich" ...>
    b. The value will be displayed to the user <... value="Submit Form" ...>
    c. The value is a proper noun <... user="Steve Luke" ... >
    d. When required to be case sensitive like looking up info in a DB...
    These are just examples, but if you think about the rules when you make them you will be writing good XHTML code in no-time, and the transition to JSP, with its case-sensitivity will be easy.

  • Working with multiple buttons on a jsp form....!

    Hi guys...!
    I have a jsp form, which has 3 buttons (submit, update, cancel), and I also have a java Servlet that processes that form.
    In my java Servlet, i have a method called submitData(). I also want to have a method called updateData(), which will be called when the user clicks on the update button.
    These are the codes in my jsp form:
    <SCRIPT language="JavaScript" type="text/javascript">
                   function submitFunction (i) {
                        if (i==1) {
                             document.theForm.action="/MyWebApp/FormServlet";
                        if (i==2) {
                             document.theForm.action="/MyBugWebApp/FormServlet";
                        if (i==3) {
                             document.theForm.action="/MyWebApp/DisplayForm.jsp";
                        document.theForm.submit()
              </SCRIPT>
    <form name="theForm">
    <input type="button" value="Submit" onClick="submitFunction(1)"></input>
    <input type="reset" value="Reset"></input>
    <input type="button" value="Cancel" onClick="submitFunction(3)"></input>
    <input type="button" value="Update" onClick="sumbitFunction(2)"></input>
    </form>
    As u can see, both the submit and the update button use the same java servlet file. But inside that java servlet file, I want to have methods that will be called inside my doPost() method when the user clicks on update or submit.
    I've tried to pass a value through the httpRequest but it doesn't work... This is what I did.
    In my javaScript, I added this value in the action attribute:
    document.theForm.action="/MyWebApp/FormServlet?id=submit";
    document.theForm.action="/MyWebApp/FormServlet?id=update";
    I did that because I wanted to be able to retrieve the value of the "id" in my servlet and check which type of action was sent and then call the appropriate function in my servlet.
    But, it doesn't work. It returns "null" as the value for "id"
    Does anyone know how to do this task??...or what am I doing wrong in my code???
    Thanks...

    So there are really two solutions to this:
    1) Use <input type="submit" instead of buttons. Give all three buttons the same name but different values. Then the button used to submit will be added to the list of parameters.
    2) Add a hidden input to the form, and when the form determines which button was pushed, set a different value for the hidden input field. For example of both, take a look at this code:
    <html>
      <head>
        <script type="text/javascript">
          function formSubmit(i)
            var toSubmit = document.getElementById("myForm")
            if (i == 1) toSubmit.doThis.value="one"
            if (i == 2) toSubmit.doThis.value="two"
            if (i == 3) toSubmit.doThis.value="three"
            toSubmit.submit()
        </script>
      </head>
      <body>
        <form id="myForm" action="" method="get">
          <input type="hidden" name="doThis" /><br />
          <input type="submit" name="whatToDo" onclick="formSubmit(1)" value="Submit" />
          <input type="submit" name="whatToDo" onclick="formSubmit(2)" value="Cancel" />
          <input type="submit" name="whatToDo" onclick="formSubmit(3)" value="Update" />
        </form>
      </body>
    </html>For method one, if the servlet did:
    String whatToDo = request.getParameter("whatToDo");
    if ("Submit".equals(whatToDo)) {
      //doSubmit();
    } else if ("Update".equals(whatToDo)) {
      //doUpdate();
    } else if ("Cancel".equals(whatToDo)) {
      //doCancel();
    } else if ("Reset".equals(whatToDo)) {
      /doReset();
    } else {
      //error situation
    }Or you could instead look at the hidden value:
    String doThis = request.getParameter("doThis");
    if ("1".equals(doThis)) { ... }I personally like the submit button with the same names and different values, since the second method breaks if the user has javascript disabled.

  • Setting and updating Date field in a jsp form

    Hi:
    I have a form (in jsp) where in I have a field for Date. The Date is entered in the form: 12/18/2002. I using beans to retrieve the form values and then pass to the program. THe date field is passed as String to the bean. The program changes the String to util date
    (assignment ===> name of bean)
    String strDate = assignment.getDueDate();
    java.util.Date adate = null;
    DateFormat fmt = DateFormat.getDateInstance(DateFormat.SHORT,Locale.US);
    try {  
    adate = fmt.parse(strDate);
    System.out.println("Util date in Bo: "+adate);
         catch (ParseException e)
              System.out.println(e);
    and before inserting into database, it is changed from util.date to sql.date.
    long time = adate.getTime();
    java.sql.Date sqldate = new java.sql.Date(time);
    Until now everythign is working fine. On my way back, when i retrieve the sql.date from the database, I change it to util date:
    java.sql.Date sqlDate = rs.getDate("dueDate");
    java.util.Date uDate = sqlDate;
    and then covert this util date to String
    String strDate = uDate.toString();
    When I display this string date on my form... it is in the format
    2002-12-18, although i have inserted it in 12/18/2002 format.
    Can anyone help me since i want my date to appear on the form in the format I enter (12/18/2002) and not the 2002-12-18 format of database

    Already answered elsewhere.

  • How to save data from a JSP Form to a xml file

    Hi All,
    I want to save JSP Form Fields (like name, contact etc) to a xml.
    When i chick on submit button of form all the entered fields should be saved into a xml file.
    Can any one send me a sample code, as I am new to JSP and XML.
    Thanks you All.

    You could
    - send the form input as request parameters (e.g. site.jsp?name=value&name=value) (done in html)
    - get the parameters with request.getParameter("name")
    - use [Java's xml lib|http://developerlife.com/tutorials/?p=25] to create the xml file [(jDom.org|http://jdom.org/] is another nice and simple xml lib)

Maybe you are looking for

  • Modal Dialog won't close before tasks complete..

    Hi all, Basic, but quite infuriating problem. Because Illustrator doesn't allow palette type windows, nothing can happen whilst the dialog is open. So, I've been using scripts I wrote over six months ago now for producing sets of scale elevations of

  • Multiple sounds in one button

    would you kindly give me a suggestion that how to make multiple sounds in a button of a windows form application. actually, being a newb i'm trying to develop a piano application by C# for my own interest. the problem is, when i press one button it p

  • Putting emoticons in Apple's eMail program

    Does any one know of any utility that I can use to put emoticons in an email being written by Apple's standard email program? Thanks G4   Mac OS X (10.4.9)  

  • T-code for display the storage locations

    Hi, Is there any tcode where we only display the storage locations, which is not the long one by using mm03 except for mmsc which is only authorized for limited people. Many Thanks Jean

  • Adobe Acrobat XI printed to blank PDF from Brava Reader v7.3 on a paper size 100mm x 3000mm

    I am on Adobe Acrobat XI and am having trouble printing to PDF from Brava Reader v7.3 to a paper size 100mm x 3000mm. The output is a blank PDF to the given paper size.  I was able to print with image from Brava Reader v7.2.  However, when I installe