Hi all,
I have written a simple
servlet that I want to invoke from a web page. Basically, I want to be able to load my initial webpge, enter an email address and click submit. I want this page to pass the email address to my servlet, I want the servlet to return a list of customers associated with that email address and post them to a webpage.
Do any of you know of any tutorials I could follow to achieve this?
Most of the tutorials I have seen dynamically create the display HTML webpage, e.g.
out.print("<html><head>");
I don't want to do this. I want to creat my own webpage in my own style and have the serlvelt populate it with customer data, not dynamically create the page.
I have tried the following from my doGet() method but it doesn't work. The dispatcher is created but the html file doesn't load.
Any help is welcome,
David