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

Q1.Write a C program which asks the user for a number between 1 to 9 and shows the  number. If the user inputs a number out of the specified range, the program should  show an error and prompt the user for a valid input.

0 Answers  


How to get the index of the clicked field in reports in ABAP?

0 Answers   Deloitte,


Hi guys... I have one doubt ..Exception is a runtime error then why we have checked exception... Thanks in advance

2 Answers  


Given a set. Write the pseudo code to get all the subsets for the given set. Eg. Input : {1,2} Output : (),(1),(2),(1,2)

0 Answers   Goldman Sachs,


What is test execution and when will we start execution please send me one example for this question

0 Answers  






Find out the list of roles which gives access to GUI activities? thanks in advance

0 Answers  


What is procedural oriented language language..? give some examples of this language....?

0 Answers  


9.Difference between even and odd signals?explain with the diagram?

0 Answers  


in teradata level primary in table level allows duplicates why?

0 Answers   TCS,


What is the meaning of client-server application. The purpose of Client-Server Application. with description.

0 Answers  


what is log files in qtp what is use

0 Answers   HSBC,


In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?

0 Answers  


Categories