Girish Babu

Greenhorn
+ Follow
since Mar 18, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Girish Babu

Hey with the last line message you have typed it seems your server is perfectly launched and you can test it by opening the IE and type http://localhost:8080, it should open the index.jsp for you,
19 years ago
HI,

in your command prompt before doing javac type this and try:

set classpath=%classpath%;c:\jdk1.4\lib\servlet-api.jar;.;

then compile,

still if it is not compiling then let us knw the web-server u r planning to host your servlet on, may be someone can help you,

Girish
19 years ago
Hi All,

Can any body please let me knw if there is going to be any problem if i create multiple threads in a Servlet,

thanks in advance,
girish
19 years ago
Hi All,

i wanted to know if there is going to be any problem if i create and use multiple threads in a servlet,

the code is working with multiple threads but i wanted to understand if there is going to be any kind of problems in the future or is there any problem with the performance,

thanks in advance
19 years ago
Hi All,

for one of my requirements i am forced to create threads inside a servlet adn it is kind of working fine,

but what i want to understand is, will it have any side effects? will it affect the performance of my application in any way, because i am opening a socket connection to some other server from within my servlet and i want a thread to keep track of my servers socket?

please do tell me is it ok do this or is there anyother way to achieve the same..

thanks in advance,

Originally posted by karthik rajendiran:
Hi,

First of all u have to understand why u r extending the HttpServlet Class, if u want any Http Method to be handled in ur servlet better you override the service method,

your container is designed to handled your servlets depending on the Http methods,

once you override the doPost method and not the doGet, your container understands that you are restricting the user by sending the request by GET method, hence the error,

19 years ago