File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes problem in servlet to jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "problem in servlet to jsp" Watch "problem in servlet to jsp" New topic

problem in servlet to jsp

Narjis Fatima

Joined: Aug 14, 2010
Posts: 4
My servlet is supposed to create an instance of database object using MySql which would be passed to showperson.jsp to show the information saved in the table. But this doesnot show any result just a blank page.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63532

Please take care to reply rather than start new topics when continuing to address the same question. I locked the original post so we can continue here.

[Asking smart questions] [About Bear] [Books by Bear]
Abimaran Kugathasan
Ranch Hand

Joined: Nov 04, 2009
Posts: 2066

Did you get any exception in the server side?

|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
Narjis Fatima

Joined: Aug 14, 2010
Posts: 4
No i did'nt get any exception but i ma unable to debug it line by line can you tell me how to debug and add watches in Netbeans 6.9
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13024
I would start by writing to a log file the number of items in personList immediately after line 37 in the servlet - perhaps it really is empty.

I agree. Here's the link:
subject: problem in servlet to jsp
jQuery in Action, 3rd edition