Japplet program Or chart calling in jsp

hi
i am new to java & i have crated a chart program in Japplet
that program i want to run in jsp (NetBeans 5.50)

hi
i am new to java & i have crated a chart program
in Japplet
that program i want to run in jsp (NetBeans 5.50)
plz replay me soonnnnnnn

Similar Messages

  • Hi I can not pay chart in the program Seapilot, ITray too buy charts Call Sweden

    Hi I can not pay chart in the program Seapilot, ITray too buy charts Call Sweden

    Contact the developer about how to use their app. And how to buy in app purchases.

  • Building charts in a jsp page

    hi all,
    I have seen jfreechart for making charts. Iam new to jsp. so I dont know how to integrate
    jfreechart with jsp. I dont know how to start with it. can any one help me. Its very urgent.
    Pls show me the coding to implement a bar chart in a jsp page fetching values from the database and things to be configured for making it.
    thanx
    Balaji

    I've never used jfreecharts but maybe I can help you from the JSP side of the coin.I assume you are at least somewhat proficient with Java programming and if you are not then this is the wrong place to start. Think of JSP as a code generating tool. It's typically used to generate HTML or XML content. So from within a JSP page you are generating HTML to be rendered by the browser. So the 1st thing is that you have to understand what the resulting HTML page with the embedded chart would look like. Then you have to figure out how to generate the chart outside of JSP. I'm thinking that the resulting charts are images but I'm not sure because I've never used it before. You would code the Java logic to create the chart.then you can invoke that logic from your JSP to generate a chart upon request.

  • Chart calling from java

    hello,
    is there anyone know how to call a chart from a jsp, and passing parameters to it ?
    thanks in advance

    Hi there.
    I am having teh same problem
    Have you found any solution yet?. I would appreciate your reply at [email protected]
    Thanks & Regards,
    Vinay Rane
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by laurent hulin ([email protected]):
    hello,
    is there anyone know how to call a chart from a jsp, and passing parameters to it ?
    thanks in advance<HR></BLOCKQUOTE>
    null

  • File "E:\sandip\programs\IDS_Server\build\web\abstractsubmission.jsp" not f

    Hi everybody.
    I am using struts1.2.9. Please solve my problem.
    AbstractSubmissionAction class
    saveErrors(request,errors);
    if(errors.isEmpty()){
    return mapping.findForward(SUCCESS);
    return mapping.findForward("failure");
    struts file
    <action input="/abstractsubmission.jsp" name="abstractSubmissionForm" path="/abstractsubmission"
    scope="request" type="struts.action.AbstractSubmissionAction" validate="true">
    <forward name="success" path="/abstactloggedin.jsp"/>
    <forward name="failure" path="/abstractsubmission.jsp"/>
    </action>
    After run, browser shows
    HTTP Status 404 -
    type Status report
    message
    description The requested resource () is not available.
    server log
    File "E:\sandip\programs\IDS_Server\build\web\abstractsubmission.jsp" not found
    Message was edited by:
    SandipGaikwad

    According to your suggestion, it throws java.lang.IllegalArgumentException: Path abstractsubmission.jsp does not start with a "/" character
    struts-config.xml file
    <struts-config>
    <form-beans>
    <form-bean name="abstractLoginForm" type="org.apache.struts.validator.DynaValidatorForm">
    <form-property name="username" type="java.lang.String"/>
    <form-property name="password" type="java.lang.String"/>
    </form-bean>
    <form-bean name="abstractUserRegistrationForm" type="org.apache.struts.validator.DynaValidatorForm">
    <form-property name="title" type="java.lang.String"/>
    <form-property name="firstname" type="java.lang.String"/>
    <form-property name="lastname" type="java.lang.String"/>
    <form-property name="designation" type="java.lang.String"/>
    <form-property name="company" type="java.lang.String"/>
    <form-property name="street" type="java.lang.String"/>
    <form-property name="area" type="java.lang.String"/>
    <form-property name="city" type="java.lang.String"/>
    <form-property name="state" type="java.lang.String"/>
    <form-property name="country" type="java.lang.String"/>
    <form-property name="pin" type="java.lang.Long"/>
    <form-property name="countryCode" type="java.lang.Integer"/>
    <form-property name="cityCode" type="java.lang.Integer"/>
    <form-property name="fax" type="java.lang.Long"/>
    <form-property name="email" type="java.lang.String"/>
    </form-bean>
    <form-bean name="abstractSubmissionForm" type="org.apache.struts.validator.DynaValidatorForm">
    <form-property name="title1" type="java.lang.String"/>
    <form-property name="firstname1" type="java.lang.String"/>
    <form-property name="lastname1" type="java.lang.String"/>
    <form-property name="title2" type="java.lang.String"/>
    <form-property name="firstname2" type="java.lang.String"/>
    <form-property name="lastname2" type="java.lang.String"/>
    <form-property name="abstracttitle" type="java.lang.String"/>
    <form-property name="theFile" type="org.apache.struts.upload.FormFile"/>
    </form-bean>
    </form-beans>
    <global-exceptions>
    </global-exceptions>
    <global-forwards>
    </global-forwards>
    <action-mappings>
    <action
    input="/abstractlogin.do"
    name="abstractLoginForm"
    path="/abstractlogin"
    scope="session"
    type="struts.action.AbstractLoginAction"
    validate="true"
    >
    <forward name="success" path="/abstactloggedin.jsp"/>
    <forward name="failure" path="/abstractlogin.jsp"/>
    </action>
    <action
    input="/abstractuserregistration.jsp"
    name="abstractUserRegistrationForm"
    path="/abstractuserregistration"
    scope="session"
    type="struts.action.AbstractUserRegistrationAction"
    validate="true"
    >
    <forward name="success" path="/abstractregistrationsuccess.jsp"/>
    <forward name="failure" path="/abstractuserregistration.jsp"/>
    </action>
    <action input="/abstractsubmission.jsp" name="abstractSubmissionForm" path="/abstractsubmission"
    scope="request" type="struts.action.AbstractSubmissionAction" validate="true">
    <forward name="success" path="/abstactloggedin.jsp"/>
    <forward name="failure" path="/abstractsubmission.jsp"/>
    </action>
    <action forward="/abstactsubmission.jsp" path="/AbstractSubmission"/>
    <action
    forward="/abstractlogin.jsp"
    path="/AbstractLogin"
    />
    <action
    forward="/abstractuserregistration.jsp"
    path="/AbstractUserRegistration"
    />
    </action-mappings>
    <controller processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>
    <message-resources parameter="com/myapp/struts/ApplicationResource"/>
    <!-- ========================= Tiles plugin ===============================-->
    <!--
    This plugin initialize Tiles definition factory. This later can takes some
    parameters explained here after. The plugin first read parameters from
    web.xml, thenoverload them with parameters defined here. All parameters
    are optional.
    The plugin should be declared in each struts-config file.
    - definitions-config: (optional)
    Specify configuration file names. There can be several comma
    separated file names (default: ?? )
    - moduleAware: (optional - struts1.1)
    Specify if the Tiles definition factory is module aware. If true
    (default), there will be one factory for each Struts module.
    If false, there will be one common factory for all module. In this
    later case, it is still needed to declare one plugin per module.
    The factory will be initialized with parameters found in the first
    initialized plugin (generally the one associated with the default
    module).
    true : One factory per module. (default)
    false : one single shared factory for all modules
    - definitions-parser-validate: (optional)
    Specify if xml parser should validate the Tiles configuration file.
    true : validate. DTD should be specified in file header (default)
    false : no validation
    Paths found in Tiles definitions are relative to the main context.
    -->
    <plug-in className="org.apache.struts.tiles.TilesPlugin" >
    <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />
    <set-property property="moduleAware" value="true" />
    </plug-in>
    <!-- ========================= Validator plugin ================================= -->
    <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property
    property="pathnames"
    value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
    </plug-in>
    <!-- ========================= Hibernate plugin ================================= -->
    <plug-in className="struts.plugin.HibernatePlugin">
    <set-property
    property="path"
    value="/hibernate.cfg.xml"/>
    </plug-in>
    </struts-config>
    AbstractSubmissionAction
    public class AbstractSubmissionAction extends Action {
    private ActionMessages errors;
    /* forward name="success" path="" */
    private final static String SUCCESS = "success";
    * This is the action called from the Struts framework.
    * @param mapping The ActionMapping used to select this instance.
    * @param form The optional ActionForm bean for this request.
    * @param request The HTTP Request we are processing.
    * @param response The HTTP Response we are processing.
    * @throws java.lang.Exception
    * @return
    public ActionForward execute(ActionMapping mapping, ActionForm form,
    HttpServletRequest request, HttpServletResponse response)
    throws Exception {
    errors=new ActionMessages();
    SessionFactory factory=null;
    Session session=null;
    String SQL_QUERY;
    Query query;
    DynaValidatorForm dForm=(DynaValidatorForm)form;
    //get file name
    FormFile myFile=(FormFile)dForm.get("theFile");
    String fileName=myFile.getFileName();
    int fileSize=myFile.getFileSize();
    byte[] data=myFile.getFileData();
    if(myFile.getContentType().equals("application/msword")){
    System.out.println("Valid Micrsoft Word file");
    try{
    factory=(SessionFactory)servlet.getServletContext().getAttribute(HibernatePlugin.KEY_NAME);
    session=factory.openSession();
    Transaction transaction=session.beginTransaction();
    //get the server upload directory real path
    String filePath=getServlet().getServletContext().getRealPath("/");
    //save file on the server
    if(!fileName.equals("")){
    System.out.println("Server path:= "+filePath);
    //create file
    File fileToCreate=new File(filePath,fileName);
    //if file does not exist create the file
    if(!fileToCreate.exists()){
    FileOutputStream fileOutputStream=new FileOutputStream(fileToCreate);
    fileOutputStream.write(myFile.getFileData());
    fileOutputStream.flush();
    fileOutputStream.close();
    //get form information
    String title1=(String)dForm.get("title1");
    String firstname1=(String)dForm.get("firstname1");
    String lastname1=(String)dForm.get("lastname1");
    String title2=(String)dForm.get("title2");
    String firstname2=(String)dForm.get("firstname2");
    String lastname2=(String)dForm.get("lastname2");
    String abstracttitle=(String)dForm.get("abstracttitle");
    //get AbstractUserInfoPojo from request
    Cookie[] cookies=request.getCookies();
    long id=Long.parseLong(cookies[0].getValue());
    AbstractUserInfoPojo abstractUserInfoPojo=(AbstractUserInfoPojo)session.get(AbstractUserInfoPojo.class,id);
    AbstractDetailsPojo abstractDetailsPojo=new AbstractDetailsPojo();
    abstractDetailsPojo.setId(id);
    abstractDetailsPojo.setTitle1(title1);
    abstractDetailsPojo.setFirstname1(firstname1);
    abstractDetailsPojo.setLastname1(lastname1);
    abstractDetailsPojo.setTitle2(title2);
    abstractDetailsPojo.setFirstname2(firstname2);
    abstractDetailsPojo.setLastname2(lastname2);
    abstractDetailsPojo.setAbstracttitle(abstracttitle);
    abstractDetailsPojo.setAbstractfilename(fileName);
    abstractDetailsPojo.setAbstractUserInfoPojo(abstractUserInfoPojo);
    abstractUserInfoPojo.setAbstractDetailsPojo(abstractDetailsPojo);
    //save information
    session.save(abstractDetailsPojo);
    session.update(abstractUserInfoPojo);
    //commit the changes
    transaction.commit();
    //pass abstractUserInfoPojo to request
    request.setAttribute("abstractUserInfo",abstractUserInfoPojo);
    }else{
    System.out.println("File already exists");
    }catch(IOException ioe){
    System.out.println("==========IOException :-=============");
    ioe.printStackTrace();
    System.out.println("================================================");
    }catch(SQLGrammarException sge){
    System.out.println("==========SQL Grammer Exception :-=============");
    System.out.println("1> SQL Query= "+sge.getSQL());
    System.out.println("2> Error Code= "+sge.getErrorCode());
    System.out.println("3> SQL State= "+sge.getSQLState());
    SQLException sqe=sge.getSQLException();
    System.out.println("4> Message= "+sqe.getMessage());
    sge.printStackTrace();
    System.out.println("================================================");
    catch (HibernateException e) {
    System.out.print("Hibernate Error");
    e.printStackTrace();
    } finally {
    session.close();
    }else{
    System.out.println("Not a Valid Micrsoft Word file");
    errors.add("Not a Word File",new ActionMessage("errors.abstractfilename"));
    saveErrors(request,errors);
    if(errors.isEmpty()){
    return mapping.findForward(SUCCESS);
    return mapping.findForward("failure");
    }

  • Automation server can't create object when calling a jsp from a button

    Hello,
    I have created the following jsp that allow me to execute an external program that is located on the client side:
    <script language="JavaScript" type="text/javascript">
    <!--
    function execAppli(app)
    var wshShell = new ActiveXObject("WScript.Shell");
    wshShell.Run(app+".exe", 1, true);
    -->
    </script>
    If I call this jsp in a simple html page is works correctly when i call it from a button in apex (3.0) I got the error message Automation server can't create object.
    Any idea ?
    Thanks,
    Claude-Alain

    Hi Claude,
    Just be sure that you really (like really) trust your endusers, because I can see some huge opportunities for exploiting that JavaScript routine you've shown. If you're not taking steps to prevent cross site scripting (search this forum or Google for details on what that is), then it's not beyond the bounds of possibility for someone to do something 'nasty' which would do horrible things to your end users if your executing a program on their client machines without any warning or validation of what that program actually does.
    Sometimes it's best to work backwards from the point of view of....what if you walk into work one morning and find that 400 end users machines have had their hard-drives wiped because the script arbitrarily executes whatever command you pass to it? Then you can perhaps see that what sometimes looks like a good idea might not be such a good idea after all ;)

  • EBS R12.1.3 with Apex 4.1.1 Calling a JSP

    I am running Apex 4.1.1 using EBS 12.1.3. THe EBS instance is a two tier system (web/application server on a different machine to the database). A glassfish server has been installed on the same server as EBS web server(same linux owner for both) and the Apex listner is running inside glassfish.
    I am wanting to call a JSP(located on the web) server from Apex, to get a list of files from a given directory(on the web server) and display the files in the browser using using apex. In other word, a user click on a button/tab... it runs a JSP that returns a list of the files in a given directory and displays them in a tabular format within Apex.
    Can this be done, if so how ?
    Thanks

    Hi Pete,
    I'm working on integrating EBS R12 and APEX 4.1.1, I had followed the Extending Oracle E-Business Suite Release 12 using Oracle Application Express white paper. In the white paper its said that Create Authentication Scheme From scratch, but there is no option to create application scheme from the scratch,but the page showing like this
    When you create a new authentication scheme, you have several options. Most let you reuse implementations that already exist in your application or in other applications within your workspace. There are even some pretested schemes you can copy to get you up and running immediately.
    Create Scheme:     
    Based on a pre-configured scheme from the gallery
    As a copy of an existing authentication scheme
    You may create a new authentication scheme by making a copy of one in this application or in another application in your workspace. Then you can edit the new scheme, changing the name to what you prefer and changing any of the settings to meet your requirements.
    Alternately, you may create a new authentication scheme from scratch by stepping through the wizard and specifying all of the parameters.
    How can we create Authentication Scheme using the wizard but there is no option to create via wizard.
    Kindly help me because i had no idea and stuck up at this point, is any document you have kindly share with me it would be grateful...
    Thanks,
    Karthik

  • PL/SQL: Could not find program unit being called: mydb.pkg_alert (newbie)

    This is my first attempt at a pretty in debt package. All the procedures and functions work successfully on their own. When i try and put them into a package and run the package, i get these errors?
    ORA-04063: package body "mydb.PKG_ALERT" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "mydb.PKG_ALERT"
    ORA-06512: at line 6
    Here's my package:
    create or replace PACKAGE pkg_alert AS
    FUNCTION fcn_chck_dt(p_date date)
    RETURN VARCHAR2;
    FUNCTION fcn_chck_decline(p_date date)
    RETURN NUMBER;
    PROCEDURE sp_run_alert(p_date date);
    END pkg_monitor;
    Here's my package body code: Your assistance is greatly appreciated:
    create or replace
    PACKAGE BODY PKG_ALERT AS
    FUNCTION fcn_chck_dt(p_date date) return VARCHAR2 is
    --DECLARE
    v_table_name VARCHAR2(35);
         v_string VARCHAR2(1024);
         v_result number;
         v_output VARCHAR2(1024);
    v_date VARCHAR2(100);
    v_dt VARCHAR2(100);
         CURSOR c_table is
              select table_name
              from user_tab_columns
              where COLUMN_NAME = 'date'
              and table_name NOT LIKE '%BIN%';
         BEGIN
    OPEN c_table;
         loop
              FETCH c_table into v_table_name;
              exit when c_table%NOTFOUND;
              v_string:='select decode(to_date(max(date),''yyyymmdd''),'''||p_date||''',1,0)'|| ' from ' || v_table_name;
    execute immediate v_string into v_result;
    v_date:='select max(date)'|| ' from ' || v_table_name;
    execute immediate v_date into v_dt;
    if v_result=0 then
              v_output:=v_output||CRLF||v_table_name||': '||v_dt;
    end if;
    end loop;
    close c_table;
    return v_output;
    END fcn_chck_dt;
    FUNCTION fcn_chck_decline(p_date date) return NUMBER is
    --DECLARE
         v_dt NUMBER;
         v_active NUMBER;
         v_delta NUMBER;
         v_perc_delta NUMBER;
         v_old_s varchar2(1024);
         v_old_dt number;
         v_string varchar2(1024);
         v_result NUMBER;
         CURSOR c_prev IS
              select date,daily_active,
              daily_active-lag(daily_active) over(order by date),
              trunc(((daily_active-lag(daily_active) over(order by date))/daily_active)*100,2)
              from pop_stats
              where to_date(date,'YYYYMMDD') between p_date-1 and p_date
              order by date desc;
    ---bringing back two rows and all records on purpose.
         BEGIN
              OPEN c_prev;
              FETCH c_prev INTO v_dt,v_active,v_delta,v_perc_delta;
         close c_prev;
         v_old_s := 'select max(date) from alert_stats';
         execute immediate v_old_s into v_old_dt;
         if v_dt!=v_old_dt then
         insert into ALERT_stats(date,
                   daily_active,
                   daily_delta,
                   daily_delta_percent)
                        values(v_dt,
                        v_active,
                        v_delta,
                        v_perc_delta);
              end if;
         v_string:='select value from config_tbl where name=''decline''';
         execute immediate v_string into v_result;
         if v_perc_delta <= v_result then
         return v_perc_delta;
              end if;
         END fcn_chck_decline;
    PROCEDURE sp_run_alert(p_date date) IS
    --DECLARE
    v_result varchar2(1024);
    BEGIN
         insert into ALERT_stats(date)
    values(p_date);
    CRLF char(2) := chr(10)||chr(13);
    v_result :='';
    v_result := v_result||fcn_chck_dt(p_date);
    v_result := v_result||fcn_chck_decline(p_date);
    if v_result.length > 0 then
    utl_mail.send('alerts@localhost','[email protected]',NULL,NULL,
    'Alert','Alert Summary: '||v_result,'text/plain; charset=us-ascii',NULL);
    end if;
    END sp_run_alert;
    END PKG_ALERT;

    Take a look at the bolded sections of your code especialy the last line of your package spec
    create or replace PACKAGE pkg_alert AS
    FUNCTION fcn_chck_dt(p_date date)
    RETURN VARCHAR2;
    FUNCTION fcn_chck_decline(p_date date)
    RETURN NUMBER;
    PROCEDURE sp_run_alert(p_date date);
    END pkg_monitor;

  • Error : ORA-06508: PL/SQL: could not find program unit being called

    Hi
    I got surprise issue while testing my Oracle code . Let me explain first the environment detail . Our appliaction built on
    Java/J2EE(Weblogic) and backend is Oracle 11g re2 . While calling from java it call thru different user which have been provide
    synonym and exectue option for corresponding procdure ,
    I created on package EXTRACT_CUSTOMER_INFO_PK which will exract data to text file using UTL_FILE ( direcory , UTL_FILE grant is provided to DB user).
    Now this package has been called from rp_execute_procedure_pr -- Here I is the code
    CREATE OR REPLACE PROCEDURE RP_EXECUTE_PROCEDURE_PR
    i_atlas_job_schedule_fk IN atlas_job_schedule.atlas_job_schedule_pk%TYPE,
    i_job_id IN atlas_job.job_id%TYPE,
    i_parm_value IN atlas_job_schedule.parm_value%TYPE,
    o_status_code OUT NUMBER,
    o_status_mesg OUT VARCHAR2
    IS
    -------Other old code which is not relevent for this issue ----
    --------Other old code which is not relevent for this issue ----
    ----Below code I added ----
    ELSIF l_job_id = 'CUST_EXTRACT' THEN
    EXTRACT_CUSTOMER_INFO_PK.customer_report ( i_parm_value ,
                   o_status_code,
    o_status_mesg ) ;
    -- o_status_code := -99999999;
    --o_status_mesg := 'PARTHA PARTHA PARTHAcess terminated!';
    ELSE
    o_status_code := -20300;
    o_status_mesg := 'Job Id : ' || l_job_id || ' NOT found. Process terminated!';
    END IF;
    update_log_auto
    ajs_rec.atlas_job_schedule_pk ,
    'Processing End Time (GMT): '
    EXCEPTION
    WHEN eProcError THEN
    o_status_code := SQLCODE;
    o_status_mesg := SUBSTR(vMsg ||'-'||SQLERRM, 1, 200);
    WHEN OTHERS THEN
    o_status_code := -20300;
    o_status_mesg := SUBSTR(SQLERRM, 1, 200);
    update_log_auto
    ajs_rec.atlas_job_schedule_pk ,
    'Error : '||SQLERRM||' '
    update_log_auto
    ajs_rec.atlas_job_schedule_pk,
    'Processing End Time (GMT): '
    END RP_EXECUTE_PROCEDURE_PR;
    Now It compiled sucesfully . And while I did SIT then RP_EXECUTE_PROCEDURE_PR run fine and extracted txt file . But while I called it from Java procedure It gives us error like
    Error : ORA-06508: PL/SQL: could not find program unit being called 02-AUG-2012 13:16:51.
    As I told RP_EXECUTE_PROCEDURE_PR old proc and used by other proc , So I first suspect issue is newly added code or may be some grant or synonym ( Although it should not be )
    so I created public synony amd gave execute grant to my pkg to public .
    But it repeat same error .
    I did lot of R&D on my pkg but nothing happen . Finally I remane my new pkg RP_EXTRACT_CUSTOMER_INFO_PK and it works fine
    I need to know what is the RCA for it . I donot think any dependecy issue as renaming pkg is working fine .
    NB my DB user is iATLAS and Javauser is SUDEEP
    Thanks in Advance
    Debashis Mallick

    First of all If i run the main procedure in like below in my Schema it is working fine
    begin
    -- Call the procedure
    rp_execute_procedure_pr(i_atlas_job_schedule_fk => :i_atlas_job_schedule_fk,
    i_job_id => :i_job_id,
    i_parm_value => :i_parm_value,
    o_status_code => :o_status_code,
    o_status_mesg => :o_status_mesg);
    end;
    So thre is no question of parameter .... or Invalid state etc . If it is parameter or Invalid state issue it will give other error.
    Here problem is not syntax issue .
    let me give u more detail regards this issue
    1.. All objects corresponding to procedure all Valid
    2.. If I test on the proc on my schema like above code . It works fine
    3.rp_execute_procedure_pr is a old procudere which called for differner report generartion based on parameter passing . Also as extract_customer_info_pk called with in rp_execute_procedure_pr So there is no question of synonym or privilage issue for new procedure.
    4. Suprising thing is if I rename and recreate package like extract_customer_info_pk _1 or rp_extract_customer_info_pk . Which are exactly same as extract_customer_info_pk and replace those new one with extract_customer_info_pk then it work fine in my java application
    I think I make it clear the issue
    Edited by: debashisora on Aug 3, 2012 5:31 AM
    Edited by: debashisora on Aug 3, 2012 5:40 AM

  • Is it possible to call a JSP page from a badge reader ?

    Hi all,
    a customer of mine asked me something really special.
    He has a badge reader, so when a person pass its badge in the reader it must be triggered an event to call a JSP page.
    The JSP page must contain some personal data of the person who used the badge on the reader.
    Any idea ?
    Cheers.
    warx

    With Adobe Acrobat yes - but not with the free Adobe Reader.

  • Calling a JSP Report From HTML parameter form

    Hi,
    I m trying to run a JSP Report from a HTML parameter Form. The JSP reports requires a parameter named userid in the URL with a valid value for database connection.
    eg. URL "http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_crdinf.jsp?userid=sysapps/system@trt1". We have created a variable on the server named "parmformjsp" with a value "sysapps/system@trt1". Now i use this variable in the URL as follows, eg. "http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_crdinf.jsp?parmformjsp".
    When i use this URL to call another JSP report from a JSP report it works fine, but the same does not work when calling a JSP report from a HTML form.
    the code for HTML parameter form calling a report is as follows,
    <html>
    <head>
    <meta http-equiv="Content-Language" content="en-us">
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Parameter Form</title>
    </head>
    <body>
    <p>Parameter Form</p>
    <form name="form1" method="GET"
    action="http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_custrns.jsp?parmformjsp">
    <p>From Date<input type="text" name="p_fmdate" size="20"></p>
    <p>To Date<input type="text" name="p_todate" size="20"></p>
    <p> </p>
    <p><input type="submit" ><input type="reset" value="Reset" name="B2"></p>
    </form>
    <p> </p>
    </body>
    </html>
    If i create an input parameter named "userid" with a valid database connection value, remove the ?parmformjsp part from the action URL then it works fine. How can i call the JSP report using the parmformjsp variable name instead of using the "userid" clause in the URL.Can anyone suggest any workaround....
    Thanks & Best Regards,
    Unmesh

    do it like this...
    DECLARE
    pl_id ParamList := Get_Parameter_List('tmpdata');
    BEGIN
    IF NOT Id_Null(pl_id) THEN
      Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id, 'ROUTE_CARD_CONTROL', TEXT_PARAMETER, :ROUTE_CARD.ROUTE_CARD_CONTROL);
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    Run_Product(REPORTS, 'D:\STL_FINAL\CHPREPORTS_FINAL\ROUTE_CARD.REP', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
    END; what exactly happens when you call the report. if its showing the blank page... may be you are not passing the right parameter name. cross-check that your parameter name in the report is 'ROUTE_CARD_CONTROL'.

  • How to call a jsp page from oaf and run in jDeveloper

    Hi all,
    I created sample jsp and then tried.
    String temp = "sample.jsp?";
    pageContext.setForwardURL(temp,
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    It worked.
    But when i tried with one of the custom page that i downloaded from server it is giving error.
    But now i need to call that page.
    Its Code is given on below link:
    Re: how to call a jsp page from oaf
    Please help me to do this.
    Thanks in advance.
    Regards,
    Raj

    Raj,
    1. Hope you have placed the custom jsp page (which you have downloaded from server) under "jdevhome\jdev\myhtml\OA_HTML" directory ?
    2. Try to run the custom jsp page from Jdeveloper directly and check whether its working properly or not ?
    (i.e. add jsp page to any project in Jdeveloper then right click on jsp page and select Run xxx.jsp)
    3. If page errors out then custom jsp page seems require few parameters to run it successfully. Pass all requied parameters and test.
    4. There is no problem in the way you are calling jsp page from OAF page.
    regards,
    Anand

  • How to call a JSP page from Applications menu?

    Hi partners,
    I am still looking for "how to call a JSP page from Applications menu?", I mean instead of calling a form, I want to call a JSP page which is staying in a OC4J repository which is located in another server.
    Any idea will be really appreciated.
    Thanks in advance.
    Frank Mtz.

    Hi Frank,
    if u know the solution please share it with me. i'm looking for the same scenario.
    thanks in advance,
    anish

  • How to call a .jsp file from Applet

    Could any one guide me how to call a .jsp file from a Applet using action Event.
    Thanks

    http://javaalmanac.com/cgi-bin/search/find.pl?words=URL+post

  • 11.5.10.2 to R12.1.1 upgrade: Error loading seed data for GL_DEFAS_ACCESS_SETS:  DEFINITION_ACCESS_SET = SUPER_USER_DEFAS,  ORA-06508: PL/SQL: could not find program unit being called

    Hello,
    EBS version : 11.5.10.2
    DB version : 11.2.0.3
    OS version : AIX 6.1
    As a part of 11.5.10.2 to R12.1.1 upgrade, while applying merged 12.1.1 upgrade driver(u6678700.drv), we got below error :
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ATTENTION: All workers either have failed or are waiting:
               FAILED: file glsupdas.ldt on worker  3.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>tail -20 adwork003.log
    Restarting job that failed and was fixed.
    Time when worker restarted job: Wed Aug 07 2013 10:36:14
    Loading data using  FNDLOAD function.
    FNDLOAD APPS/***** 0 Y UPLOAD @SQLGL:patch/115/import/glnlsdas.lct @SQLGL:patch/115/import/US/glsupdas.ldt -
    Connecting to APPS......Connected successfully.
    Calling FNDLOAD function.
    Returned from FNDLOAD function.
    Log file: /fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log/US_glsupdas_ldt.log
    Error calling FNDLOAD function.
    Time when worker failed: Wed Aug 07 2013 10:36:14
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>tail -20 US_glsupdas_ldt.log
    Current system time is Wed Aug  7 10:36:14 2013
    Uploading from the data file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt
    Altering database NLS_LANGUAGE environment to AMERICAN
    Dumping from LCT/LDT files (/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0), /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt) to staging tables
    Dumping LCT file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0) into FND_SEED_STAGE_CONFIG
    Dumping LDT file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt into FND_SEED_STAGE_ENTITY
    Dumped the batch (GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS , GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS ) into FND_SEED_STAGE_ENTITY
    Uploading from staging tables
      Error loading seed data for GL_DEFAS_ACCESS_SETS:  DEFINITION_ACCESS_SET = SUPER_USER_DEFAS,  ORA-06508: PL/SQL: could not find program unit being called
    Concurrent request completed
    Current system time is Wed Aug  7 10:36:14 2013
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    Below is info about file versions and INVALID packages related to GL.
    PACKAGE BODY GL_DEFAS_ACCESS_SETS_PKG is invalid with error component 'GL_DEFAS_DBNAME_S' must be declared.
    I can see GL_DEFAS_DBNAME_S is a VALID sequence accessible by apps user with or without specifying GL as owner.
    SQL> select text from dba_source where name in ('GL_DEFAS_ACCESS_DETAILS_PKG','GL_DEFAS_ACCESS_SETS_PKG') and line=2;
     TEXT
    /* $Header: glistdds.pls 120.4 2005/05/05 01:23:16 kvora ship $ */
    /* $Header: glistddb.pls 120.16 2006/04/10 21:28:48 cma ship $ */
    /* $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ */
    /* $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ */ 
    SQL> select * from all_objects where object_name in ('GL_DEFAS_ACCESS_DETAILS_PKG','GL_DEFAS_ACCESS_SETS_PKG')
      2 ; OWNER OBJECT_NAME SUBOBJECT_NAM OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS T G S NAMESPACE
    EDITION_NAME
    APPS GL_DEFAS_ACCESS_DETAILS_PKG 1118545 PACKAGE 05-AUG-13 05-AUG-13 2013-08-05:18:54:51 VALID N N N 1 
    APPS GL_DEFAS_ACCESS_SETS_PKG 1118548 PACKAGE 05-AUG-13 06-AUG-13 2013-08-05:18:54:51 VALID N N N 1 
    APPS GL_DEFAS_ACCESS_SETS_PKG 1128507 PACKAGE BODY 05-AUG-13 06-AUG-13 2013-08-06:12:56:50 INVALID N N N 2 
    APPS GL_DEFAS_ACCESS_DETAILS_PKG 1128508 PACKAGE BODY 05-AUG-13 05-AUG-13 2013-08-05:19:43:51 VALID N N N 2 
    SQL> select * from all_objects where object_name='GL_DEFAS_DBNAME_S'; OWNER OBJECT_NAME SUBOBJECT_NAM OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS T G S NAMESPACE
    EDITION_NAME
    GL GL_DEFAS_DBNAME_S 1087285 SEQUENCE 05-AUG-13 05-AUG-13 2013-08-05:17:34:43 VALIDN N N 1 
    APPS GL_DEFAS_DBNAME_S 1087299 SYNONYM 05-AUG-13 05-AUG-13 2013-08-05:17:34:43 VALIDN N N 1 
    SQL> conn apps/apps
    Connected.
    SQL> SELECT OWNER, OBJECT_NAME, OBJECT_TYPE, STATUS
    FROM DBA_OBJECTS
    WHERE OBJECT_NAME = 'GL_DEFAS_ACCESS_SETS_PKG'; 2 3 OWNER OBJECT_NAME OBJECT_TYPE STATUS
    APPS GL_DEFAS_ACCESS_SETS_PKG PACKAGE VALID
    APPS GL_DEFAS_ACCESS_SETS_PKG PACKAGE BODY INVALID SQL> ALTER PACKAGE GL_DEFAS_ACCESS_SETS_PKG COMPILE; Warning: Package altered with compilation errors. SQL> show error
    No errors.
    SQL> ALTER PACKAGE GL_DEFAS_ACCESS_SETS_PKG COMPILE BODY; Warning: Package Body altered with compilation errors. SQL> show error
    Errors for PACKAGE BODY GL_DEFAS_ACCESS_SETS_PKG: LINE/COL ERROR
    39/17 PLS-00302: component 'GL_DEFAS_DBNAME_S' must be declared 
    drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>cat $GL_TOP/patch/115/sql/glistdab.pls|grep -n GL_DEFAS_DBNAME_S
    68: SELECT GL.GL_DEFAS_DBNAME_S.NEXTVAL
    81: fnd_message.set_token('SEQUENCE', 'GL_DEFAS_DBNAME_S');
    SQL> show user
    USER is "APPS"
    SQL> SELECT GL.GL_DEFAS_DBNAME_S.NEXTVAL
      FROM dual; 2                         -- with GL.
      NEXTVAL
      1002
    SQL> SELECT GL_DEFAS_DBNAME_S.NEXTVAL from dual;               --without GL. or using synonym.
      NEXTVAL
      1003
    drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>strings -a $GL_TOP/patch/115/sql/glistdab.pls|grep '$Header'
    REM | $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ |
    /* $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ */
    drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>strings -a $GL_TOP/patch/115/sql/glistdas.pls |grep '$Header'
    REM | $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ |
    /* $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ */

Maybe you are looking for