True, but where do you set the content type? You set it in the
web.xml file in the config directory of Tomcat.
Cheers!
Mark
----- Original Message -----
From: "Dan Mork" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 18, 2001 9:38 AM
Subject: Re: Servlets + WML
> Greetings Daniel,
>
> A Servlet is simply java code that handles an HTTP operation
and returns a
> text stream. With a Servlet, you control the content-type
(using
> HttpServletResponse.setContentType()) and content (using
> response.getWriter()) of that text stream. If you set the
content-type to
> WML and return WML than it's WML!
>
> HTH,
>
> Daniel Mork - [EMAIL PROTECTED]
> WebEKG - http://www.webekg.com/
> Burlington WA USA
>
> -----Original Message-----
> From: Daniel de Almeida Alvares
[mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 18, 2001 4:16 AM
> To: [EMAIL PROTECTED]
> Subject: Servlets + WML
>
>
> Hi, my name is Daniel and I would like to know if I can use
servlets with
> WML (Wap Technology). Can WML have forms that accesses my
servlets ?
> Regards and Thanks
>
> Daniel
>
> _______________________
> Daniel de Almeida Alvares
> Santos - SP - Brasil
> [EMAIL PROTECTED]
>
>
_________________________________________________________________
__________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
_________________________________________________________________
__________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
_________________________________________________________________
__________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html