Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

servlet

 
Priya Pichamuthu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm stuck. Is it possible to write a simple servlet that sends an HTML page to the client? Thanks.
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
of course! -- That's what many servlets do (although its easier to create something basic like that in a JSP page).
Here's an example of a simple Hello World type servlet that I found through google:
What does a simple Hello World-servlet look like?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!