Client side Information via Web

Anyone have any experience in accessing client side information
via Web Forms. I need to pull user info from their machine vice
the server, which is actually running the form.
null

Jeffrey Porter (guest) wrote:
: I'm looking for information on how to construct the link
between
: the web server and the database such that the client is not
: required to establish the database link. Everything is server
: side with the client passing in values via web submits and
: information returned via constructed HTML. I think the reason
: this is all constructed this way is to fit into the JAVA
security
: model for web based application processes. I have constructed
: the JDBCODBC bridging with the client making the dattabase
: connection but now I want the connection shifted from the
client
: to the server.
(1) In your system there are 3 nodes. The first one is the web
client running a browser posting HTTP request to your web server.
Your web server is a server to the web client but also a client
to your Oracle database server. From the web client browser you
cannot communicate directly with the Oracle server directly
through JDBC. Your CGI scripts (you have not specified what web
scripting tool you are using) written in Java may communicate
with your Oracle database using the JDBC drivers available in
your $ORACLE_HOME/jdbc/lib/classes111.zip file.
(2) You do not need any JDBC-ODBC bridge to access Oracle
databases. You should use the Oracle JDBC drivers.
NM
null

Similar Messages

  • Client side validations in web dynpro

    Hi experts,
    can anybody tell me How we perform client side validations in web dynpro ?
    Thanks,
    Prasad.

    Hi Prasad,
    Validations are generally required during some events or calls to a functions. So there are bascially two ways:
    1) You do the validation is the onActionEvent of the UI element. However this is some time time is not a right approach (depends upon your scenario).
    2) There is another method called wdDoBeforeAction(). Do all you validations for the actions in this method. read the java doc for the same functions, here:
       * Hook method called for additional validation of user input. <p>
       * @param validation Interface for reporting validation errors
    You can catch the particualr action in this emthod and then can write you validation code before the action is called.
    For gettiong the action use this code:
    if(validation.getCurrentAction().equals(IPrivate<Your_View_Name>.WDActionEventHandler.<ACTION_NAME>)){
    // write your validation code here.           
    I hope this will help you. Please revert back in case you have further issues.
    Thanks and Regards,
    Pravesh

  • How to set clock skew property at client side when invoking web services

    Hello,
    now we're using weblogic 11g, we want to set the clock skew properties.
    in server side, we "Create a Web Service security" to set the "Clock Skew" property, change it value from 60000 to 120000, then we invoke the web service from stand-alone client on another machine, the clock skew between the server machine an client machine is 80000. but it still throw exception:
    javax.xml.ws.soap.SOAPFaultException: Message Created time past the current time even accounting for set clock skew+
    at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processResponse(TubeFactory.java:241)+
    we think we still need set the clock skew at client side. in webloigc8.1 doc(http://download.oracle.com/docs/cd/E13222_01/wls/docs81/webserv/client.html), we find there's properties such as "weblogic.webservice.security.clock.precision" we can set in client side, but in weblogic 10.3 doc, we can't find these properties.
    now how to set the clock skew at stand-alone client in weblogic 11g?
    Thanks!
    Fred

    Hello,
    now we're using weblogic 11g, we want to set the clock skew properties.
    in server side, we "Create a Web Service security" to set the "Clock Skew" property, change it value from 60000 to 120000, then we invoke the web service from stand-alone client on another machine, the clock skew between the server machine an client machine is 80000. but it still throw exception:
    javax.xml.ws.soap.SOAPFaultException: Message Created time past the current time even accounting for set clock skew+
    at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processResponse(TubeFactory.java:241)+
    we think we still need set the clock skew at client side. in webloigc8.1 doc(http://download.oracle.com/docs/cd/E13222_01/wls/docs81/webserv/client.html), we find there's properties such as "weblogic.webservice.security.clock.precision" we can set in client side, but in weblogic 10.3 doc, we can't find these properties.
    now how to set the clock skew at stand-alone client in weblogic 11g?
    Thanks!
    Fred

  • Client side firewall via GPO question

    I am in the process of testing a new client side firewall that will be enforced via GPO, domain, public and private. So here is my question, I would like to remove all firewall rules that have been added locally. I have set firewall merging to "No"
    to not allow local firewall config. So on my test machine, the firewall GPO is in effect, it is enforcing the rules i have configured so far, however, it does not remove the rules that were present prior to testing.
    Here is a piece of an article i found while researching;
    **Another question related to this is about how to prevent the local users from being able to create rules. While you can’t prevent the users from creating a rule you can prevent the rules created by users from being applied (BTW the rule will still be displayed
    in the GUI) by using the “Apply local Firewall Rules” setting. Again a user cannot create a rule to override a block rule from group policy.
    In the interest of full disclosure a user could potentially override the “Apply local Firewall Rules” setting as documented in the MSDN article.
    technet.microsoft.com/en-us/library/cc755191(WS.10).aspx
    The logging policy can be overridden by the local policy because the merger law is set to on.**
    Reading that, it appears as though even though the local user can create a rule, example: Skype, that rule wont actually work due to the firewall being enforced by GPO and merging not allowed? Is that correct?
    Also, is there a way to completely remove all firewall rules that are not pushed from the GPO?
    Hopefully im being clear on this, but will add info with any questions you may have
    Server 08 r2 , windows 7 clients
    Thanks in advance

    Hi -
    This forum is dedicated to Rights Management Services, which cannot help you with your current issue.  I suggest reposting your question in the Windows Server forum:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?category=windowsserver
    Thanks!
    Micah LaNasa
    Synergy Advisors
    synergyadvisors.biz

  • Insert client side video to an app

    I have to builld an application which has two videos. One video comes from the server side with the support of flash media server.  and second video comes from client side  from a web cam. I was able to include server video to the app but I have no idea how to  include client video to the app, because the client does not have a flash media server or flash media encoder running. Can any one please help me

    So here's what you can do :
    1. From the client publish the web cam stream to your FMS server like so :
    var nc:NetConnection;
    var ns:NetStream;
    var camera:Camera;
    var microphone:Microphone;
    nc = new NetConnection();
    nc.addEventListener(NetStatusEvent.NET_STATUS, onStatus);
    nc.connect("rtmp://<server-ip>/<app>/<app-inst>");                       //connect to an FMS side application
    functiononStatuss(event:NetStatusEvent):void{
         if(info.code=="NetConnection.Connect.Success"){         
              ns = new NetStream(nc);
              ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);   //you can define an event listener for the netstream and handle events like Netstream.Publish etc
              camera = Camera.getCamera();    //Get the client side webcam and microphone
              microphone= Microphone.getMicrophone();
              ns.attachCamera(camera);                         //Attach it to the netstream
              ns.attachAudio(microphone);
              ns.publish("myWebcam","record");              //Publish that stream to FMS application. The streamname is myWebcam
    2. To playback this Wnb cam stream on any client you just need to connect to the same application instance and do a ns.play();
    See here for more information : http://livedocs.adobe.com/flashmediaserver/3.0/hpdocs/help.html?content=00000185.html
    Hope this helps.
    Thanks,
    Apurva

  • Save file on client machine on the web.....

    Hi,
    I have a Form Application C/S 6i where I create a file using Get_File_Name, TEXT_IO.fopen .... etc. This application it's OK. The problem is when I load the application on AIS9i. The application don't load never. I must create and save a file on client machine when I use application on the web. What Can I do? Is This operation possible without radical change of the code source?
    Thanks

    Erik,
    actually this project is under the leadership of the same author that created d2kwutil. It is too early to tell what exactly will be in this package and most likely we will release things step by step as they finish. However, you canuse this thread for a wishlist of functionality and I will pass it to the project lead. The implementation will be both POL/SQL and Java (as Java is the only way for us to access the client side in teh Web). The project target is sometime mid of next year. As said, the project hasn't really started yet so it is too early to speculate on what will make it in and when this will be delivered.
    Frank

  • ADF Faces + hardware device in the client side.( adf swing  or adf java fx)

    We are using adf+swing in desktop app.
    We like ADF Faces but we need interations with Hardware device in the client side: scan reader, web cam, bar code reader, finger prints reader …
    How to do that’s in the adf faces web environment ( what about with sandbox security) how to obtain in the adf faces web page in the client side de video streams.
    In the future adf will be use Java FX?
    Thanks
    Juan Carlos Llanes

    Hi,
    see sample 71 http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html#CodeCornerSamples
    You can use ActiveX plugins or JavaApplet to access the client system. To reach out of the sandbox, it will require a certificate
    In the future adf will be use Java FX?
    No.

  • Hi am new and need help on client side java.

    Hi I am a .net developer. Dont boo lol. I am trying to find the latest on Java. I build web apps and would like to use java on the client side.
    Is there a new form of java for client side code.
    What do I need to install?
    Where are some good sites that provide tutorials for Java newbies wishing to develop web client scripts etc.
    Thanks

    Hi I am a .net developer. Dont boo lol. I am trying
    to find the latest on Java. I build web apps and
    would like to use java on the client side.
    Is there a new form of java for client side code. Web apps usually use Java Server Pages, or JSPs, on the client side.
    What do I need to install? Tomcat is a free servlet/JSP engine:
    http://jakarta.apache.org/tomcat
    Where are some good sites that provide tutorials for
    Java newbies wishing to develop web client scripts
    etc.
    ThanksBetter buy a book. I highly recommend Hans Bergsten's JSP book for O'Reilly.
    %

  • Client-side caching of Javascript (for Google Web Toolkit *.cache.* files

    Hi all,
    I'm trying out the use of Google Web Toolkit (GWT) for AJAX code development, leveraging RPC calling back-end Web Services for a document browser prototype.  When the JavaScript code is generated by GWT, it has the ability to automatically distinguish between cacheable and non-cacheable content via file extensions (.cache. and .nocache.).
    Now when running in a Tomcat environment with appropriate caching settings; the application runs extremely fast even on really poor latency sites (>500ms round trip); however on a NetWeaver stack, I can't find any information on how to set an attribute on .cache. files to set an expiry of 1 year.
    Anyone know how to do this on a NetWeaver J2EE stack?
    Thanks,
    Matt
    PS. For reference, GWT is a very cool open source project worth watching in the Enterprise space for targeted high-usability, high performance apps.  Just the image bundles concept themselves are an awesome approach to minimizing impact of small images on performance.

    Hi again,
    I thought I should post the solution I came up with in case people search on GWT in the future.  In terms of caching, the Portal does a good job of making nearly everything that GWT produces to be cached at the client; and for the life of me, I couldn't get nocache files not cached at the client side. 
    So thanks to my friendly local SAP experts in the portal space; I discovered there's not much you can do to get this working except try use standard browser tags like the following to prevent caching on the browser:
    Note - Can't seem to save this post in SDN with Meta tags that I'm trying to display so check out http://www.willmaster.com/library/tutorials/preventing_content_cache.php for more info...
    Unfortunately, the way that GWT creates the nocache files, it is not possible to modify the .js files to do this so I needed an alternative approach.
    Then I thought, well, the html file that includes the JS file is cached, but it's not very big, so how about I just write a script to modify the html file when I deploy to production to point to the nocache file with a date suffix.
    Let me explain in more detail:
    1. The original html file that includes the nocache.js file gets modified to point to nocache.<date>.js.
    2. The original nocache.js file gets changed to nocache.<date>.js
    3. Now produce an external bat file to do this automatically for you before deployment which DevStudio can call as part of an Ant script or similar.
    That's it.  So when you are developing, you can manually delete your cache, but just before you go to production, you do this conversion, and you will never have an issue with clients having the wrong version of javascript files. 
    Note - GWT takes care of caching of most of the files by using a GUID equivalenet each time you compile, so it's just a couple of files that really need to not be cached.
    Anyway, I'm not explaining this solution very well, but drop us a line if you need to understand this approach further.
    And lastly, my feedback about GWT - It Rocks!  Everyone loves the result, it's easy to build and maintain, it offers a great user experience, and it's fast.  Not a replacement for transactional apps; but for the occasional user - go for it.
    Matt
    Edited by: Matt Harding on May 22, 2008 7:48 AM

  • XSL Fragment into HTML via Client-Side Transform

    I am designing a site for a school. I searched and found the
    post here from July 25, and I have also read the Dreamweaver
    help file till I'm blue in the face. They talk all around the
    answer but never definitively say if it's possible to do this.
    Dreamweaver help mentions:
    -- Workflow for performting client-side xsl transformations
    Do one of the following:
    In your Dreamweaver site, create an entire XSLT page. See
    Creating entire XSLT pages.
    Convert an existing HTML page to an entire XSLT page. See
    Converting HTML pages to XSLT pages.
    All the online tutorials show server-side transforms but I'm
    not skilled in that...nor do I know if the hosting entity will
    provide that level of access to their .NET server.
    ---- ok. that's the background of the situation. Now to my
    problem. ---
    We plan to have two mutually exclusive areas on the home
    page, such as news & events, that will be updated by a single
    school employee. The plan is to create two XML text files that one
    teacher can update.
    The XMLfiles will be manually uploaded to the web site and
    the home page will read that data into properly formatted
    information on the home page. I would greatly prefer to keep the
    entire process as a client-side procedure.
    I have created and linked XSL fragments to the XML data.
    If I try to copy and paste code from the XSL fragment into
    the index HTML page, I get nothing.
    Success comes only after converting the home page into an
    XSLT 1.0 file using Dreamweaver and copying and pasting the code
    fromt he XSL file into the newly created XSLT file.
    Hence my questions:
    1 Can I bring these XSL fragments into an HTML home page or
    do I have to convert it to XSLT?
    2. If I must convert the HTML file to an XSLT file, can
    people still type the website address in as www dot site dot com
    and the XSLT file will open without anyone knowing the difference?
    3. Can I even do this with a client-side transform?
    4. Is it possible for one page to reference two separate XSL
    fragments pointing to the two separate respective XML files?
    Thank you very much for your help.

    Hi Eric,
    these are the cache control headers of the request that serves the XSLT:
    GET http://www.carsten-leue.de/test/iframe_xslt/xslt.php HTTP/1.1
    Accept: */*
    Referer: http://www.carsten-leue.de/test/iframe_xslt/xslt.php
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
    Host: www.carsten-leue.de
    DNT: 1
    Connection: Keep-Alive
    There does not seem to be a header involved that prevents caching.
    You mention the "legacy ActiveX" control. In which sense is this control involved in the usecase? In my scenario I am pointing the browser to the XML document that has an associated stylesheet and the browser automatically executes the transform.
    I am not explicitly triggering the transform via some script in the page.
    Does the ActiveX control still play a role in this scenario?
    Carsten

  • SharePoint 2013 Client Side People Picker in Content Editor Web Part

    Has anyone tried to use the client side people picker in a content editor web part? I have successfully got it to work in IE by adding all the script references and initialize function to the content editor web part. Now the strange part is, the people
    picker doesn't render in other browsers, I tried in Chrome, Safari, and Firefox. Any ideas?

    Below can be used to create people picker in CEWP
    <asp:content contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server">
    <script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.6.2.min.js" type="text/javascript"></script> 
       <script type="text/javascript" src="../Apps/_layouts/15/clienttemplates.js"></script> 
       <script type="text/javascript" src="../Apps/_layouts/15/clientforms.js"></script> 
       <script type="text/javascript" src="../Apps/_layouts/15/clientpeoplepicker.js"></script> 
       <script type="text/javascript" src="../Apps/_layouts/15/autofill.js"></script> 
       <script type="text/javascript" src="../Apps/_layouts/15/sp.js"></script> 
       <script type="text/javascript" src="../Apps/_layouts/15/sp.runtime.js"></script> 
       <script type="text/javascript" src="../Apps/_layouts/15/sp.core.js"></script> 
       <script type="text/javascript">
    <!-- Add your CSS styles to the following file -->
    <link rel="Stylesheet" type="text/css" href="../SiteAssets/PeoplePicker/App.css"/>
    <!-- Add your JavaScript to the following file -->
    // Run your custom code when the DOM is ready.
    $(document).ready(function () {
        // Specify the unique ID of the DOM element where the
        // picker will render.
        initializePeoplePicker('peoplePickerDiv');
    // Render and initialize the client-side People Picker.
    function initializePeoplePicker(peoplePickerElementId) {
        // Create a schema to store picker properties, and set the properties.
        var schema = {};
        schema['PrincipalAccountType'] = 'User,DL,SecGroup,SPGroup';
        schema['SearchPrincipalSource'] = 15;
        schema['ResolvePrincipalSource'] = 15;
        schema['AllowMultipleValues'] = true;
        schema['MaximumEntitySuggestions'] = 50;
        schema['Width'] = '280px';
        // Render and initialize the picker. 
        // Pass the ID of the DOM element that contains the picker, an array of initial
        // PickerEntity objects to set the picker value, and a schema that defines
        // picker properties.
        this.SPClientPeoplePicker_InitStandaloneControlWrapper(peoplePickerElementId, null, schema);
    // Query the picker for user information.
    function getUserInfo() {
        // Get the people picker object from the page.
        var peoplePicker = this.SPClientPeoplePicker.SPClientPeoplePickerDict.peoplePickerDiv_TopSpan;
        // Get information about all users.
        var users = peoplePicker.GetAllUserInfo();
        var userInfo = '';
        for (var i = 0; i < users.length; i++) {
            var user = users[i];
            for (var userProperty in user) { 
                userInfo += userProperty + ':  ' + user[userProperty] + '<br>';
        $('#resolvedUsers').html(userInfo);
        // Get user keys.
        var keys = peoplePicker.GetAllUserKeys();
        $('#userKeys').html(keys);
    </script>
    </asp:content> 
    <asp:content contentplaceholderid="PlaceHolderMain" runat="server">
    <div id="peoplePickerDiv"></div>
        <div>
            <br/>
            <input type="button" value="Get User Info" onclick="getUserInfo()"></input>
            <br/>
            <h1>User info:</h1>
            <p id="resolvedUsers"></p>
            <h1>User keys:</h1>
            <p id="userKeys"></p>
        </div>
    </asp:content>​​​​​​​​​
    Vishnu

  • Using Client Side Extensions (SWF) to call external Web Service

    Hi,
    I'm using .swf files to extend my CRMOD application, and one of my requirements is to be able to show information on a custom applet using the Client Side Extensions. This information is coming from an external system, so i'm trying to call this external web service using .swf.
    When i create my swf application and i run it locally, i can access the web service and receive the results into my browser, but when i do the same call from the custom web applet in CRMOD i don't get any results.
    Can someone tell me if this is possible? And if so, how to do it?
    Best Regards,
    NF

    Post Author: luke
    CA Forum: Data Integration
    Yes. I  have figured out the way to do it.
    Luke.

  • Load data from File on Client side (via Sqlplus)

    Server OS: RedHat, Oracle 10g rel 2.
    I am trying to load data from OS .txt files to clob field.
    I am able to do this successfully using:
    Oracle DIRECTORY
    BFILE
    DBMS_LOB.loadclobfromfile packageIssue is: this only works if my files and DIR are on database server.
    Is it not possible "load clob from file" from client side, files being on client and exec command via SQLPlus. Is there any other option to load data from client side.
    Thanks for any help.

    Options:
    1) Search for OraDAV
    2) Learn about Application Express.

  • Printing web page at client side

    i want to print web page at client side . Page & printer settings are through coding. i tried using
    DocFlavor myFormat = new DocFlavor("text/plain; charset=utf-16be","java.net.URL");
    i found exception invalid flavor

    If you are trying to print a web page on the client side, you have to use the browser's print function which can be invoked through JavaScript. What you are trying to do can't possibly work. Even if you weren't getting an exception, it wouldn't work. Any Java code in the JSP will have no effect on what happens on the client's machine.

  • Generating file via web service and store it on client's hard disc

    Hello!
    First of all I want to see that i am a beginner concerning Web Dynpro.
    In the last weeks I made a lot of steps but now i am stuck with a problem, i didn't find a helpful solution for.
    I want to create a  textfile dynamically via web serivce. That works fine.
    Now I am looking for a solution  to write this file on client hd.
    Is there a possibility to use simply the Java "File" class and give the path name or do I have to use the wd download ui?
    For the downloadUI I only found examples concerning Files in MIME but i don't know what to do if my file is dynamically created during runtime and not stored on any hard disc.
    I would be grateful if you could get me some hints to find the right way.

    Hi
    FileDownload UI is what you should be using!
    Bind the 'resource' property of the FileDownload UI element to a context attribute (say with name SomeFile) of type
    com.sap.ide.webdynpro.uielementdefinitions.Resource
    in local dictionary. Insert the following piece of code where the file content is dynamically being generated.
    Byte[] dynamicFileConent = yourFileContentGenerateMethod(); // your logic
    IWDResource resource =
             WDResourceFactory.createResource(dynamicFileConent ,"FILE_NAME.TXT",WDWebResourceType.UNKNOWN);
    wdContext.currentContextElement().setSomeFile(resource); // SomeFile is the name of the Context Attribute
    Regards
    kk
    Edited by: kaushal kishore on Mar 16, 2010 6:45 PM

Maybe you are looking for

  • Printing Selection Variant in Report Painter

    Hi, I am using ECC 5.  There is a requirement for printing the selection variant in Report Painter (GR55) Reports.  Presently there is a provision to print selection fields and values. Is any way, I can print a Selection Variant and Name in Report Pa

  • Problem with imported vs cd extracted files in Media Organi

    Hi, I'm trying to reorganize songs in a Zen Micro Photo and the media files imported directly from the computer are not shown in the Media Organizer. For example, I have 4 Tom Waits album on but only the one extrated from a CD is viewable in the orga

  • [iPhone] How to get current device orientation...

    Again, Should be simple, but I am having trouble finding a way to poll the device to get it's current orientation. That is, where the status bar would be drawn if there is one. I see notifications for changes, etc.. but sometimes I want to check the

  • Best option to load data

    Hi, I have a DW table which has around 300K rows with country and state information along with other columns.. My Scenario: I need to display country and state in drop down in front end for user to select them as search criteria.. currently applicati

  • When i select print photo 4x6 it prints on 10 x11 paper. there photo paper in tray

    i choose 4x6 photo on computer and hit print. it comes out on regular paper 10x11