No! I'm coding my pages in JSP
Main Topics
Browse All TopicsHello!
I have a website. Now I want to have a page for mobile device and their browsers... I saw a lot of websites have this option such as CNN, BBC and others...
How can I create a webpage for mobiles? Not WAP! A page which have 5 link and each link will open a page in mobiles... How can I do it? Is there any standards for it?
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
look at here it mighe help you...
http://www.webdevelopersjo
http://www.russellbeattie.
http://online.wsj.com/publ
http://www.adobe.com/produ
http://www.opera.com/produ
R.K
I just had a look at http://www.bbc.co.uk/mobil
First of all, we have to distinguish between two things: what protocol is used to transfer the pages, and what language are the pages written in. WAP, HTTP, HTTPS, and FTP are protocols, while WML, XHTML, HTML are languages.
Many mobile telephones nowadays can access the Internet. The only issue is to make html pages that are rendered well on a small screen. You can use JSP for that exactly as you use it for pages to be seen on a PC screen.
If you have a page mySite/myPage.jsp, what prevents you from writing a page mySite/mobile/myPage.jsp that is a "shrunk" version of the original myPage?
Or am I missing something?
Perhaps it would be interesting to check whether there are some client data that tells you what is requesting a page. Then, you could select between the normal and the shrunk page automatically. I have to check that.
I just checked. The only request field that might be useful is the user-agent. In JSP, the statement
request.getHeader("user-ag
will give you
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
with Firefox,
text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
with Opera, and
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.1)
with the Internet Explorer, at least with the versions of these browser I have installed on my PC.
Why don't you write a simple JSP page with the single line
out.println(request.getHea
and see what you get when you view the page from a mobile device?
You will never be able to try them all, but you might find something that distinguishes the mobile browsers from the others. :-)
All you have to learn basic xhtml and it wil do everything for you. u can easily develope a sitewhich will work fine on mobile phone (wap-2.0).
its almost the same as html and u'll not have to make any extra effor.
and test you pages on a wap-emularot. like wap-proof
hope your problem is solved now
bcz after knowing all this its not difficult to develip site for mobiles and all you can easily develop ur site.
save this line of code in "abc.xhtml" and run it on wap-proof.
--------------------------
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/D
<html xmlns="http://www.w3.org/1
<!-- Required head element -->
<head>
<title>Stale News Portal</title>
<!-- Include style sheet in the head section. -->
<link rel="stylesheet" href="style.css" type="text/css"/>
<style type="text/css">
</style>
</head>
<!-- Required body element -->
<body>
<!-- h2 style is defined in the style sheet -->
<h2>Stale News Portal</h2>
<p>
<img src="icons/news.gif" alt="new" />
Categories:
</p>
<ul>
<li><a href="entertainment.xhtml"
<li><a href="business.xhtml">Busi
<li><a href="world.xhtml">World</
<li><a href="weather.xhtml">Weath
<li><a href="updates.xhtml">SMS Alerts</a></li>
</ul>
<!-- The .small style is defined in the style.css stylesheet referred to in the <head> of this document. -->
<p class="small"><br/>
<a href="about.xhtml">About Stale News Portal</a>
</p>
</body>
</html>
--------------------------
bst of luck for ur project
-----------------
Kind Regards,
qasitouch.
Business Accounts
Answer for Membership
by: UnexplainedWaysPosted on 2007-06-23 at 03:40:57ID: 19347077
If you have Visual Studio 2005, you can create mobile pages.
It also has a phone emulator so you can see how it works.