Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > JAVA Technologies
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 14-02-07, 12:05 PM   #1 (permalink)
Junior Member
 
Join Date: Apr 2006
Location: India
Posts: 25
Thanks: 3
Thanked 1 Times in 1 Posts
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 3 abhijeet_pcl has disabled reputation
why we should not override service() in a servlet

why we should not override service() method in a servlet instead of overrriding helper method ie; doGet , doPost etc.
abhijeet_pcl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 15-02-07, 02:58 AM   #2 (permalink)
Member
 
Join Date: Aug 2006
Age: 25
Posts: 90
Thanks: 1
Thanked 10 Times in 7 Posts
Thanks: 1
Thanked 10 Times in 7 Posts
Rep Power: 3 rk_ramakrishnamca is on a distinguished road
Re: why we should not override service() in a servlet

Well, The service() method mustnot be overridded.Because the service() method having the code that passes the request to the either doGet() method or doPost() method, either of the those request are required by the client.
rk_ramakrishnamca is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
J2EE - What is meant by Servlet. What are the parameters of the service method preethisingh Java Interview / Technical Questions 0 23-01-07 02:10 PM
BSNL testing Triple Play service offering voice, internet and television yathish Chit Chat Zone 1 16-01-07 09:30 PM
HSBC Electronic Data Processing India Pvt. Ltd Customer Service Executive sridhar FRESHER JOBS 0 27-09-06 11:42 PM
CA vista Other Queries 2 14-04-06 02:49 AM
servlets naga JAVA Technologies 1 21-02-06 01:40 PM


All times are GMT +6.5. The time now is 02:14 PM.





Search Engine Optimization by vBSEO 3.1.0