|
Newsletters
|
|
|
|
|
| Wireless Developer Network Mailing List |
| |
| Mailing List Archives |
| Subject: | RE: Wireless Dev: RE: Need help (Servelet, WML) |
| Date: |
06/22/2000 09:57:52 PM |
| From: |
Premaselvi |
|
I have set all the 5 MIME type in the apache server. Those are (wml. wmls, wmlc, wmlcs, wbmp)
Also after your mail, i have set those 2 Addtype in the httpd.conf file. Still no improvements i got. I got the same error as "MIME type "text/plain" is not supported (http://www.oneloyalty.com.sg/servlet/com.ol.progsvr.servlet.PGLogonServlet)
Currently i am using Nokia Gateway only. If any one has any suggestion?
Thanks Selvi.
-----Original Message----- From: Bryan Morgan [mailto:bryan@wirelessdevnet.com] Sent: Friday, June 23, 2000 10:16 AM To: wirelesslist@wirelessdevnet.com Subject: Re: Wireless Dev: RE: Need help (Servelet, WML)
What web server are you using? Have you set the WML MIME types?
For Apache:
Add this to the httpd.conf file:
AddType text/vnd.wap.wml .wml AddType text/x-hdml .hdml
Bryan
----- Original Message ----- From: Premaselvi <selvi@oneloyalty.com> To: Ryan Fife <fife@AnywhereYouGo.com>: <wirelesslist@wirelessdevnet.com> Sent: Thursday, June 22, 2000 8:51 PM Subject: RE: Wireless Dev: RE: Need help (Servelet, WML)
> Hi All, > I tried to call it as here. I am using Nokia Gateway. > > <go href="http://webserver/servlet/com.ol.progsvr.servlet.PGLogonServlet" > method = "post" > > <postfield name = "username" value = "s7616234"/> > <postfield name = "password" value= "prupin28"/> > </go> > > I can run the servelet otherwise. Now when i call from WML i get the error > like MIME type > text/plain is not supprted. Do we have to consider some thing when we create > the servelet or > do i have to set some parameters in the WML client side? > > I am just curious as whether we have to create the servelet in a specific > way to be called by WML. > > Thanks. > Selvi. > > > > > > > > -----Original Message----- > From: Ryan Fife [mailto:fife@AnywhereYouGo.com] > Sent: Thursday, June 22, 2000 1:08 AM > To: wirelesslist@wirelessdevnet.com > Subject: Re: Wireless Dev: RE: Need help > > > > Jonathan Meadows has written an article on building servlets to output > WML content. As far as calling a servlet from WML goes - just make the > servlet the destination of a link or post > > <a href="http://mycompany/myservletzone/servlet"> some link </a> > > or the target of a go > > <go method="post" href="http://mycompany/myservletzone/servlet"/> > > (in the proper context of course...) > > On Wed, Jun 21, 2000 at 06:40:23PM +0800, Premaselvi wrote: > > Hi Every one, > > I need some help. > > I want to call a servelet from a WML. Is it possible? Has anyone done > this? > > If so please let me know the URL where i could refer? > > > > Thanks in advance. > > Selvi. > > -- > Ryan Fife > fife@AnywhereYouGo.com > Creators of the world's first online WAP testing tool: > http://www.AnywhereYouGo.com/Content.po?name=lab/About > On Wed, Jun 21, 2000 at 06:40:23PM +0800, Premaselvi wrote: > > Hi Every one, > > I need some help. > > I want to call a servelet from a WML. Is it possible? Has anyone done > this? > > If so please let me know the URL where i could refer? > > > > Thanks in advance. > > Selvi. > > -- > Ryan Fife > fife@AnywhereYouGo.com > Creators of the world's first online WAP testing tool: > http://www.AnywhereYouGo.com/Content.po?name=lab/About
|
|
|