aspose file tools*
The moose likes Servlets and the fly likes servlet showing blank page. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet showing blank page." Watch "servlet showing blank page." New topic
Author

servlet showing blank page.

achuthan mukundarajan
Ranch Hand

Joined: May 30, 2012
Posts: 87
I am new to servlets so i saw a tutorial on the net for the basic servlets . There is the index.jsp which has the following code:




there is a GreetingServlet.java which has the processRequest code as follows:



The values from the textboxes should be shown in the servlet . But i get a blank page. Why?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

What have you done to debug this? Is the servlet even being called? Add some logging to the servlet to see if it is, or use the debug console in the browser to observe the behavior of the requests and responses.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: servlet showing blank page.