Running OAS plsql toolkit in HTML DB

Hi, we currently have a lot of code written using the OAS plsql toolkit, running on an Oracle 8.1.6 database. These are primarily pages that are hosted on the internet.
I was wondering could be migrate this plsql code to Oracle 10G, dispense with the now outdated OAS altogether and use the new features of HTML DB to run the plsql pages, without really any alteration.
Does Oracle 10G allow us to put these pages onto the web using the Apache listener.
Has anyone else done this?

You can't "run" the PL/SQL pages with HTML DB. What you will find is that you can throw away 90% of your code used for UI and keep the queries used for reports and any SQL or PL/SQL used for DML.
HTML DB will handle all of the UI, session state, report sorting and pagination, and form fields. I strongly encourage you (if you have not already) to write a few reports and play with the built-in column-heading sorting, pagination, and templates before you start this process. The reason I say this is that time after time, I see people faced with your exact task trying to hold on to their pl/sql htp.p's for reports. It takes them a while to see the light, and when they do, they wonder why they've been fighting it.
asktom.oracle.com and think.com both went through this. It's amazing how much more you can focus on the content of the app and adding new functionality when you don't have to worry about the stuff HTML DB takes care of for you. Just try it out on htmldb.oracle.com, you'll get what I'm saying in no time.
Good luck,
Tyler

