aspose file tools
The moose likes Servlets and the fly likes servlet showing blank page. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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: 31
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: 56192
    
  13

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: servlet showing blank page.
 
Similar Threads
/test/GreetingServlet doesn't work
Problem with accessing servlet from browser
/test/GreetingServlet doesn't work
Accessing servlet
call Jboss rule from jsp or java servlet