Ask Experts Questions for FREE Help !
Ask
    EldaSummer's Avatar
    EldaSummer Posts: 3, Reputation: 1
    New Member
     
    #1

    Oct 24, 2012, 12:08 AM
    Help in completing the following Servlet code!
    <html>
    <body>
    <form method="get" action="myServlet">
    Topic:<input type="text" name="topicName"/> <br/>
    Comment:<input type="text" name="commentText"/>
    <br/>
    </form>
    </body>
    </html>

    Complete the following Servlet code:

    public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {

    // Complete the code

    }

Check out some similar questions!

How to make a servlet page to valide two type of files(pdf and .jpg) storing the file [ 0 Answers ]

Please do help me with the code. Thanks in advance

Servlet,html form problem [ 1 Answers ]

Servlet,html form problem? Hi,this is hancok.I am getting the error when I click submit button after filling the fileds of the form. the eror is as follows. This webpage is not found. No webpage was found for the web address: file:///C:/formapp/f1?text1=madhu&age=18… More information on...

Doubt in Servlet [ 4 Answers ]

Hi Guys.. I got error when I call plain code in servlet.. Kindly look my program BeerExpert.java import java.util.*; public class BeerExpert

Unable to include servlet package [ 1 Answers ]

I have installed apache tomcat 5.5 n also set the classpath but at the time of compiling the servlet prog it is giving error unable to include import javax.servlet.*; n cannot find many symbol like HttpServlet,ServletConfig... So give me some answer on this.


View more questions Search
 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.