Similar Messages

  • Oracle8i and Oas 4081 - PLSQL TOOLKIT - Urgent Please help.

    Hi ,
    I installed Oracle 8i and Oas4081 on different ORACLE_HOME on the Linux 6.1 . When I tried to install the PLSQL toolkit it giving me an Oracle Database error 63744.
    But I am enabled the sql_trace and I found OAS is successfully connecting to Oralce8i database, but it failing for some reason.
    Do we need to do anything special on Oracle 8i side to install the PLSQL toolkit ..??
    .Please help ...
    Thanks in advance ..
    kkumar

    Is this what you're looking for?
    Usage Notes
    If the input data or key given to the DES3DECRYPT procedure is empty, then the procedure raises the error ORA-28231 "Invalid input to Obfuscation toolkit."
    If the input data given to the DES3DECRYPT procedure is not a multiple of 8 bytes, the procedure raises the error ORA-28232 "Invalid input size for Obfuscation toolkit." ORA-28233 is NOT applicable for the DES3DECRYPT function.
    If the key length is missing or is less than 8 bytes, then the procedure raises the error ORA-28234 "Key length too short." Note that if larger keys are used, extra bytes are ignored. So a 9-byte key will not generate an exception.
    C.

  • Error in "Run Java migration toolkit", doing a SAP system copy.

    Hi all,
    Migration to new hardware with system copy, get an error in CI installation on "Run Java Migration Toolkit".
    From the sapinst.log:
    ERROR 2009-05-13 12:46:47.188
    FJS-00003  TypeError: ci.getInstanceDir() has no properties (in script NW_Doublestack_CI|ind|ind|ind|ind, line 120276: ???)
    ERROR 2009-05-13 12:46:48.318
    FCO-00011  The step InitPrivateContext with step key |NW_Doublestack_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|12|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|NW_RUN_MIGRATION_CONTROLLER|ind|ind|ind|ind|2|0|InitPrivateContext was executed with status ERROR .
    From the sapinst_dev.log:
    ERROR      2009-05-13 12:46:47.188 [iaxxejsbas.cpp:204]
    FJS-00003  TypeError: ci.getInstanceDir() has no properties (in script NW_Doublestack_CI|ind|ind|ind|ind, line 120276: ???)
    TRACE      2009-05-13 12:46:48.038 [syuxctask.cpp:1382]
               CSyTaskImpl::start(bool)
    A child process has been started. Pid = 23620
    ERROR      2009-05-13 12:46:48.318 [sixxcstepexecute.cpp:951]
    FCO-00011  The step InitPrivateContext with step key |NW_Doublestack_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|12|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|NW_RUN_MIGRATION_CONTROLLER|ind|ind|ind|ind|2|0|InitPrivateContext was executed with status ERROR .
    TRACE      2009-05-13 12:46:48.368 [iaxxgenimp.cpp:752]
                CGuiEngineImp::showMessageBox
    <html> <head> </head> <body> <p> An error occurred while processing service SAP NetWeaver 7.0 Support Release 3 > Software Life-Cycle Options > System Copy > Oracle > Target System Installation > High-Availability System > Based on AS ABAP and AS Java > Central Instance . You may now </p> <ul> <li> choose <i>Retry</i> to repeat the current step. </li> <li> choose <i>View Log</i> to get more information about the error. </li> <li> stop the task and continue with it later. </li> </ul> <p> Log files are written to /tmp/sapinst_instdir/NW04S/LM/COPY/ORA/SYSTEM/HA/AS/CI. </p> </body></html>
    TRACE      2009-05-13 12:46:48.368 [iaxxgenimp.cpp:1255]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    I had checked the INSTANCE_NAME parameter, in every profile, and is ok.
    I tried a new instalation, after importing the profiles, and checking the INSTANCE_NAME, but got the same error.
    Please, advice.
    Thanks in advance.
    Best Regards.
    Jorge

    Thanks Manoj for your advice.
    We had already checked the procedures, we are working based on the System Copy Guide: "System Copy for SAP Systems Based on SAP NetWeaver 7.0 SR3 ABAP+Java".
    I had to mention that source and target systems are HP-UX, 11.23, Itanium and the DataBase is Oracle 10.2.02.
    The copy was made from a Central System (ABAP + Java) to a High-Availability System (ABAP + Java), and the problem appeared when copying the Central Instance.
    Thanks in adavance.
    Regards.
    Jorge

  • [급]9iAS에서 plsql toolkit을 이용하여 procedeure 작성문제

    * 질문한 사람 : kbhwa
    * 질문 등록일 : 2001-09-03 20:02:02
    * 조회 : 47554
    * 답변 : 1건 (junee)
    -- 질문 내용 --
    OAS에서는
    PROCEDURE cosy2101
    num_entries IN NUMBER,
    name_array IN OWA.vc_arr,
    value_array IN OWA.vc_arr,
    reserved IN OWA.vc_arr
    ) IS
    begin
    end
    와 같이 작성하여 브라우저에서 호출하게 되면 잘 작동이 됩니다.
    그러나 9IAS 1.0.2.2 에서 동일하게 작성후 브라우저에서 호출을 하게 되면 '페이지를 찾을 수 없습니다.'라는 메시지만 나타남니다.
    물론 PLSQL toolkit은
    $ORACLE_HOME/Apache/modplsql/owa/owaload.sql script를 실행하였구요.
    PL/SQL Gateway configuration 도 정상적으로 설정이 되어 있습니다.
    파라메터의 owa.vc_arr 부분을 그냥 VARCHAR2로 바꾸면 잘 실행이 됩니다.
    무엇이 문제인지요?
    -- 답변 내용 --
    1. junee 님의 답변
    oas에서는
    http://<;host>/<virtual_path>/flex_param?x=1&y=2
    으로 가능하였으나,
    9iAS에서는
    http://<;host>/<virtual_path>/!flex_param?x=1&y=2
    으로 사용하셔야 합니다.
    아래 문서를 참고하세요
    flex_param procedure
    =====================
    create or replace procedure flex_param
    (num_entries in number,
    name_array in owa.vc_arr,
    value_array in owa.vc_arr,
    reserved in owa.vc_arr)
    is
    begin
    htp.htmlOpen;
    htp.headOpen;
    htp.title('Unmatched query string example');
    htp.headClose;
    htp.bodyOpen;
    htp.header(1, 'Unmatched query string example');
    htp.p('Query string has '|| num_entries || ' name-value pairs.');
    htp.dlistopen;
    for counter in 1..num_entries loop
    htp.dlistTerm(name_array(counter));
    htp.dlistDef(value_array(counter));
    end loop;
    htp.dlistClose;
    htp.bodyClose;
    htp.htmlClose;
    end;

  • Anyone know a tool to convert PLSQL comments into HTML/other formats?

    Hi - does anyone know if there's a tool out there to convert PLSQL comments into HTML or other formats like you can do in Java? Thanks in advance - Jon

    This is only useful if you're using PL/SQL Developer. It has a free plugin called plsqldoc which will generate html pages that are similar to Javadoc pages.
    check here for more information
    http://www.allroundautomations.nl/plsqldevplugins.html
    As an aside , if you haven't already, you may want to devise a way of auto generating your HTML when a change is made or by running a regular batch job. This will ensure that your docs are in sync with the code. Documentation is only valuable if it is kept up to date.
    There is nothing worse than looking at the html docs for a package only to realise the docs are several versions behind the code.

  • Is it possible to run OAS 10.1.2  with JDK 1.6 ???

    Well on the one hand we have Oracle ADF BC application that was developed with JDeveloper 10.3.4 and runs fine on OAS 10.1.2 JDK 1.4 on the other hand we have a 3rd party Map Server (servlet + java code) that is black box and only runs on JDK 1.6 because it needs JDK 1.6 features.
    Currently the only available course of going forward is to introduce a new open source 1.6 compliant server to run the Map Server and use AJAX to cross domain communicate the two. Client would like to avoid this, would like one application on one server.
    Restrictions are
    1) To get the Map Server in JDK 1.4 format is not an option and
    2) Upgrading to a Oracle Server that is JDK 1.6 and supports the ADF BC application is not an option. And not sure if OAS 11 can run the ADF BC application since I did a quick test by trying to compile the ADF BC application JDeveloper 10.3.4 code in JDeveloper 11 with out any success.
    So to my question if I could run OAS 10.1.2 JDK 1.6 it might solve the problem before i attempt that I like to ask the ideas of others that might have faced such integration issues before.
    This is urgent any help is welcome by anyone and everyone and especially the Gurus.
    thanks in advanced health and happiness to every one

    AFAIK, Oracle AS 10.1.2 is not certified with JDK 1.5 or higher.
    Oracle AS 10.1.3 is certified with JDK 1.5 and 1.6 on some platforms. (Check metalink.oracle.com -> certify for details)
    Oracle FMW 11.1.1.0.1 (aka WebLogic 10.3 plus JDeveloper 11.1.1.0.1) is certified with JDK 1.6
    Not certified means use it on your own risk - no support.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • PLSQL toolkit with OAM 11gR2

    Hello,
    We're currently using PLSQL toolkit developed applications with Oracle SSO. We're looking to upgrade to OAM in the near future and would like to verify if we can use these PLSQL toolkit applications with OAM. Will this be a problem for us?
    Thanks for any information or insight.
    Ariel

    Colin,
    One more question pertaining to this is
    earlier i was not using any valid host:port combinations in host identifier. it was generic string equal to the the name of host identifier.
    But now after changing servercache to form and modifying the login form to return OAM_REQ, i have to put valid combinations in the host identifier. without that it shown Bad Access Manager error and in the logs:
    [2013-10-29T08:27:41.002-06:00] [oam_server2] [WARNING] [OAM-02073] [oracle.oam.controller] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: c72ab7e1931dad2b:-ad6b939:1420484d41b:-8000-0000000000000014,1:27010] [APP: oam_server#11.1.2.0.0] Error while checking if the resource is protected or not.
    [2013-10-29T08:27:41.003-06:00] [oam_server2] [ERROR] [OAM-04029] [oracle.oam.proxy.oam] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: c72ab7e1931dad2b:-ad6b939:1420484d41b:-8000-0000000000000014,1:27010] [APP: oam_server#11.1.2.0.0] Error in generating AMEvent. Details Event Response status is STATUS_FAIL for GET_AUTHN_SCHEME event. Error code OAM-02073 status fail isExcluded false
    Could you please explain the behaviour.
    Thanks in advance.

  • Run Flash Video Conference in HTML

    Hi! I am newbie in Flash Communication Server... How do I run
    the Video Conference in HTML? I tested it at the website but it is
    not connected...

    Flash MX is really out of date.
    I think it would be advisable to learn AS3 and perhaps have a good reference book available... can't really advise that one is better than another. But Flash AS3 is a very broad topic... if your goal is very focused..Flash Video Conferencing, then you may want to rely more on on-line resources, Forums, and reference material.
    http://www.gotmyidea.com/78377-008-editing-a-flashmeeting-video-replay.php
    http://fmsguru.com/forum/messages.cfm?threadid=F15363BB-A7BB-AAF9-2A5A47F24BD6B20D
    http://www.winsite.com/Web-Development/Web-Design/Flash-Video-Chat/
    other Flash Forums:
    http://board.flashkit.com/board/index.php
    http://www.actionscript.org/forums/index.php3
    but you'll need to work with a streaming media server so be sure to connect with the Red5 Forum I listed earlier as well as
    http://forums.adobe.com/community/flash/flash_media_server
    and
    http://forums.adobe.com/community/flash/flash_media_live_encoder
    Best wishes,
    Adninjastrator

  • Client to run the plsql procedure web page

    Hi,
    From the pc client of windows 98 I want to browse the web page which created by the plsql procedure on the windowsNT OF ORACLE SERVER DATABE 8.0.5 WITH ORACLE APPLICATION SERVER.
    I used the internet explorer from the client but I failed
    But when I browse thru the server it is running.
    How to use the client to run the plsql procedure to display its web page thru the TCP/IP (LAN NETWORK)???

    Hi
    Browsers do not allow you to communicate with the computer except in a very limited way, and accessing files to run them is a definite no, which if you think about it is a sensible approach otherwise there is nothing to stop anyone opening any file/app on a persons computer, (it can be done by getting your user to download and approve the installation of a small 'interface' program, which is what hackers also do to gain control of a computer).
    An alternative may be to create an air of flex app to do this that requires connection to your server in order to play.
    PZ

  • Run a plsql script that is stored in a database in forms

    Hi there is it possible to run a plsql script that is stored in a database as a CLOB with parameter placeholders that will be replaced with the contents that will be inserted in a form? If it's possible how do I do this?
    Regards

    I don't think you can pass a parameter in Francois' example. You probably need a wrapper procedure as explaind by W1zard. So, the question pops up: why can't you create a stored procedure instead of an anonymous block in a clob column? If you do need it, it could look something like:
    Code in the table:
    begin
      insert into emp(empno,ename)
      values (:1, :2);
    end; 
    {code}Wrapper procedure:
    {code:java}
    create or replace procedure call_script(i_empno in number, i_ename in varchar2) as
      v_stmt   varchar2(32000);  -- CLOB is not possible, because execute immediate cannot use it.
    begin
      select replace(script_code,chr(13),chr(10)) 
      into   v_stmt
      from   script_table
      where  script_id = 1;
      execute immediate v_stmt using i_empno, i_ename
    end; 
    {code}
    Edited by: Ino Laurensse on Jan 22, 2009 10:52 AM
    Edited by: Ino Laurensse on Jan 22, 2009 10:58 AM
    (forum had some problems. Old code was posted first)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • OAS 4.0.X: Problems installing PLSQL Toolkit

    After installing Oracle Application Server 4.0.7, which came
    bundled with the latest "beta" version of the JDeveloper 2.0
    Suite,I attempted to install the PL/SQL Toolkit via the OAS
    Utilities Page.
    The connection being attempted is to a remote database:
    "Oracle7 Server Release 7.2.3.0.0",
    utilizing "PL/SQL Release 2.2.3.0.0"
    After entering the connect string and the password for the DBA
    username "sys" on the PL/SQL Toolkit Install Form, and clicking
    on the "Apply" button, several PL/SQL errors were reported during
    the installation process.
    The installation error log follows:
    Installing PL/SQL Packages for User: oas_public ...
    Oracle Server Manager Release 3.0.5.0.0 - Production
    (c) Copyright 1997, Oracle Corporation. All Rights Reserved.
    ORA-12203: TNS:unable to connect to destination
    SVRMGR> SVRMGR> Connected.
    SVRMGR> Statement processed.
    SVRMGR> Statement processed.
    Statement processed.
    Statement processed.
    <stuff deleted from log>
    MGR-00072: Warning: PACKAGE BODY HTP created with compilation
    errors.
    Errors for PACKAGE BODY HTP:
    LINE/COL ERROR
    637/10 PLS-00103: Encountered the symbol "DELETE" when
    expecting one of the fo
    MGR-00072: Warning: PACKAGE BODY OWA created with compilation
    errors.
    Errors for PACKAGE BODY OWA:
    LINE/COL ERROR
    7/38 PLS-00487: Invalid reference to variable 'PARAM_VAL'
    7/18 PL/SQL: Item ignored
    34/19 PLS-00320: the declaration of the type of this
    expression is incomplete
    34/7 PL/SQL: Statement ignored
    <stuff deleted from log >
    Can anyone supply info as to why these errors were generated?
    Could the OAS PL/SQL scripts be revised to eliminate these
    errors?
    Any help would be appreciated.
    --- Bill Angel
    null

    Your PL/SQL is too old.
    You need PL/SQL 8.
    Bill Angel (guest) wrote:
    : After installing Oracle Application Server 4.0.7, which came
    : bundled with the latest "beta" version of the JDeveloper 2.0
    : Suite,I attempted to install the PL/SQL Toolkit via the OAS
    : Utilities Page.
    : The connection being attempted is to a remote database:
    : "Oracle7 Server Release 7.2.3.0.0",
    : utilizing "PL/SQL Release 2.2.3.0.0"
    : After entering the connect string and the password for the DBA
    : username "sys" on the PL/SQL Toolkit Install Form, and clicking
    : on the "Apply" button, several PL/SQL errors were reported
    during
    : the installation process.
    : The installation error log follows:
    : Installing PL/SQL Packages for User: oas_public ...
    : Oracle Server Manager Release 3.0.5.0.0 - Production
    : (c) Copyright 1997, Oracle Corporation. All Rights Reserved.
    : ORA-12203: TNS:unable to connect to destination
    : SVRMGR> SVRMGR> Connected.
    : SVRMGR> Statement processed.
    : SVRMGR> Statement processed.
    : Statement processed.
    : Statement processed.
    : <stuff deleted from log>
    : MGR-00072: Warning: PACKAGE BODY HTP created with compilation
    : errors.
    : Errors for PACKAGE BODY HTP:
    : LINE/COL ERROR
    : 637/10 PLS-00103: Encountered the symbol "DELETE" when
    : expecting one of the fo
    : MGR-00072: Warning: PACKAGE BODY OWA created with compilation
    : errors.
    : Errors for PACKAGE BODY OWA:
    : LINE/COL ERROR
    : 7/38 PLS-00487: Invalid reference to variable 'PARAM_VAL'
    : 7/18 PL/SQL: Item ignored
    : 34/19 PLS-00320: the declaration of the type of this
    : expression is incomplete
    : 34/7 PL/SQL: Statement ignored
    : <stuff deleted from log >
    : Can anyone supply info as to why these errors were generated?
    : Could the OAS PL/SQL scripts be revised to eliminate these
    : errors?
    : Any help would be appreciated.
    : --- Bill Angel
    null

  • Can I run OAS in 64bit Windows 2008?

    I'm going to install the OAS in our 64bit Windows 2008 for evaluation, however, both the x86 and win64 file cannot be installed.
    The following message is prompted when we attempt to install the win64 version:
    The version of this file is not compatible with the version of Windows you're running.  Check your computer's system information to see whether you need an x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
    And the following message is prompted inside a DOS prompt when we attempt to install the x86 version:
    Checking operation system version: must be 5.0, 5.1 or 5.2 .   Actual 6.0    Failed <<<<
    Existing Oracle Universal Installer, log for this session can be found at C:\.......
    We can only install the OAS in a Windows XP workstation, does it mean that we have to use a Windows XP workstation as production server?
    May I know if there has any OAS download for 64bit Windows Server 2008?

    Not exactlly. Maybe it's certified now, but still cannot install.
    According to the update:
    1. Windows 2008 is supported with patchset 10.1.3.4 or higher. Before applying the 10.1.3.4 patchset, customers must first install the base 10.1.3.x products using the following patches:
    . 10.1.3.1.0 SOA requires patch 6712338 (http://updates.oracle.com/download/6712338.html)
    . 10.1.3.2.0 WebCenter requires patch 6971010 (http://updates.oracle.com/download/6971010.html)
    . 10.1.3.x Companion CD requires patch 7129052 (http://updates.oracle.com/download/7129052.html)
    . 10.1.3.x Companion CD ASG Install requires patch 7129469 (http://updates.oracle.com/download/7129469.html)
    . 10.1.3.x Companion CD Failsafe Install requires patch 7191497 (http://updates.oracle.com/download/7191497.html)
    Additional notes for Windows 2008:
    . The patches listed above apply to both 32 and 64 bit versions of Windows 2008.
    . Please review the release notes on http://download.oracle.com/docs/cd/E12524_01/relnotes.1013/e12523/install.htm#sthref7 for the 10.1.3.4 patch set for known issues for Windows 2008.
    But....
    1. 10.1.3.4 still not avaialble for direct download, you have to download 10.1.3.x then apply the patch. But the download of 10.1.3.x cannot be installed, how can we apply the patch?
    2. You cannot download the patch without Metalink account (maybe, it's not for evaluation at this moment)
    So, it still have to wait until the full package of 10.1.3.4 or above is available for direct download.

  • Report Generation Toolkit Print HTML Problem

    Hi,
    i have a problem printing a html Page at a Costumers PC with the Report Generation Toolkit.
    I use LV 2012 and the Report Generation Toolkit in 32Bit Mode.
    The Target is a Win7 64Bit Machine with IE10 of our Customer with very strong security rules.
    Our Programm generates a HTML Repor which is saved without any problem.
    When i then try to print it with Print Report.vi it doesent work and i get error1 out of the SubVi NI_ReportGenerationCore.lvlibrint HTML Report using IE.vi.
    This Sub.vi simply cant open the HTML Page with the IE.
    I think its the costumers Security Rules that cause the Problem.
    I saw a very strange behavior of the IE.
    When i double click the .html file the IE gets opened and displays the file properly.
    When i then hit the reload button it also gets reloaded.
    When i click in the browsers adress bar and hit enter (Which normaly does a reload) i get an error "Adress Bar, Adresse, access denied".
    And i think that happens in the Sub.vi.
    I talked to some friends an they sad it could be that double clicking and reloding is done with the local user an the clicking and hitting enter reload is maybe the systemuser.
    So i asume that the Sub.vi is also using the systemuser.
    How can i determin which user is used to execute a vi?
    Can i influence the user?
    Has anybody a solution and seen this problem?
    Regards,
    westgate

    If I understand your situation correctly, you are able to use the LabVIEW Report Generation Toolkit to create an HTML report, which you save as an HTML file.  Can you open it in a browser and print it using the browser's Print button?  I've use LabVIEW to generate HTML reports, but have never tried to print the Reports in LabVIEW -- I've always used the "browser route", myself.

  • How to run an applet(in a html file) in the server?

    I am using the jpedal Viewer inmy code, I embedded the applet code
    in a html file , it is running fine, but when I try to run the same Viewer applet in the Server it is throwing an error
    "java.lang.NoClassDefFoundError: org/jpedal/objects/acroforms/DefaultAcroRenderer
         at org.jpedal.PdfDecoder.startup(Unknown Source)
         at org.jpedal.PdfDecoder.<init>(Unknown Source)
         at pdfViewer.PdfApplet.init(PdfApplet.java:199)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)"
    What is the problem ?
    Please suggest solution for it?
    Its urgent

    I am trying to run the Applet in Tomcat server,
    Could you post the code where you invoke the Applet? It sounds like you're saying you're trying to run the Applet as part of your server-side code. The other interpretation is that you are simply accessing the Applet through the browser that happens to be on the machine being used as the server.
    Like I say, post the code that shows how you're trying to use the Applet "on the server".

  • Run applet in browser when html file is stored in different dir.

    I have a SiteSelector.class stored in: "D:\DATA\Java Programmes\Networking\"
    and a SiteSelector.html stored in :"D:\DATA\Java Programmes\Networking\HTML files\"
    Here is a part of the code of SiteSelector.html:
    <applet code= "SiteSelector.class"
    width=500
    height=500
    codebase="D:\\DATA\\Java Programmes\\Networking\\"
    archive=""
    alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason."
    >
    <param name = "title0" value = "Java Home Page">
              <param name = "location0" value = "http://java.sun.com/">
    <param name = "title1" value = "Deitel">
              <param name = "location1" value = "http://www.deitel.com/">
              <param name = "title2" value = "JGuru">
    <param name = "location2" value = "http://www.jGuru.com/">
    <param name = "title3" value = "JavaWorld">
    <param name = "location3" value = "http://www.javaworld.com/">
    Your browser is ignoring the <APPLET> tag!
    </applet>
    Since html file and .class file are stored in different directories so in applet tag I specify absolute url in "codebase = ......" to indicate that the browser should look for .class file in "D:\DATA\Java Programmes\Networking\".
    But when I run the Applet in the browser, nothing happens. But when I copy the html file back to "D:\DATA\Java Programmes\Networking\" and change the codebase = "D:\\...." to codebase = "." It works well. Any one can help me to hanld this problem. I want to run the applet in the browser when the html file is stored in different directory. Thank you.
    Message was edited by:
    beckham12a18
    Message was edited by:
    beckham12a18
    Message was edited by:
    beckham12a18
    Message was edited by:
    beckham12a18

    anyone please help me!!!!

Maybe you are looking for

  • Keep Yoga 3 Pro in Laptop Mode

    I connect my Yoga 3 Pro to a Lenovo USB dock and display to a large monitor at my office desk. When I close the lid, my Yoga changes from Laptop Mode to Tablet Mode. I would like to keep it in Laptop Mode when the lid is closed at work, so that I can

  • HP Deskjet 1510 will not print

    Hi Everyone, I am not really tech savy so please be patient. BEFORE I CONTINUE PLEASE NOTE I HAVE READ OTHER MESSAGES REGARDING THIS TOPIC HOWEVER I AM STILL AT A LOSS. I have purchased a hp deskjet 1510 printer. I am having trouble printing from a w

  • Extended Classic Scenario PPOMA_Purchasing Org and Group

    Hi gurus, We are working with SRM 5.5 and we are having problems with the assignments for the Purchasing organization and Purchasing groups in the PPOMA. In the documentation it says we should have one box for the R3 Purchasing Organization (flagged

  • Data Protection Manager 2012 - Inconsistent when backing up Deduplicated File Server

    Protected Server Server 2012 File Server with Deduplication running on Data drive DPM Server Server 2012 Data Protection Manager 2012 Service Pack 1 We just recently upgraded our DPM server from DPM 2010 to DPM 2012 primarily because it is supposed t

  • Error setting pretrigger samples

    I am having problems acquiring data with pretrigger samples when capturing more than one channel. If I trigger and capture on the same channel (tried 1-4) then it works great, regardless of the number of pre-trigger samples set. If I trigger on chann