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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 60
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: 60045
    
  65

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet showing blank page.
 
Similar Threads
/test/GreetingServlet doesn't work
Accessing servlet
/test/GreetingServlet doesn't work
call Jboss rule from jsp or java servlet
Problem with accessing servlet from browser