This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

page gets hang on runtime

 
Megha Singhal
Ranch Hand
Posts: 225
IBM DB2 Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
after running following servlets the web page is get hanged
"ServletRecord.java"

"Home.java"


following database i 'm using
"P_ID" NUMBER(*,0),
"LASTNAME" VARCHAR2(255 BYTE),
"FIRSTNAME" VARCHAR2(255 BYTE),
"ADDRESS" VARCHAR2(255 BYTE),
"CITY" VARCHAR2(255 BYTE)
i'm not understanding why this is not working
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you say
the web page is get hanged

what exactly does that mean?

What happens on the browser?
Does the server CPU go to 100%?
Do other web apps/pages on the server still respond?

Bill
 
Piyush Mangal
Ranch Hand
Posts: 196
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The following code might be the issue.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic