aspose file tools
The moose likes EJB and other Java EE Technologies and the fly likes Problem in running session beans Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Problem in running session beans" Watch "Problem in running session beans" New topic
Author

Problem in running session beans

Rituparna Duttagupta
Ranch Hand

Joined: Feb 08, 2011
Posts: 55

Hello Friends !!

I am facing a verry strange problem, it goes like this.....

I have created this bean...



and call it through this code in a servlet/.jsp file(I have tried both)......



it is compiling alright but while executing it hang up my machine!!
but when i am coding it in a servlet like this...

... it's compiling and executing alright giving the required result!!!

Now, why is this happening?? where am i going wrong??
somewhere in the bean code??? or is it that i am creating a blunder in calling it??


With regards,
rituparna
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

You have a while loop that never ends. Why are you using a loop at all?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Rituparna Duttagupta
Ranch Hand

Joined: Feb 08, 2011
Posts: 55

THANKS Paul, it's working now. actually i wanted to do something at first, then changed my mind.
thanks again.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

You are welcome
 
I agree. Here's the link: jrebel
 
subject: Problem in running session beans
 
Similar Threads
logout.jsp not working
Solution for repeating function in all servlets.
detect the session attributes after the session is TimeOut?
regarding session transfer from servlet to jsp
Httpsesion Listener is not working properly?