how to run servlets in eclipse 3.3.2....if we choose
file->new->servlet then after that it is showing
javax.servlet.* ...cannot be resolved.......to avoid this
error any external jar file is to be added?

please help me regarding this issue........thank u

Answers were Sorted based on User's Feedback



how to run servlets in eclipse 3.3.2....if we choose file->new->servlet then after that it is..

Answer / prasad

RIGHT CLICK ON YOUR PROJECT--> PROPERTIES---->
ACTIVE "LIBRARIES " PANE---> ADD EXTERNAL JAR--> GO INSIDE
YOUR TOMCAT/.../LIB/SERVLET-API---.NEXT-->FINISH

SO THAT SERVLET-API.JAR FILE WILL BE ADDED.

Is This Answer Correct ?    7 Yes 3 No

how to run servlets in eclipse 3.3.2....if we choose file->new->servlet then after that it is..

Answer / thulsz

Add Servlet-api.jar file into ur eclipse,this jar file will
basically available in tomcat's LIB....

Is This Answer Correct ?    5 Yes 2 No

Post New Answer

More Programming Languages AllOther Interview Questions

Given a arbitrary pointer to an element in a singly linked list?what is the time complexity for its deletion .

1 Answers   Hughes,


whats the use of following Good Coding Practices?

2 Answers  


Why multiple inheritance is removed in java?

4 Answers   TCS,


Explain with examples any 2 features of OOPS.

0 Answers   Tavant Technologies, Verifone,


Please anyone tell me coding to print prime numbers from 1 to 5000 in c#....

2 Answers  






why not instantiating servet using new operator?

0 Answers  


How can we develop a multi-tier application in Java?

0 Answers  


how to study PHP my own? i reffered many sites.. but as being a fresher i couldnt follow those... which site will be the best one?

0 Answers  


merge sort time complexity

6 Answers   BFL, CDAC, IBM, Jawaharlal Nehru Technological University JNTU,


hi This is radhika.Can anyone help me to know the question papers of NATIONAL INFORMATICS CENTRE for the post of scientific officer/engineer? if anyone know plz tell me question paper pattern

0 Answers  


how many languages .net is supporting now?

2 Answers  


There are 2 tables: EMP : EmpId, Ename, Sal, DeptId DEPT : DeptId, Dname Write a query to find out emp names and their department names. if any emp has null in Deptid the it shows ?No Department?. Write a query to find out those department names which has no employee. Write a query to find out those employees whose salary is greater than their department?s average salary.

1 Answers   Oracle,


Categories