Reach different devices with same website

Hi,
I have developed a website using spring and hibernate mostly. I now would like to also make it accessible from mobile device. Is there maybe a (framework) that can change the response my website is sending into content accessible by the mobile device.
This thing came to my mind because usually developers develop a website for the personal computer and another for the mobile device. However today there are also PDA�s out there! So would they need to develop another website!
Also usually a company has a domain such as �www.company.com� Now is there a way how to know what type of browser is trying to access the domain, and if it is a browser on a mobile then you give him the mobile version else the pc version, and so on!!
Web development for mobile is still new to me and I only find a document from w3c schools on the internet talking on such a thing (standards mostly). However I am mostly interested in technology to help me do this out.
Thanks and Regards,
Sim085

Hi i'm not really sure tht this what u are looking for however....
request.getHeader("User-Agent")
This method would return the client agent (eg: IE,mozilla,netscape,WML client...) of the client....
NOTE: If U r using Legacy clients like an APPLET,Swing,MIDLET ..... we should take an initiative to add in a requestproperty.....
But i think this should help u by certain means....
However i would like to add in a point here....
It wud be a better idea if U can go wid a neutral architecture.... where the output of your View layer is a text/xml reponse.... & Your presentation layer should take care of handling specific clients....
REGARDS,
RaHuL

