wood burning stoves 2.0*
The moose likes Servlets and the fly likes page gets hang on runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "page gets hang on runtime" Watch "page gets hang on runtime" New topic
Author

page gets hang on runtime

Megha Singhal
Ranch Hand

Joined: Feb 28, 2012
Posts: 225

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

Joined: Mar 22, 2000
Posts: 12821
    
    5
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

Joined: Jan 22, 2007
Posts: 196

The following code might be the issue.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: page gets hang on runtime