FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Does an Emulator Have browser in it?

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
Johnnyman



Joined: 15 Jul 2009
Posts: 9

PostPosted: Fri Jul 24, 2009 11:08 am    Post subject: Does an Emulator Have browser in it? Reply with quote

I am using an xhtml scripting while building a wap site.
I connect my server using a midlet.
I get displayed all my html codes and when i browse the same xhtml code using a web browser i get my result.
Where am i mistaken?
PLease help me

JOhnnyman
Back to top
View user's profile Send private message
Karol Harezlak
Posted via mailing list.





PostPosted: Fri Jul 24, 2009 11:33 am    Post subject: Does an Emulator Have browser in it? Reply with quote

Some of the emulators have web browser for example Nokia S60.

Karol

Johnnyman wrote:
Quote:
I am using an xhtml scripting while building a wap site.

I connect my server using a midlet.

I get displayed all my html codes and when i browse the same xhtml code using a web browser i get my result.

Where am i mistaken?

PLease help me



JOhnnyman












--
Karol Harezlak <address-removed>
Sun Microsystems, Inc. NetBeans Mobility
Back to top
Johnnyman



Joined: 15 Jul 2009
Posts: 9

PostPosted: Fri Jul 24, 2009 12:08 pm    Post subject: Re: Does an Emulator Have browser in it? Reply with quote

Karol Harezlak wrote:
Some of the emulators have web browser for example Nokia S60.

Karol

Johnnyman wrote:
Quote:
I am using an xhtml scripting while building a wap site.

I connect my server using a midlet.

I get displayed all my html codes and when i browse the same xhtml code using a web browser i get my result.

Where am i mistaken?

PLease help me



JOhnnyman





Well thank you for your answer. But i still have a problem figuring out.

I am using netbeans 6.7 beta version.
I wanted to give a try building a wap site.

What have i done so far is i have created a simple web application which contains a simple hello.xhtml file .

I have also built a Mobile Application where i have a HelloMidlet which uses HttpConnection to connect to the url as such
http://localhost:8084/WebApplication/hello.xhtml

and i have also changed web.xml file where i have written something like
under

<web-app>
<mime-mapping>
<extension>xhtml</extension>
<mime-type>application/vnd.wap.xhtml+xml</mime-type>
</mime-mapping>


But still i get the xhtml codes in my emulator i.e is watever it is in hello.xhtml.
Please help me figure out where have i gone wrong.

Thanking you
Johnnyman

</web-app>












--
Karol Harezlak <address-removed>
Sun Microsystems, Inc. NetBeans Mobility
Back to top
View user's profile Send private message
Johnnyman



Joined: 15 Jul 2009
Posts: 9

PostPosted: Sun Jul 26, 2009 6:59 am    Post subject: Re: Does an Emulator Have browser in it? Reply with quote

Any links or tutorial where i can learn as to how to build a wap site.
Is a Midlet really required to build a wapsite.

Please help

Johnnyman
Back to top
View user's profile Send private message
Karol Harezlak
Posted via mailing list.





PostPosted: Mon Jul 27, 2009 9:22 am    Post subject: Does an Emulator Have browser in it? Reply with quote

Johnnyman wrote:
Quote:
Any links or tutorial where i can learn as to how to build a wap site.

Is a Midlet really required to build a wapsite.

No, to create wap site you don't need Java ME or Java at all. There is a
lot of different technology which can be used to create wap site. I'm
sure there is a lot of tutorial available on the Internet.
Quote:


Please help



Johnnyman












--
Karol Harezlak <address-removed>
Sun Microsystems, Inc. NetBeans Mobility
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB