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

Explain the war file?

1077


What is the difference between context parameter and context attribute?

1056


What are all the ways for session tracking?

1171


What is a web container and what is its responsibility?

983


What is the use of httpservletresponsewrapper?

982


Difference between GET and POST?

1164


What are the functions of an intercepting filter?

958


What is cgi?

1032


What is the difference between CGI and Servlet?

1085


How many objects of a servlet is created?

1277


How will two or three servlets interact or communicate with each other?

1450


Explain in brief the directory structure of a web application?

1112


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

1142


What is servlet? Explain

1071


Define the life cycle of a servlets.

1065