This is exactly what JSPs are for. They allow us to separate the role of HTML
designer from Java coder.

-ernie

V Dhinakaran wrote:

> Hi,
>   You can keep the html in a file and open it in your doGet() or doPost().
>
> -----Original Message-----
> From: Yang XIAO <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Friday, February 18, 2000 3:59 AM
> Subject: servlet and html
>
> >Hi,
> >
> >Currently I just include html in my servlet using out.println("<html>
> >stuff"), but it's hard to debug and bad view when I look at the page
> source.
> >
> >Appreciate it if anyone could give me instructions on how to make the
> >servlet and html perfectly work together?
> >
> >I'm using JServlet 2.0 (I cannot use JSP?) and Apache JServ 1.0 on Linux
> >i386.
> >
> >thanks in advance
> >______________________________________________________
> >Get Your Private, Free Email at http://www.hotmail.com
> >
> >___________________________________________________________________________
> >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
begin:vcard
n:Varitimos;Ernie
tel;cell:781-929-3856
tel;home:781-784-1997
tel;work:781-784-3900
x-mozilla-html:TRUE
url:http://www.skyserver.com
org:Skyserver Consulting, Inc.
adr:;;144 Upland Rd;Sharon;MA;02067;
version:2.1
email;internet:[EMAIL PROTECTED]
title:President
fn:Ernie Varitimos
end:vcard

Reply via email to