How to run form.html from any location i want.

Hi all,
This is my first post.
i have just started to learn Servlets and JSPs..
I made one form.html file with minimal contents and put it as tomcat/webapps/MyTest/form.html.
while running it as was said in Head first servlets-> http://localhost:8080/MyTest/form.html..it is giving 404 error.
And when i m putting it as tomcat/webapps/Root/MyTest/form.html
then it is running fine as http://localhost:8080/MyTest/form.html
Do i need to make any changes in server.xml. ???
Please help.
Thanks

HOST command is a SQL*PLUS comand.
you cant use that in PL/SQL . Note that PL/SQL executes at the server side (assuming a real client server environment at ur end)
Also you cant issue a host commands using PL/SQL directly. Either you use the Java or some other technique
We dont have such facility in PL/SQL to run a host command
prakash
[email protected]

Similar Messages

  • How to run a report from oracle 10g form in .csv format

    dear all,
    how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
    i'm using
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
    Please Help..

    i have already tried.
    but the report show in htm or html format. that file will not save into csv. please help.

  • How to run form in the background from command line

    please can anybody tell me to
    how to run form in the background from command line
    vishal

    Ummm....Oracle Forms is a foreground runtime kind of thing. What you want is a database procedure (or an OS utility - it depends on what sort of processing you want to do in the background).
    Cheers, APC

  • How to run batch file from oracle forms 9i

    Hi everyone.
    i have a data in csv file. i want to upload it to my database. i am using sql loader for it.
    i have made a batch file which run the sql loader and transfer my data to database.
    How to run batch file from oracle forms 9i.
    when i press the button, nothing uploads in my database. (when i simply run the batch file it works).
    here is my code
    Begin
    HOST('C:\temp\batchfile.bat');
    message('done');
    end;
    Thanks in advance
    regards
    sajid

    this is my log file, when i run manually.
    SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jul 1 23:27:53 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Control File: file_to_upload.ctl
    There are 2 data files:
    Data File: sk.csv
    Bad File: sk.bad
    Discard File: none specified
    (Allow all discards)
    Data File: sk1.csv
    Bad File: sk1.bad
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array: 64 rows, maximum of 256000 bytes
    Continuation: none specified
    Path used: Conventional
    Table KHAN, loaded from every logical record.
    Insert option in effect for this table: APPEND
    Column Name Position Len Term Encl Datatype
    SR FIRST * , O(") CHARACTER
    DATES NEXT * , O(") CHARACTER
    AGENT NEXT * , O(") CHARACTER
    COUNTRY NEXT * , O(") CHARACTER
    TRANSACTIONS NEXT * , O(") CHARACTER
    PKR NEXT * , O(") CHARACTER
    USD NEXT * , O(") CHARACTER
    BANK NEXT * , O(") CHARACTER
    Table KHAN:
    11088 Rows successfully loaded.
    0 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Space allocated for bind array: 132096 bytes(64 rows)
    Read buffer bytes: 1048576
    Total logical records skipped: 0
    Total logical records read: 11088
    Total logical records rejected: 0
    Total logical records discarded: 0
    Run began on Thu Jul 01 23:27:53 2010
    Run ended on Thu Jul 01 23:27:54 2010
    Elapsed time was: 00:00:00.63
    CPU time was: 00:00:00.17

  • How to run ZAC CDP from a Linux Bundle

    Hi all,
    I am trying to work out how to run "ZAC CDP" from a Linux bundle. We have 330 Satelites that I need to force the replication of the TFTP folder too in one staggered process.
    Is there any reason why this would not work? would a script do it and anyone have a sample?
    cheers,
    Trev.

    I would imagine it's possible.
    I'm assuming something (run as root user?)
    #!/bin/bash
    zac cdp
    (you may have to put the absolute path in for the location of "zac")
    I'm not a linux guru by any means, just that if you can script this via a cron job, I'm sure it can be done via ZCM Bundle.

  • How to run java program from website?

    Hello
    I'd like to know how to run java program from my web page.
    I'd like to push some button in this web page so java program that would be on my server
    would pop-up. Can it be done automaticaly upon running this web site? (without any buttons - I just enter website and program pops up).
    Cheers

    I rather thought about RMI. But I could try servlets. So how it would look like?.
    I would make http request in browser (enter address) and program would show up in its window?. And I would not have to change anything in my program?. This program would run then on both boxes?. One remotely and one not?.
    But I would have to learn some basics, I've never worked with servlets. Could you suggest some good sites about it?. With ready examples so I could tweak them to my purpose.
    Message was edited by:
    macmacmac

  • How to run MRP on different storage location level ?

    Dear Experts,
    Need your valuable guidance to solve the below requirement form the client-
    1) My client want to enter a "safety stock level" for one spare part/ Material on the basis of individual storage locations.
               For sake of example: in SL01 he wants the safety stock for particular material set to 5
                                  In FS18 he wants the safety stock set to 2
                                  In FS15 he wants the safety stock set to 1
    Kindly tell me whether it is possible? & guide me how to do it.
    2) Also tell me how to run MRP on a storage location level?
               This is because after maintaining different safety stocks for one material in different storage locations,  is it possible to appear each storage location with their differing safety stock levels?
    I checked the MRP type maintained & its-1 (plant) & not as- 2 (storage location).
    Kindly guide me for the above issue
    Thanks in advance for your support.
    Regards,
    Mehul

    Hi Umashanker,
    Thanks for your suggession . Accordingly I have resolved the issue.
    Regards,
    Mehul

  • How to run db.xml from ORPOS 13.4 version on standalone

    Hi All,
    How to run db.xml from ORPOS 13.4, We dont have ORBO.
    Thanks & Regards
    GM

    Go to the location where your installer is residing and execute the following command:
    install.cmd ant install-database
    Regards,
    Uttam Kumar

  • How to run function(s) on ANY program exit?

    I can easily do this when someone selects "Exit" from the program's menu, with this code:
    AllSortsOfExitCode()
    System.out.println("Ok, everything is wrapped up. Now we will end the program.");
    System.exit(0);
    BUT...how do you get this code to run when someone clicks the little X in the upper-right hand corner?
    I can't figure out how to do that.
    I need to override the class destructor or something, but I don't think Java has destructors in the classic sense. I found one 4-page thread about "Java destructors" but it was just an argument between a couple people -- I didn't learn anything from it.
    Thanks,
    Matthew

    CathInfo wrote:
    BUT...how do you get this code to run when someone clicks the little X in the upper-right hand corner?
    Thanks,
    MatthewThe earlier replies cover the case you described above. But your thread title says something else:
    How to run function(s) on ANY program exit?Answer - you can't. Power loss can't be handled. Shutdoen hooks can help with most other conditions, see
    http://www.google.com/search?num=100&hl=en&c2coff=1&q=java+shutdown+hook&btnG=Search

  • How do run my library from an external drive?

    How do run my library from an external drive? I've tried changing destination locations but nothing seems to work. help please

    You might find this article useful, there's a section in it on moving to an external drive:
    iLounge - Transferring your iTunes Library to Another Drive

  • How do I keep html from rendering in to a link, I need it to show

    Hi All,
    How do I keep html from rendering into a link, I need the html code to show in a comment box so others can copy and paste it in other comments on a photo sharing site.
    The code rightful renders into a link and the html no longer shows how do I stop
    it from rendering?
    I would really appreciate any help! Thank you for your time.
    Cheers,
    Maria /eMe

    Hi Eme
    I don't know for sure w/o trying the site, but I guess you mean that a href ="some-site.com" type things are rendering as links, rather than text people can read? same as these forums I spose.
    first, try replacing the opening < with &#60; and the closing > with &#62; for both the initial <a> and the closing </a>
    hopefully...that'll allow the code to be visible, tho' you may find the site still converts the url to a clickable link.

  • How to move SQL database from one location to another location i.e. from C' drive to D' drive

    Hi, How to move SQL database from one location to another location i.e. from C' drive to D' drive ? please share some link.
    Thanks and Regards, Rangnath Mali

    Hi Rangnath,
    According to your description, my understanding is that you want to move databased from C drive to D drive.
    You can detach Database so that the files become independent, cut and paste the files from source to destination and attach again.
    There are two similar posts for your reference:
    http://mssqltalks.wordpress.com/2013/02/28/how-to-move-database-files-from-one-drive-to-another-or-from-one-location-to-another-in-sql-server/
    http://stackoverflow.com/questions/6584938/move-sql-server-2008-database-files-to-a-new-folder-location
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • OpenScript: 1.     How to move the scripts from one location to another location. in OpenScript; Copy, paste or Import, export

    How to move the scripts from one location to another location. Copy, paste or Import, export

    Both way you can do.. Difference is - if you copy paste to another folder script dependencies will not move with the same( ie Assets added), whereas if you export and import the script all dependencies will be correlated automatically

  • Can't access iCloud mails from any location

    Hello,
    for a couple of days I am not able to access my iCloud ( @me.com ) mails from any location. I've already tried it on Apple Mail, iCloud.com via Mac and PC and Mail.app on iPad 5.0.1. Here are two screenshots:
    I appreciate any help.
    Thanks

    This should read 'iCloud', not 'MobileMe' - it looks as if your Mail application is still trying to access the MobileMe server after you've migrated. However if you have migrated it should be available at icloud.com.
    What operating system are you using on your Mac? did you migrate your MobileMe account at http://me.com/move ? You could check the Mail server settings and see if they conform with these:
    http://support.apple.com/kb/HT4864

  • How to run a script from Oracle Form (Beside using HOST command)

    I would like to run a script from Forms 6.0. I know that we can actually issue this command :
    host('plus80.exe' username/password@connect_string @c:\scriptname);
    BUT, is there any other alternative ?

    Sqlplus is a different program, so one way or the other you have to leave Forms to run sqlplus. What is you objection against HOST?
    You can also run sqlplus from the database, but again you need a stored java procedure to call sqlplus (sort of HOST command that runs in the database).
    Francois' solution works if your script just has a query to run, but if you have specific sqlplus commands (spool etc.) forms_ddl is probably not a solution.

Maybe you are looking for

  • What is the difference b/n  0CO_OM_WBS_1 and   0CO_OM_WBS_3  datasources

    Hi Experts, I am planning to extarct Palnned Cost from R/3 , which one should i cosider among   0CO_OM_WBS_1, 0CO_OM_WBS_3. what is the dfference between these two data sources. Thanks Bhanu

  • How to make a variable global to use in all of my cfm page?

    I have a problem with the variables. i need to use a variable  " loginrecord" in all of my cfm pages, its created in my login.cfm and the value of this needed in other page and maybe i need to change it . in ASP simply we can use SESSION to make a va

  • Question about RAW to JPG file sizes

    Hello all, I have a question/concern in reference to file size changes when converting from RAW to JPG formats in PSE6. I've recently purchased a CANON 50D, and have started shooting in RAW format (actually RAW2+JPG). I have the CAMERA RAW 5.2 plugin

  • Suddenly "Sign In" required, and Adobe can't connect?

    Yesterday my apps were working fine; today when I try to open them, Adobe is telling me I have to sign in, and then telling me it can't find my internet connection. Anyone have any idea what's going on? No live chat people available, and I urgently n

  • "Save For Web" issues/suggestions

    For the "Save For Web" feature, a few things would be nice to see. Maybe they are there, but I cannot find them. 1. Actions: When I add the Save For Web to an action, it adds an "export" to the action, but when I automate it, nothing happens, it does