File exists on client? from web deployed forms

Any ideas on the quickest and sleekest way to identify whether or not a file at a known location actually exists on client?
My first thought is to deconstruct some part of the fileupload java stuff.
Any other ideas?

In case anyone ever needs to do this -
I added a method to getclientinfo.java - very simple - here it is
public String getXyz()
File xyz = new File("C:\\xyz.txt");
          if (xyz.exists()) {
               return "YES";}
          else          {
               return "NO";
}

Similar Messages

  • Launching Browser Window from Web Deployed Forms App.

    Has anyone launched a new browser instance on the client within a web deployed forms application? We have browser based help within our application. In the client/server version, we used the built-in HOST command to launch the browser when the help button is clicked. However, this does not work in a web deployed situation. First, because we are deploying the application on a Solaris box, and it does not recognize the host command, and second even if we could it would launch the browser on the server. Can I do something with java or javascript?

    Why don't you use the web.show_document(url, '_blank') built-in?

  • Executing a shell script from a web deployed form

    Hi there,
    i've got a web deployed form from which i want to execute a UNIX shell script upon clicking a button.. I've used the host command ,and the rsh utility in Windows NT but i'm getting an error message saying
    "machine address" Permission denied, rsh can't establish connection " this is the code in the when button pressed trigger
    HOST('c:\windows\system32\rsh <<machine address>> opt/apps/wmc/rw.ksh');
    the machine address being the unix machine i'm trying to connect to and the last part being the path and the shell script to be executed..
    can anybody help me out here ????
    Regards
    wole
    null

    Jim,
    Yes. Use the host command from forms and call the command rexec.
    Raymond
    null

  • Drag and Drop with web deployed Forms.

    If you are interested in drag and drop features of web deployed Forms you may want to check out this:
    http://groundside.com/blog/GrantRonald?title=oracle_forms_drag_and_drop_on_the_web&more=1&c=1&tb=1&pb=1
    Regards
    Grant

    Hi ,
    I think this is similar to a .pll library in Forms 6i which was called drag_drop.pll-something like that.......Isn't it...?????
    However , it seems very attractive and helpful to our clients.....
    Thanks and congratulations,
    Simon

  • New form opens up in back of Menu Form in Web Deployed Form

    Hi,
    I am having trouble with my web-deployed form. I have one form that has toolbars and after selecting from the menu for another form to open up, the new form opens up in back of the previous form and I'd have to minimize the previous form in order for new form to be active. Is there any way that I can have the new form open up above the previous form? Also, do you know any good sites where I can get tips on web-deployed forms.
    Thanks,
    Kristine

    Kristine,
    what code are you using to open new forms (call_form, open_form, new_form).
    I have a similar application (custom login module and custom menu), and I run my modules from the menu using
    call_form(<module_name>,HIDE,DO_REPLACE);
    This hides the custom login module and displays the called module.
    Hope this helps
    Gerald Krieger

  • Do web deployed forms support insert/replace modes

    Hi:
    We are currently using Oracle Forms 10g. In older versions of forms the Insert key could be used to toggle between Insert and Replace modes when entering data in a field. Is this functionality supported in Web deployed forms?
    Thomas

    Apparently not. See
    INSERT key does not toggle INSERT/REPLACE mode

  • Returning XML to client from web service

    Hi,
    I am new to developing web services using JAX_RPC. I am trying to return a xml document to the client from the web service.
    My Server implementation is as follows:
    Interface:
    public interface OntoIF extends Remote
    public DataHandler ontoCompare (String targetUrl,String sourceUrl ) throws RemoteException;
    Implementaion:
    public class OntoImpl implements OntoIF
    public DataHandler ontoCompare (String targetUrl,String sourceUrl ) throws RemoteException
    DataHandler dataHandler = new DataHandler( new StreamSource( new File ("status.xml")), "text/xml");
    return dataHandler;
    Client Implementation:
    Stub stb = (Stub) (new OntoService_Impl().getOntoIFPort());
    stb._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,
         "http://localhost:8080/onto-service/onto");
    OntoIF onto = (OntoIF) stb;
    DataHandler retDHandler = onto.ontoCompare(targetOntoUrl, sourceOntoUrl);
    When I compile and run my client, it throws the following error -
    java.rmi.ServerException: JAXRPCSERVLET28: Missing port information
    at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.ja
    va:497)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:294
    at sstub.OntoIF_Stub.echoDataHandler(OntoIF_Stub.java:122)
    at sstub.OntoClient.main(OntoClient.java:63)
    Can you please let me know what I am doing wrong? I have no problems in sending a DataHandler but receiving the DataHandler from the web service throws errors.
    Thanks!

    Hi I'm having the same problem. I try to set up a Web Service using JAX_RPC. My WS should invoke a native Method implemented in C++. Did you got a solution for this issue? My Error Message is as follows:
    java.rmi.ServerException: JAXRPCSERVLET28: Missing port information
         at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:497)
         at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:294)
         at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:80)
         at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:489)
         at com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocationHandler.java:122)
         at com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocationHandler.java:86)
    at $Proxy0.getHello(Unknown Source)
         at com.neuhaus.test.ws.client.NativeInvokeClient.main(NativeInvokeClient.java:44)
    Exception in thread "main"
    greetings, JAN

  • Online Help in Web Deployed Forms App

    In a Designer generated Forms app deployed across intranet via Forms Server, what options do I have for an online help system? Is Designer's ability to generate MS Help files useful outside client/server environment? Thanks in advance.

    I'd also consider checking a test case with Oracle Support to confirm its the same issue as well.
    Regards
    Grant Ronald
    Forms Product Management

  • Calling a report from a form on web deployed forms application

    OS: AIX: Developer 6i, patch 3
    I have a form that calls a report. The report works fine on
    client server. But on the web, using reports server, I get
    "FRM-41214: Unable to run report".
    Any help will be highly appreciated.
    Please email me: [email protected]

    hello,
    check out our product-area on OTN
    http://otn.oracle.com/products/reports
    there you find a whitepaper on integration between forms and
    reports on the web.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Cannot open file in Onenote client from within OneNote Web App

    I am facing a peculiar problem with One note.
    Environment: - SP2013 Enterprise with separate Office Web Apps server
    I can view/edit onenote files on OneNote web app without any issue but when I click "Open in OneNote" button, I get the error that "onenote cannot open the specified location..."
    Other office documents like word and excel work fine, only onenote has this issue.
    Any help is much appreciated

    Thank you for the update.
    We may try to use the Network Monitor tool to capture the network traffic for bothe problematic site and working site when reproducing this issue, and then read the traffic to find out the differences between them. To capture the traffic, start capturing
    first, then click the “Open in OneNote” button.
    Download Microsoft Network Monitor tool:
    http://www.microsoft.com/en-us/download/details.aspx?id=4865
    If you cannot find the differences, you can send the capture files to us via
    [email protected]
    and we will analyse them for you.
    Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Run web deployed Forms through Linux clients?

    I thought migrating from Forms6i to Forms10g
    would make it possible that users can use
    Webforms on Linux Clients in https-mode.
    Am i wrong?

    Hi,
    you are right in saying "would make possible". The Linux certification is ongoing and we expect something for within a Patchset of Forms10g. HTTPS then should not be the problem.
    Frank

  • Open/read a txt file on the client side in a Form server architecture

    We are moving our software from client-server to Web architecture but we have problems
    with all the forms that use GET_FILE_NAME and
    TEXT_IO built-in functions.
    This commands, in fact, work on the application-server side and not on the client (browser-side) as we need.
    How can we solve this problem??????
    Thank-you for your help.
    null

    there is a way to solve this problem.
    you must use developer 6 and above.
    you will have to modify your appliaction and use developer ability to work with javabeans
    you will have to write a javabean that will do the read/write operation at the client side.
    for more details look at my answer to the following topic:
    "Read and Write Files to user from FormsServer "
    that was opened at dec 15.
    Yossi

  • Opening a PDF file in Admin mode from a windows forms application (C#)

    Hi,
    I need to open a pdf file using Windows Application. I have used the below code launch the pdf files.
    Process prc = new Process();
                prc.StartInfo.FileName = "cmd.exe";
                Environment.CurrentDirectory = @"C:\SamplePDF\";
                prc.StartInfo.Arguments = " /C sample.pdf";
                prc.StartInfo.UseShellExecute = false;
                prc.StartInfo.CreateNoWindow = true;
                prc.Start();
    This code is working fine without admin mode. But while running the output exe from bin folder with admin mode(right click the exe and choose "Run as Administrator"), pdf files are not launching . But its opened in the background application and I can see this from windows task manager.
    Could anyone please help me on this issue ? Is there any other ways to launch a pdf file in admin mode ?
    -Balaji.

    Thank you for replaying so soon..
    Well you are right by using a widget and etc.. but the problem is that I have been told that this application should open a PDF file that has bookmarks to each chapter of the text and one can make a search on this text by using pdf search.. So I do not have any other choice than opening a pdf :D and my time is unfortunately limit.
    For solving the problem that the user may not have PDF reader.. well I have been told that user should install the pdf reader, so in my application package I am putting the installation file of PDF.
    But going back to my problem.. I guess is someway I have to get the OS type of the user and I have to do a SWITCH or something on the OS type and then change the content of the Runtime.exec(). But the question is how can I get the OS type and what should I change in Runtime.exec().
    So now any idea? any solution??

  • Trouble access image files (.tif) in browser from web page

    Interesting issue. I have a database storing file locations
    for some images in the .tif format. I then created my web page and
    have a link that uses the value in the database. when i click on
    it, i get the red x. however, if I copy and paste the link into my
    browser, the images pops up as it should. Am I missing something
    here?

    James0816 wrote:
    > Interesting issue. I have a database storing file
    locations for some images in
    > the .tif format. I then created my web page and have a
    link that uses the
    > value in the database. when i click on it, i get the red
    x. however, if I
    > copy and paste the link into my browser, the images pops
    up as it should. Am I
    > missing something here?
    >
    I don't think browsers can display TIFF files unless they
    have a plug
    in.... tiff images are way too big (file size) to be using in
    a webpage
    anyway

  • Launching from web a form in debug mode (?!)

    Hello,
    I have Developer Suite 10g with WebUtil 1.6. I am playing with a form, which has an attached library from which use a function. This function doesn't function properly and I would like to debug it.
    Problem: in Forms Developer, when I launch the form in DEBUG MODE, it launches my form using the webutil configuration section. The URL looks like this:
    http://localhost:8889/forms/frmservlet?config=webutil
    I need to launch the form with another configuration section and at the same time in debug mode.
    How should I do this?
    Thank you in advacne for the help.
    daniela

    forms-builder:
    look at Edit-Preferences, go to the last tab (Runtime) and then look at "Application Server URL"
    there you can change the used section of your forms builder configuration

Maybe you are looking for

  • Configure Search Across farms in sharepoint 2013

    Hi, I'm setting up a farm to share services across differente farms but for some reason search isn't working.  I have done everything I thk i should, exchange certs, create trust relationship, publish service, service permissions, connect remote serv

  • How to get NAS drive as a "device" not "shared" entry in Folder??

    I have several NTFS mount points available on my network. I can connect to them just fine if I "connect to server" with the smb://networkaddress/mountpoint functionality. The problem is the device shows up in the Folder under the "Shared" area, not t

  • Wifi symbol missing plus phone won't switch off

    My wifi symbol is missing from my screen, settings say I am connected, checked this by turning cellular data off and I can still access Internet so I must be connected. Thought by switching off and turning on again might fix the issue but my phone wo

  • Adobe 8.1 uninstall

    when i try to uninstall this message pops up error 1606 %APPDATA%

  • DNG PE: I want to try other Tone Curve but ...

    In DNG PE I load a dng file, I choose a camera profile, I go in the Tone Curve panel in the Base Tone Curve I set Linear, I click on the curve and I set in 95 out 160 (only one point for this purpose) and then I save the new profile. I go in ACR, I l