Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to run a servlet program?

Answer Posted / subrahmanyam

We have to Make a WEB-INF folder and under it classes
folder. In WEB-INF we have to write web.xml .

Our compled servelet class file should be stored in classes
folder.

Make a war file using jar & deploy in Web.

Is This Answer Correct ?    97 Yes 27 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is a constructor needed in a servlet even if we use the init method?

1211


What are its drawbacks of cgi?

1189


What do you mean by singlethreadmodel interface?

1095


How can we refresh automatically when new data has entered the database?

1161


Given the request path below, which are context path, servlet path and path info?

1096


What are the benefits of using servlet over cgi?

1128


How can an existing session be invalidated?

1233


How will you pass values from HTML page to the servlet?

1101


How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255

3447


What is a servlet engine?

1098


What are the uses of servlet and what is servlet chaining?

1147


What is the process for chaining servlet?

1104


How to find whether a parameter exists in the request object?

1162


How do we go with database connection and log4j integration in servlet?

1237


Explain jsessionid?

1083