List Info

Thread: Sun Forums Update Notice: Sun Java Studio Enterprise: "problem of servlet"




Sun Forums Update Notice: Sun Java Studio Enterprise: "problem of servlet"
user name
2006-09-22 04:02:47
David bond,

You are watching the forum "Sun Java Studio
Enterprise", which was updated Sep 21, 2006 9:02:46
PM.


To view the forum, visit:
http
://forum.sun.com/jive/forum.jspa?forumID=122

Topic "problem of servlet" was updated by
KarthikR with the following message: 
Is TestStatelessEJBServlet.java:33 the following?
[code]
 writer.write("The stateless bean returned this
string: " + statelessBean.testBean());
[/code]

If so, that would seem to indicate that statelessBean
variable is null at that point.

You may want to add
[code]
if (statelessBean == null) System.out.println(:statelessBean
is null");
[/code[
to verify if it is so. Yon can try adding the line just
after creation in init and before writer.write call...

To view the topic, visit:
http://forum.sun.com/jive/thread.jspa?foru
mID=122&threadID=107521.

If you need to update your forum watch settings, please log
in to the forums and go to "Your Watches"
settings.

Thank you for your interest in Sun software technologies and
products and for your participation in the Sun Developer
Forums.  For a comprehensive listing of developer resources,
please go to: http://developers.sun.com
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )