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 Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
Old 31-01-08, 09:09 AM   #1 (permalink)
Senior Member
 
Join Date: Aug 2006
Age: 28
Posts: 275
Thanks: 0
Thanked 5 Times in 5 Posts
Thanks: 0
Thanked 5 Times in 5 Posts
Rep Power: 5 radhika743 is on a distinguished road
Debugging a Servlet?

Q.) How to debug a SERVLET?

Is there any Tool to Debug a Servlet?

Please provide me the steps to debug a servlet....
radhika743 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-06-08, 02:37 AM   #2 (permalink)
Junior Member
 
Join Date: Jun 2008
Age: 24
Posts: 8
Thanks: 0
Thanked 2 Times in 1 Posts
Thanks: 0
Thanked 2 Times in 1 Post
Rep Power: 1 starboy2007 is on a distinguished road
Cool Re: Debugging a Servlet?

No Radhika ,,,never
why are u being bother for a tool shool to debug ur servlet

just write System.out.println("some text" +urparameter) beneath the suspected line if the text is printed corresponding to the value of ur parameter then ur servlet is working fine ,,moreover put System.out.println("##########") or any thing at various lines of ur program ,,if line is printed on black window of server ,it means ur compiler reached upto line and code is ok ...


thats how u can debug your servlet

No Problem ,,just chill.

thanks and rgds
ravi
starboy2007 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 18-06-08, 01:00 PM   #3 (permalink)
Moderator
 
t_mohan's Avatar
 
Join Date: Apr 2006
Location: India
Posts: 636
Thanks: 57
Thanked 78 Times in 63 Posts
Thanks: 57
Thanked 78 Times in 63 Posts
Rep Power: 17 t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold t_mohan is a splendid one to behold
Re: Debugging a Servlet?

If you are using any IDE, like Eclipse or WSAD or netbeans, u can keep some break points and start the server in debug mode and then debug the servlet
__________________
M0h@n
t_mohan 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
Servlet Question.? radhika743 JAVA Technologies 2 29-11-07 04:37 PM
J2EE - What is the difference between servlet context and servlet config preethisingh Java Interview / Technical Questions 1 24-01-07 07:03 PM
J2EE - What information that the Servlet Request interface preethisingh Java Interview / Technical Questions 0 23-01-07 10:50 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 03:19 AM.





Search Engine Optimization by vBSEO 3.1.0