This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
hi basically i am new to tomcat.... , and i am learning JSP. so, could any one tell me how to run a JSP file which is calling a servlet class file ... and i got some advice that we should make a war file and keep it in web-apps folder.. and then call that file in the URL like http://localhost:8080/filename but its not working.. pls guide me ... thank u in advance
Santosh, Its not a compulsion that you need to create a war for running the servlets and jsps on Tomcat. you can just put the class files as they are and can get them running . First you need to create your servlets then had to update the WEB-INF/web.xml with the servlet entries. In this WEB-INF folder only create a 'lib and classes inside lib' folder and add your classes to it. You should be able to access them.No need to go for war file,you can use war file , once you gain some expertise