How do I configure my application to provide access for mobile and web brow
829945Jan 10 2011 — edited Jan 10 2011Hi 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....