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 / anji

The structure of the web app. is
demo[root]
- all jsps will go her
- WEB-INF
- web.xml
- tld files
- classes
- all java class files will go here

Compile all the files and create a war file
copy the war file into Tomcat_root\webapps folder
if you use weblogic or webspehere the deployment will be
different.

Is This Answer Correct ?    41 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different mode that servlets can be used?

1015


How can the session in servlet be destroyed?

1154


What are the drawbacks of cgi?

1035


How do you communicate in between Applets and Servlets?

1061


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

3391


How do you deal property files in servlet?

1061


Can we override destroy method in servlet?

985


How is an application exception handling is done using a servlet?

1016


Why is Servlet so popular?

1066


When servlet object is created?

1150


Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?

1249


Which java framework is most popular?

1136


How to get the current httpsession object?

1115


What is the use of httpservletrequestwrapper?

1091


What is the importance of init() method in Servlet ?

1076