Similar Messages

  • Can I run 2 different domains with same name but on 2 different machines?

    I am trying to setup 2 domains with same name (sharedcds1) on 2 different machines (Machine1 and Machine2).
              When I start the weblogic managed server 1 (sharedcds1managedserver1) on Machine2, it throws an error saying it has some conflicts with the managed server 1 running on Machine1. How did the managed server of one machine know about the other server. Can I run 2 different domains with same name but on 2 different machines?
              Here is the error in the log -
              <Jun 14, 2005 10:53:29 AM EDT> <Error> <Cluster> <BEA-000123> <Conflict start: You tried to bind an
              object under the name weblogic.transaction.coordinators.sharedcds1managedserver1 in the JNDI tree.
              The object from 4596206652609838848S:130.170.61.153:[9505,9505,-1,-1,9505,-1,-1,0,0]:sharedcds1:s
              haredcds1managedserver1 is non-clusterable, and you have tried to bind more than once from two or m
              ore servers. Such objects can only be deployed from one server.>
              <Jun 14, 2005 10:53:29 AM EDT> <Error> <Cluster> <BEA-000123> <Conflict start: You tried to bind an
              object under the name weblogic.transaction.coordinators.sharedcds1managedserver1 in the JNDI tree.
              The object from 8842351474821025197S:130.170.61.154:[9505,9505,-1,-1,9505,-1,-1,0,0]:sharedcds1:s
              haredcds1managedserver1 is non-clusterable, and you have tried to bind more than once from two or m
              ore servers. Such objects can only be deployed from one server.>
              Thanks
              Satish

    Yes you can. Make sure that domains configured to use different multicast address. WLS uses multicast for communications between nodes in domain.
              although your configuration will work, you could have troubles if you going to execute inter-domain calls between domains/servers with the same names.

  • Can I use two different devices with different apple ID for backing up data on one machine without losing any data that was backed up with one device earlier?

    Can I use two different devices with different apple ID for backing up data on one machine without losing any data that was backed up with one device earlier?

    The link is to a discussion started on 12/18 in the FiOS Internet forum.  Here's the link I get now, however it is different than the link I pulled a few hours ago.  If this system changes the link again, it may not work.
    http://forums.verizon.com/t5/FiOS-Internet/Frustration-and-just-confused-with-internet-help-please/t...
    You can also look for the topic, "frustration and just confused" in the FiOS Internet forum.
    Here's a link that is in the thread that gives more detail.
    https://secure.dslreports.com/faq/15984
    Good Luck!
    P.S.  "Copper Contributor" is my "rank."  gs0b is my user name.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.

  • Requesting license for two different ssystem with same SID

    Hello,
    Is it possible to request 2 license for two systems with same SID. The systems are on different machines and their HW key are different but both have same SID. While requesting license, will it permit to create 2 different license with SAME SID.
    Regards
    Deb

    Hi Anil,
    The one for which the license is already requested is the main development portal with SID EP2. I have installed one local version of SAP EP with the same SID EP2. Now we need a license for the second system.
    If we change the HW key of the original license which is already applied in the main development portal under SMP and apply for a new license for the new local version, can it have any future implications, if any.
    What is the best way to deal with the situation. Is there a full proof way to change the SID of the EP system, which I can try in the local EP system.
    Regards
    Deb

  • HT204053 Can you sync pages files on different devices with different apple ids?

    Can you sync pages files on different devices with different apple ids?  I have a personal iPad and one given to me for work. They are set up with two different apple IDs.  I do all of my lesson plans in pages.  I want to be able to create plans on both devices, but need to know if there is a way to sync the files without emailing, etc.

    Welcome to the Apple Community.
    No, that's not possible. A better way of working around this than emailing the documents to yourself is to use a third party storage solution such as Dropbox and a webDAV server to upload the documents.

  • Linking different devices with the same Apple ID

    I was wondering if there is a way to link different device to connect and push to each other within the same Apple ID. For example I have and iPad 2, iPhone 4 and MacBook Air. While my mom has an iPad, iPhone and uses our Mac desktop. My sister has her own iPod and so does my brother. We all use the same Apple ID to save money and make things easier. Is there any way to connect our own devices. It become inconvenient when games start downloading on my device or inappropriate songs I download go onto my sisters as she is 9. If there is no way to do this, would it be hard to ask for the ability for me (under the same Apple ID as my mom, brother and sister) to set it up so my devices push to each other. Meanwhile my mom could connect her device together? Thank you to anyone who helps in advance.

    Up to 5 devices can share the same Apple-ID for iCloud and share / sync happily. You can selectively disable or enable components to sync or not, using the icloud controlpanel on Windows, the system preference pane in Lion or the settings->icloud in iOS5.
    You just must ensure that all devices and machines run the compatible versions of OS and apps.
    Macs : Lion 10.7.2 + iphoto latest
    PCs : Vista / Win7 with Outlook, itunes 10.5 and icloud controlpanel
    iDevices: iOS5

  • How to synch two different devices with two different Apple ID's without merging them?

    I have an iPhone 5 and iPad linked to my Apple id. My son just got his first iPod touch with his own Apple id. We use the same PC to backup and synch our devices.
    The problem I have is since he got his iPod touch, all his downloads get installed on my devices, and we don't want that. Can someone help me by explaining to me how we can use the same iTunes and the same computer to backup and synch our devices, without having his apps install on my devices?
    Thanks in advance!
    Pablo

    How to use multiple iPhone, iPad, or iPod devices with one computer

  • Different cpuspeednw on two different hosts with same cpu config. Why?

    Hi,
    there are two hosts.
    They are different, but have same CPU configuration (I guess it from the output below).
    Host1: Solaris 10, 4 cpu, 4 core in each cpu.
    psrinfo -v
    Status of virtual processor 0 as of: 03/04/2010 08:57:45
    on-line since 12/25/2009 11:03:23.
    The i386 processor operates at 2133 MHz,
    and has an i387 compatible floating point processor.
    Status of virtual processor 15 as of: 03/04/2010 08:57:45
    on-line since 12/25/2009 11:03:25.
    The i386 processor operates at 2133 MHz,
    and has an i387 compatible floating point processor.
    Host2: CentOS 5.3. Also 4 cpu, 4 cores in each spu
    cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Xeon(R) CPU E7320 @ 2.13GHz
    stepping : 11
    cpu MHz : 2133.413[b]
    cache size : 2048 KB
    physical id : 0
    siblings : 4
    core id : 0
    cpu cores : 4
    apicid : 0
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca c
    mov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constan
    t_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
    bogomips : 4270.09
    clflush size : 64
    cache_alignment : 64
    address sizes : 40 bits physical, 48 bits virtual
    processor : 15
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Xeon(R) CPU E7320 @ 2.13GHz
    stepping : 11
    cpu MHz : [b]2133.413
    cache size : 2048 KB
    physical id : 6
    siblings : 4
    core id : 3
    cpu cores : 4
    apicid : 27
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
    bogomips : 4266.82
    clflush size : 64
    cache_alignment : 64
    address sizes : 40 bits physical, 48 bits virtual
    QUESTION:
    Host1 (Solaris) has cpuspeednw = 700
    Host2 (CentOS) has cpuspeednw = 1700
    WHY?
    What should I do to find out why this is happening?
    Edited by: user10944480 on Mar 14, 2010 7:22 AM
    Edited by: user10944480 on Mar 14, 2010 7:24 AM

    user10944480 wrote:
    QUESTION:
    Host1 (Solaris) has cpuspeednw = 700
    Host2 (CentOS) has cpuspeednw = 1700
    WHY?
    What should I do to find out why this is happening?
    The CPUSPEEDNW is measured in "millions of Oracle operations per second" - but we don't know what "operation" Oracle is using for measuring. Since you have two difference operating systems, it's possible that the "operation" that Oracle uses is one that makes use of the "OSD" (operating system dependant) code and has a very different code path on the two machines that results in a very different speed of completion.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
    There is a +"Preview"+ tab at the top of the text entry panel. Use this to check what your message will look like before you post the message. If it looks a complete mess you're unlikely to get a response. (Click on the +"Plain text"+ tab if you want to edit the text to tidy it up.)
    +"Science is more than a body of knowledge; it is a way of thinking"+
    +Carl Sagan+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Lightroom reinstallation on different mac with same serial number.

    im using lightroom on my mac air.
    and im planning to buy a mac pro soon.
    in that case, is it possible to use lightroom on my new mac pro with the same serial numbers that im using now on mac air?
    (im not going to use lightroom on mac air)

    Adobe allows two installations of Lightroom on different computers with the proviso that only one can be used at any one time. (There is no on-line activation/de-activation process, only your honesty.)
    Just install on the new mac pro with the same serial number.
    Note: If the Mac Air has an "update" version installed (for example -you upgraded from LR3 to LR5) then you will need both Serial Numbers for LR3 & the LR5-update, to install on the new Mac pro.

  • Set up family on several devices with same apple id

    I have successfully started Family from my iphone and got my kids and wife connected. But when trying to add my ipad with same id as I use on my iphone I cannot succeed. It states that an account can only be connected to one family at a time. How is the procedure for this?

    I could have solved it by inviting myself.

  • Create a different db with same db_name and now cannot start apex

    Hi All
    we create a db in the same box with my old db.
    The purpose is we need to change the default character set to unicode.
    And How do we start apex?
    Is there a command line tool to start apex?
    -Thanks for the help!

    Hi umesh,
    Thanks for your help.
    That means we can set up two database with same db_name and domain is system. the duplicate DB (second DB) does not affect primary DB in system and makes a confusion for client application? suppose i use TNS to control each DB by IP .
    also, can we use db_link to link two differnet OS plastform( window 32 bit and linuc 64 bit redhat with service name) oacle version is 10 g too?
    I try to configure a TNS in primary DB tnaname file but fail with TNS : no listener ora-12541 during connect linux DB server.
    But I copy this TNS to new window 32 bit PC with oracle client. it works to link to linux db services.
    which issue?
    Thnak for help
    JIM
    Edited by: user589812 on Jul 3, 2009 9:00 AM

  • I have the same itunes account on two different devices with different information.  how can I merge the two?

    I have an ipad which was synced with an old computer.   I have moved everything to the icloud from my new computer and iphone besides what is on the ipad.  The itunes account is the same, just different info on the two.  How do I merge them? 

    Hello there, Shininglight66.
    It sounds like you're asking how to get content on the iPad transferred down to your computer. The following Knowledge Base article should help out with that issue:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/HT1848
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • How do i back up 2 different devices with the same ID but different content, without losing any content?

    I have 2 iPads but just one ID. I use the iPad 2 and my daughter uses the mini. Both have different contents, as her mini contains a lot of videos that she's taken. Niw, I just bought an iPad Air and want to essentially transfer my iPad 2 contents there and also transfer my daughter's mini contents to that iPad 2. If I back up both to the same computer, will I have access to both sets of content and transfer the data to whichever device as I see fit? I just want to make sure so I don't lose any of her content (especially).
    Thanks!

    Using iTunes on a computer, be sure to set the backup(s) to be stored locally and not the iCloud for efficiency's sake. If all devices belong to the same AppleID, each one will store its backup on a separate file, and if appropriate, you can choose any for a restore as needed. As shown in Diavonex pic, the backups are listed in Preferences / Devices. Hover the cursor over each and a popup will appear detailing which device it belongs to. And you can keep, if needed, more than one backup of a device: control-click on the backup to preserve and choose Archive from the menu (Older backups get overwritten otherwise).

  • Multiple Devices with Same ID but Different Contacts

    My family and I all use one apple id on one computer. I have 5 kids so they all wish to share music and such on their multiple devices.
    But, they wish to keep their contacts separate.
    Is there an easy way to do this?
    I have heard of having several iClouds, but I wish to not do this if possible.
    Thanks!

    If you are comfortable still using the same AppleID, you can always purchase more storage at a very low cost. Just go to settings>icloud>storage & backup>and change storage plan. You can upgrade for as little as $10. Hope this helps!

  • How do you merge a backed up library with a different library on a different device but same account, not shared?

    I have a backed up library from a now broken PC.  I want to move it to the library on my husband's laptop.  It's the same iTunes account but we've never been able to share libraries, we've tried many times.  How can I get the backed up library into the one on his laptop?  As my PC is now dead, I have no access to my iTunes content, just a back up.  Hope someone can help?

    Restore the backup of your library to any suitable location then shift-start iTunes to switch libraries. See iTunes: How to open an alternate iTunes Library file or create a new one for details.
    See also Recover your iTunes library from your iPod or iOS device.
    tt2

Maybe you are looking for