when i use the following codes in the session bean,the jboss inform
me the jndi of the datasource MySqlDS not bound.But i using
the same codes in the Jsp,every thing look fine.And the MySqlDS has bound when the system starup,which i can see MySqlDS in the webconsole.
InitialContext ctx = new InitialContext();
DataSource ds= (DataSource) ctx.lookup ("java:/MySqlDS");
can anybody help