File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Question about dispatcher Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Question about dispatcher" Watch "Question about dispatcher" New topic

Question about dispatcher

Steven Ang

Joined: Dec 26, 2009
Posts: 1
Good morning.

I am investigating some functionality which i wish to implement using spring framework.
We are developing a RIA Web Application using Spring and Flex.
One of our requirements is the application should redirect the user to its correspond site based on the device they are using.

For example, user input the URL ( on their browser.
If the user is using the computer, then the browser will show the Flex interface logon page to the user.
If the user is using the mobile device(android, iPhone, Windows Mobile), then the browser will show another simple logon page.

Is this requirement doable? If yes, how can I achieve this goal?

Please help me.

Thank you and Good day
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

When you say iPhone and Android, you mean UI's built using their components, and not phone devices using the browser and viewing a web page.

Because I highly recommend against the Website approach. These devices created their apis to give a much richer and better experience to the User. Also on iPhone's FLEX doesn't work, it is Flash and Flash is not allowed on iPhone devices.

So the login screen should be the devices responsibility, meaning using their apis to create a login screen. (Notice I did not say login page)

Now you could always have a different URI request for mobile device browsers. Meaning it is in the URL that determines the view size.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Question about dispatcher
It's not a secret anymore!