This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

servlet showing blank page.  RSS feed

 
achuthan mukundarajan
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 66186
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!