[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Re: unable to .wtpmodules file

i am following http://www.eclipse.org/webtools/community/tutorials/ejbtutorial/buildingejbs.html link for creating the EJB.
once i add the sampleEJBClient in the javaBuildPath of my test application, then sampleEJBClient is also added in J2EE Module dependencies.
this is my test.jsp
<html>
<body>
<%
com.zoo.Tiger tiger = null;
try{
com.zoo.TigerHome home = com.zoo.TigerUtil.getHome();
tiger = home.create();
}catch(Exception exception)
{
System.out.println("exception e==="+exception.getMessage());
}


String str=tiger.roar();
System.out.println(str);
%>
</body>
</html>

if i am not adding dependency code in org.eclipse.wst.common.componet then its giving error at line com.zoo.Tiger tiger=null;
nable to parse jsp page error.
if i add the dependency code then its saying "Tiger not bound".


Thanks a lott.
Bye