Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I configure my application to provide access for mobile and web brow

829945Jan 10 2011 — edited Jan 10 2011
Hi everyone.

I have one application and I need to provide access for mobiles and desktop browsers, and I don't know how do I configure my application to do this.

Let me explain:

In my jDeveloper I have One application and 3 projects:

-Mobile (here is my mobile application)
-Model (here is my model)
-ViewController (here is my Web Browser application)

In Mobile I have
JavaEE Web Application name: mobile-Mobile-webapp
JavaEE Web Context Root: mobile

ViewController I have
JavaEE Web Application name: mobile-ViewController-webapp
JavaEE Web Context Root: myapplication

When I run some page of ViewController I have this URL "http://localhost:7101/myapplication/index.jspx".
When I run some page of ViewController I have this URL "http://localhost:7101/mobile/index.jspx".

My problem is that, I want to have Just one landing URL like that "http://localhost:7101/myapplication/index.jspx" and when I get this URL by Desktop Browser my ViewController is showed, and when i get by Mobile the Mobile project is showed.
Someone knows how do it?

Thanks....

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 7 2011
Added on Jan 10 2011
2 comments
148 views