Possible to detect client's cellphone number with JSP page?

Hi, I've a JSP site thats catered to mainly mobile handheld device users. When a user using a cellphone accesses my site, is it possible that my server snoops out the user's cellphone number?

I imagine you use JavaScript to find the dimensions and include it in a query string to a new already formatted page.
E.g.
<html>
<head>
<script language="JavaScript" >
// get current url
// if current url contains dimensions do nothing
// else
// query dimensions
// url = "..." ?width="..."&height="..."
// set page src = url
</script>
something like that

Similar Messages

  • What kind of database can I use with jsp pages?

    Well I have been an ASP programer for a while and now I want to be able to host sites on an Apache server so that means i need to just jsp pages or something that is not windows dependant. So I need to start a database, a small one just for client information, and I don't know what to create it in. I was going to use MS acess but I am guessing that won't work with jsp. So what are my options for desktop database applications? Should I download star office and try that I havne't ever used that but I imagine it comes with some kind of database program. Well let me know thanks.

    JSP should work with any database that worked with ASP. The key is to use JDBC which is the equivalent to ADO. As long as you get the appropriate driver for the database, you're all set. As the previous poster mentioned, for MS Access you must use a JDBC-ODBC bridge which is really a JDBC driver that works on top of ODBC. This is the worst performing type of driver, but if you're using MS Access then perhaps performance isn't a priority.
    Check out the Sun tutorial on JDBC if interested.

  • Problems with JSP pages and BC objects

    Hi all. I have a new problem. I'm creating an application based on a database, using BC and JSP pages. I created entity objects from tables and then view objects. I put these view objects in an Application Module. When I test my view objects from This Application Module all works, but when I create a new JSP, I can't drag and drop any view objects in it. I'm using Jdev 10.1.2.
    Is there any one who can help me?
    Thank you,
    Caterina.

    I'm using the MVC pattern, so I have a Model directory that contains my BC, and a ViewController directory in which I want to create JSP pages with a Struts page flow.

  • Sharing Portal database connection with JSP page

    Hi out there,
    I implemented a JSP page as a selection form to be integrated into Oracle Portal. This JSP page contains a 'dynamic' form which needs to send queries to the database also integrated in the Portal.
    For this I am currently using a JDBC connection but I would prefer to use the internal db connection of the Portal System.
    Explanation: The user has to log in to the Portal and after that can call the JSP form. To poulate some comboboxes within this form I need some data from the database and the user does have READING privileges on that database.
    Can anybody tell me how to use the user's login and password (or the established connection) to fetch the needed data from the database OTHER than with a jdbc connection?
    Thanx in advance!
    Cheers,
    Thomas

    sorry. not going to happen. you're running in a completely different environment when running Java on Portal. Portal is running in the database; your Java is running on the application server. your Java code must use JDBC to access any database resources, even if Portal related.
    it is essential that you implement a connection pool on the application server to optimize your database traffic. check out bitmechanic for a very good open source option.
    good luck,
    rich

  • Problems with JSP-Pages in more than 1 Frame

    I have 4 Frames on my Page and every Frame is a JSP-Page. Every Page has different Data Tags, different View Objects etc.
    I could run each of the 4 Pages without getting an error-message, but after starting the Frameset-Page, I get the Error-Message:
    Error Message: JBO-27022: Failed to load value at index 1 with java object of type
    java.lang.String due to java.sql.SQLException.
    Now I press the Reload-Button of my Browser and it works !!!
    Could anyone help me ?

    Um, what am I missing? What is the work around? Is it impossible to use frames and data tag JSPs? Heino, how did you get around this problem?
    Do I have to create separate App Modules for each frame (yuck)
    Thanks!

  • Help with jsp page

    I have a servlet which passes details to a jsp page, i am having trouble picking up what is passed in the jsp page can somebody help me with this?
    this is the lines from the servlet which should pass the data:
    request.setAttribute("notvalid", "whatShouldIputHere");
                   RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/mypage.jsp");
                   dispatcher.forward(request, response);          This is the jsp page i have tried to make:
    <body>
         <jsp:usebean id="notvalid"
              class ="site.validator2"
              Scope="request"     />
         <h1>message: </h1>
         <jsp:getProperty name="notvalid" property="notvalid" />
    </body>
    </html>

    The fundamental problem is that the OP is asking questions about Servlet and JSP development without fully understanding the basics of containers and the rendezvous method of data sharing, life-cycle, data scope, and the like.
    It is better that (s)he read up on the basics.

  • How Use Multi Pages with JSP pages

    I have a lot of records, so i want to display from 10 to 10 and use a numeric menu in the botton of the page. the problem is how a make that with java code and html or java script.
    thanks for your help
    LeonMex. from M�xico City

    Search for pager taglibs. Ur solution lies there.
    Moreover u can refer www.jsptags.com , I am using the pager taglib from jsptags and it's quite easy to use.
    Hope that Helps.
    thanks and regards.

  • Issue with JSP page in MobileFiledServices -- Debrief

    Hello All ,
    Can you please guide me in getting the api used for inserting the record in Fnd_Lobs table .
    I am working on Mobile Field Services -->Debrief Here i am trying to attach the file by clicking on the attachment icon and i am able to upload the file from my local system , which is stored in the fnd_lobs base table . The upload has been done successfully and i could able to see this record in the Fnd_lobs table.
    Now my requirment is to find which APi or procedure that is being used to insert the file into the base table fnd_lobs.
    we have tried to get that particular form and try to see it . but that particular page for uploading file is JSP page....
    we are not able to Get that particular JSP page .... It would be great if some can help in this Regard.....
    Thanks in Advance....
    Thanks,
    Sairam.

    Hello All ,
    Can you please guide me in getting the api used for inserting the record in Fnd_Lobs table .
    I am working on Mobile Field Services -->Debrief Here i am trying to attach the file by clicking on the attachment icon and i am able to upload the file from my local system , which is stored in the fnd_lobs base table . The upload has been done successfully and i could able to see this record in the Fnd_lobs table.
    Now my requirment is to find which APi or procedure that is being used to insert the file into the base table fnd_lobs.
    we have tried to get that particular form and try to see it . but that particular page for uploading file is JSP page....
    we are not able to Get that particular JSP page .... It would be great if some can help in this Regard.....
    Thanks in Advance....
    Thanks,
    Sairam.

  • Help with jsp page and bpel process

    I learnt BPEL process is a web service and it could be invoked.
    I want to write a jsp page to do it.
    I read about Locator, Idelliveryservice,normalizedmessage...
    The method addPart of normalizedmessage class take only one string (other than payload) or an element.
    If i have 2 or more variables in payload, have i to use
    normmessage.addPart(...,var1)
    normmessage.addPart(...,var2)
    normmessage.addPart(...,var3)
    or have i to put all the variable in an element and use only once addPart?
    Thanks
    Ema
    PS-Is there a precise example about this problem? i read only "loandemo" process and "helloworld" process.

    Here's how I built mine:
    String xml = "<EmailControlProcessRequest xmlns=\"http://xmlns.oracle.com/EmailControl\">"
    + "<input>" + input + "</input>" + "<changeType>" + changeType + "</changeType>" + "<days>" + days + "</days>" + "</EmailControlProcessRequest>"
    Basically, look inside JDev to see the how your whole variable is formed. Then, build your xml string according to how it's built.
    My variable is built like this:
    <EmailControlProcessRequest>
    <input>input info</input>
    <changeType>changeType info</changeType>
    <days>days info</days>
    </EmailControlProcessRequest>
    Then, after that, I do this:
    NormalizedMessage nm = new NormalizedMessage();
    nm.addPart("payload", xml);

  • Perform Client import/export SCC8 with different release component between server

    Dear All
    Isn't possible to perform Client import/export SCC8 with different release component between server.?
    Currently the condition of between two system as follows
    Source Server     : SAP ECC6.0, Component SAP_APPL, release 602 level 16
    Target Server     : SAP ECC6.0, Component SAP_APPL, release 600 level 24.
    This problem happens due we was unable to downgrade the release and patch the latest support pack of SAP_APPL reelease 600.
    Thank You, your help is much appreciated.

    No..

  • Re: A region with dynamic page def mapping

    Dear Friends,
    We are using Jdeveloper version 11.1.2.3.0.
    Our requirement is there will be one region(.jsff) , it have a af:table and some input text component, based on some condition it has to be binded withViewObjetct1 or ViewObject2
    (both the ViewObject will have the same column name).
    Is it possible can we use a region(.jff) with different page definition file.Based on some condition region is mapped with Pagedef1(having corresponding Viewobject1 iterator and tree binding)
    and in another condition it's mapped with Pagedef2(having corresponding Viewobject2 iterator and tree binding).
    Please suggest a way to implement this scenario.
    Thanks in advance.
    Best Regards,
    Vijay

    Found some helpful blog for this scenario.
    http://andrejusb.blogspot.in/2012/03/proxy-viewobject-and-dynamic-editable.html.
    But i don't think it will work for us, because we may add few columns in ViewObject2 and no dynamic components.
    Please give us your valuable opinion.
    Thanks,
    Vijay

  • I recently updated my MacBook Pro to the new software, and now my iMessage and my FaceTime are not connected with my computer. How do I get them to match so that I would be able to use my cellphone number?

    I recently updated my MacBook Pro to the new software, and now my iMessage and my FaceTime are not connected with my phone number like it is supposed to be. How do I get them to match so that I would be able to use my cellphone number on my notebook?

    To reset any OS X program just go to the folder and trash the affected files.
    Open a new Finder Window
    Click "Go" in the above status bar
    Click and HOLD the "option/alt" key and you will see "Library" now show in the above list
    Click Library while still holding the option/alt key and a new window will open with all of your system files
    Go to the preference file (NOT Preference Panes)
    Locate a file named <com.apple.FaceTime.bag.plist>
    Locate another file named <com.apple.FaceTime.plist>
    Locate the file <com.apple.iMessage.bag.plist>
    Drag the files to the trash
    Delete the trash
    Close FaceTime and iMessage if not already closed
    Relaunch FaceTime and iMessage from Applications folder
    This should reset the program back to default. You will have to put your information back into the program but it should work.
    Good Luck.

  • I had an iphone 4s and it worked nice with facetime and imessage using my phone number but  it was stolen on December so I buy a new iphone 4s using the same cellphone number  but now imessage and facetime does not work with my number, it only works with

    I had an iphone 4s and it worked nice with facetime and imessage using my phone number but  it was stolen on December so I buy a new iphone 4s using the same cellphone number  but now imessage and facetime does not work with my number, it only works with my apple ID.   Please Help me I speak Spanish so  if my English is not ok  I´m sorry about it.
    Do you think that apple has to   reset in their database of the old serial number attached with my phone number and that’s why I can´t activate imessage and facetime with my number in the new iphone 4s?? 

    I understand all of this Meg; that is why I bought an Iphone; but never expected my phone not even give a at least a 24 or even 12 hours....I work 12 hour shifts and also would expect to have to charge each night but not twice a day or more.  I am not always somewhere I can charge my phone.
    Your points are true; however it doesn't help me......

  • Possible to obtain phone IMEI number with flex mobile project?

    Just like the title says, is it possible to obtain phone IMEI number with flex mobile project? If not, does anyone know of another method to get a unique number to identify the phone being used (on android and iphone)? I'm asking because I'm building a chat application, and I need a way to potentially ban users based on something other than an IP address.
    edit: now that I think about it, an IMEI number might not be the best way, since wifi tablets may not hav an IMEI number, anyone have any other idea how I could get a number to identify a device that would already be present, because i'm afraid if its something generated by me, a simple uninstall and re-install could circumvent a ban.

    If this is an Android project, you can use this ANE:
    http://blog.snowflax.com/native-imei-action-script-extension-for-android/
    I have verified that it does work and provides the IMEI.  For cases where there is no IMEI ( bc the device is not a mobile phone, or it uses IMSI instead ), you can just bypass the device id check with your database, and enable full functionality.
    Although this is not full-proof, it will nevertheless screen a lot of devices.  With this, you can keep track of the number of app installs / resets, and add a 'banned' flag if you want to in your DB -- if you see unusal activity ( like:  unsually high number of re-installs ).
    ----->  UPDATE:
    I just found this ANE which  includes a class called 'SystemProperties', to find the IMEI/IMSI/serial/phone number on Android, and the MAC address on iOS:
    https://github.com/mateuszmackowiak/NativeAlert
    I have verified that the iOS part works, but haven't tried the Android side, yet.  Note: for iOS, it will also give you a UUID ( even though the object tag claims it is the UDID -- it's not ), which is worthless as a persistent means of identifying the device. since it gets reset on each app re-install.  So, for iOS, you have to use the MAC address, unless you are willing to store/restore the UUID into EncryptedLocalStore, as suggested by a user in:
    http://stackoverflow.com/questions/6794493/get-unique-identifier-mac-address-udid-etc-in-a dobe-air-for-ios

  • Is it possible to create a 1 D array with the "build array VI"? when receiving random number

    Hello all,
    Is it possible to create a 1 D array with the "build array VI" when receiving random number?
    I am receiving random data and the build array VI always create a 2D array which might cause some problem if you want to compute certain type of operation after.
    Any example will be welcomed.
    Thank you,
    Israel 

    Hello Lynn and Yamaeda
    First I want to Thank you Lynn for your linguistic contribution indeed "Build Array" is a primitive and not VI, thank you for the education. In reality what I am doing is simple.
    I have two arrays of complex elements Array1 and Array2.
    Array1 conains the complex elements ""(a0+ib0) ; (a1+ib1) ;...(an+ibn) ;
    Array2 conains the complex elements ""(c0+id0) ; (c1+id1) ;...(cn+idn) 
    What I want to do is the multiplication of the first array by the  conjugate of the second array element.
    Array1*(Conjugate Array 2)" for the first element the results is "(a0.C0-b0.d0) + i(b0c0-a0d0)" and the etc...
    and then taking the square root ([(a0.C0-b0.d0) power of 2]) +  [(b0c0-a0d0) power of 2])
    I was wondering if there were some dedicate primitive that could solve the computation above which is the cross correlation in Frequency domain.
    Thank you very much.
    Israel

Maybe you are looking for

  • Itunes doesn't play certain songs and just stops working

    it was fine a couple of weeks ago but now it just doesn't play some songs and whenever I doule click those songs it went straight to "Itunes has stopped working." and I have to close the program. Today I just bought a song from Itunes store and it do

  • Java on Mac please help me

    Hi Java is supposed to be platform independent. I've done an app. on windows (in java sdk) and I can run it on a mac, but the program doesnt do what it should do. The app. contains a drawing-class, and thats were the big problem is. When I try to set

  • How to write functional requirements

    Hello, I need your help in this matter. There is  SAP PM/CS analyst opening in our company. I've been offered that position but I don't  how to write the functional requirements for the developers in case we want to make some customization in the sys

  • Assert &  writing code that should never be reached

    hi dudes, i thing i got that assertion-stuff right BUT there is one thing confusing me: from my book: "The following idiom can be employed to explicitly test that certain locations in the code will never be reached. assert false : "This line should n

  • Kind of approach to use..???

    Hi All, i am going to use report generation in java (Struts). The report o/p can be any format like pdf, html, doc, excel like this... The problem is, if there is any link in the above downloaded file, if the user clicks on that link that report also