i feel that maybe u need to get into the fundamentals of Web Programming,
John. Well, anyway, you can of course use the HTML files that have already
been written.

let me explain.
first, what you do is create a static HTML page(in case of your user login
page). then, give the page a form tag(prewritten) which has the action
attribute which calls a servlet and does the needful processing. then the
servlet can be used to do two things. either use the out.println() function
and output html, or it can use a response.sendRedirect(String URL) function,
where u might be able to use your other page.

Servlets, ASP, JSP, etc basically are just to provide functionality like
dynamic web pages, database connectivity, etc. otherwise, the Web is built
upon HTML and relative technologies like JavaScript, etc.

So of course you can use your pre written HTML files!

Love Always,
Abhishek Shodhan.

John Hicks <[EMAIL PROTECTED]> wrote:

> ---------------------------------------------
>       Attachment:
>       MIME Type: multipart/alternative
> ---------------------------------------------
Hi Puneet:

Our XMLServlet does that.  See ceriumworks.com.

John Hicks
Cerium
XMLServlet XMLOutline XMLdb
  ----- Original Message -----
  From: Puneet Kuthiala
  To: [EMAIL PROTECTED]
  Sent: Wednesday, May 10, 2000 12:54 AM
  Subject: Prewritten HMLT Files


  HI All,
  Can anyone tell me how I can tell me how I can make use of prewritten Html
files in Servlest.
  For example, I have a login Page for getting user name and passwords and
then another html [age is to be diplayed with frames or layers, this page is
already present.
  Now whatever I have come across in the examples is we use print(), println()
function and our servler we specify the required HTML tags.
  I want to avoid it and use a pre written HTML File.
  I am new to the world of Java and JavaServlets, so a small code example will
help a lot.
  Thanks in Advance
  regards
  Puneet


  Sdr Software Engineering Pvt. Ltd.
  30, Gold Fields Palaza,
  Sasoon Road,
  Opposite Wadia College,
  Pune 411001.
  Maharashtra- INDIA
  Telephone:- 6053887,6053877, 6054199
  Extension;- 229
  Web:-www.sdr.com
  Personal Web Page:- www.puneet.cjb.net


____________________________________________________________________
Get free email and a permanent address at http://www.amexmail.com/?A=1

___________________________________________________________________________
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

Reply via email to