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

Is it possible to have a constructor inside the servlet?

953


How do you create a cookie using servlet?

1094


What are the advantages of cookies?

1063


What is servlet configuration?

1001


Can you use javascript in servlets?

1024


What are some advantages of storing session state in cookies?

962


Explain web application directory arrangement?

999


What is URL Encoding?

1100


What's the use of servletcontext?

1095


What’s the difference between sendredirect and forward methods

1009


Difference between doget and dopost?

1111


What are all the advantages of servlet over cgi?

1019


Which event is fired at the time of project deployment and undeployment?

1260


Describe the phases of servlet lifecycle?

1028


What are the differences between the servletconfig interface and the servletcontext interface?

1111