This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 200

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: 12769
    
    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.

 
 
subject: page gets hang on runtime