This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlet to html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet to html" Watch "Servlet to html" New topic

Servlet to html

sharjeel afzal

Joined: Sep 30, 2009
Posts: 22
how a servlet redirected to a html page and set the html attributes.....
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63351

You'll need to use complete sentences and explain what you are asking a bit better. For example, what are "html attributes"?

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
samir singha

Joined: Mar 17, 2008
Posts: 23
You can redirect to a page from a servlet by using RequestDispatcher if want to redirect within the servlet container use response.sendRedirect("url") method to redirect to another server. which html attribute you want to set??
It is sorta covered in the JavaRanch Style Guide.
subject: Servlet to html
jQuery in Action, 3rd edition