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

a characteristic of a multiprogramming is? a.simultaneous exe of pgm instr 4m 2 appli b.concurrent processing of 2 r more prgms c.multiple cpu s d.all the abov

0 Answers   TCS,


SYNFOSYS PLACEMENT PAPER 2010 Hi Friends I have attended the recent synfosys test 2010. Here r some questions which i remember. Section – I 1) There are 12 balls weigh similar but one is dissimilar (more/less). How to find the dissimilar ball with minimum no of weighs? 2) There r 7people carrying 7bags. Each bag contains 7cats. Each cat has 7small cats. How many total legs r there? 3) There are 12 balls weigh similar but one is dissimilar (more/less). How to find the dissimilar ball with minimum no of weighs? 4) 5) There r 2 poles each 15 meters high. A cable of length 16 meters is tied between pillars top. For its maximum the cable lies down above 7mts high from the ground. What is the distance between pillars? ------------------------------------------------------------ ------------------------------------------------ Section -II What is the value of 11^5 Some Other quetions ------------------------------------------------------------ ------------------------------------------------ Section - III 16) Serialization and deserialization? 17) Will finally block execute even though there is an exception & return statement are there in catch block? Explain? 18) memory leak? How can we avoid it? 19) virtual destructor? 20) Two program codes for code optimization? ------------------------------------------------------------ ------------------------------------------------ Section – IV Q) Program for finding the alternate digits of the number If number is 35846 then Sum1=3+8+6=17 Sum2=5+4=9 Q) Program for Single linked list? ------------------------------------------------------------ ------------------------------------------------ Section - V Q) What is software engineering? Explain SDLC Q) Explain any two upcoming IT Scenarios? ------------------------------------------------------------ ------------------------------------------------ Regards Gopinath Allanku +91 9885457211

2 Answers   synfosys,


why we use mantis? what u mean mantis in IT trends? addvantages of mantis?

0 Answers   HCL, Sacred Heart College,


what is difference between input parameter and output parameter.

0 Answers   NIIT,


How can you incorporate a Datawindow to a Oracle8i stored procedure?

0 Answers   IBM,






Caret means to you

1 Answers  


3.Give the formula for determine the range of the data type?

1 Answers  


how many keywords are present in "c"?

18 Answers   Assurgent, Cynosure Software, IBM,


what is c sharp dotnet

0 Answers   NIC,


Given an array of size n, containing every element from 1 to n+1, except one. Find the missing element.

0 Answers   Amazon,


SAS question: I have 50 fils a1,a2,...,a50. the primary key is upc. then if i want to merge all 50 files, the code is as follows, data test; merge a1 ... a50; by upc; run; we know that writing all 50 files name is time consuming, is there any standard format of this code?

0 Answers   Symphony,


How to swap values between two variables without using a third variable?

24 Answers   HCL, TCS,


Categories