By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,640 Members | 1,600 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,640 IT Pros & Developers. It's quick & easy.

javax.ejb.EJBException

oll3i
100+
P: 679
when i run my create.jsp that populates the database i get javax.ejb.EJBException error


it throws the exception at line

phoneHome.create("01", "01", "0957205114");

i have three lookups in one file

my create.jsp
Expand|Select|Wrap|Line Numbers
  1. <% try {
  2.     InitialContext ic = new InitialContext();
  3.     Object objContactBean = ic.lookup("java:comp/env/ejb/ContactRef");
  4.     LocalContactHome contactHome = (LocalContactHome) objContactBean;
  5.     contactHome.create("01", "Andrzej", "Miążek","andrzej_miazek@op.pl");
  6.     contactHome.create("02", "Michał", "Kacper","michal_kacper@op.pl");
  7.     contactHome.create("03", "Aleksandra", "Owczarek","aleksa1981@wp.pl");
  8.     contactHome.create("04", "Krzysztof", "Żak","zaczek@poczta.onet.pl");
  9.     contactHome.create("05", "Oskar", "Paprocki","oskarek1984@qmail.com");
  10.  
  11. } catch(Exception e) {
  12.     e.printStackTrace();
  13.     out.println("Create Contacts Failed : " + e.toString()); 
  14.  
  15. try {
  16.     InitialContext ic = new InitialContext();
  17.     Object objPhoneBean = ic.lookup("java:comp/env/ejb/PhoneRef");
  18.     LocalPhoneHome phoneHome = (LocalPhoneHome) objPhoneBean;
  19.     phoneHome.create("01", "01", "0957205114");
  20.     phoneHome.create("03", "02", "0605095116");
  21.     phoneHome.create("05", "03", "0601138768");
  22. } catch(Exception e) {
  23.     e.printStackTrace();
  24.     out.println("Create Phones Failed : " + e.toString()); 
  25.  
  26. try {
  27.     InitialContext ic = new InitialContext();
  28.     Object objAddressBean = ic.lookup("java:comp/env/ejb/AddressRef");
  29.     LocalAddressHome addressHome = (LocalAddressHome) objAddressBean;
  30.     addressHome.create("01", "01", "Marszałkowska 43 / 4","Warszawa" ,"04-506","Polska");
  31.     addressHome.create("02", "02", "Puławska 62 / 5","Warszawa" ,"02-508","Polska");
  32.     addressHome.create("03", "03", "Towarowa 20 / 1","Gorzów Wlkp." ,"66-400","Polska");
  33.     addressHome.create("04", "04", "Śląska 50 / 3","Gorzów Wlkp." ,"66-400","Polska");
  34.     addressHome.create("05", "05", "Fabryczna 58 / 2","Gorzów Wlkp." ,"66-400","Polska");
  35. } catch(Exception e) {
  36.     e.printStackTrace();
  37.     out.println("Create Addresses Failed : " + e.toString()); 
  38.  
  39. %>
  40.  
Dec 7 '08 #1
Share this Question
Share on Google+
3 Replies


oll3i
100+
P: 679
i changed some things in PhoneBean now it doesnt throw an exception

but when i search the records it doesnt display anything

what i get is only ->

[#|2008-12-07T11:16:07.138+0100|WARNING|sun-appserver-pe8.2|javax.enterprise.system.core.classloading|_T hreadID=11;|LDF5206: EJBClassLoader EJBClassLoader :
doneCalled = true
doneSnapshot = EJBClassLoader.done() called ON EJBClassLoader :
urlSet = [URLEntry : file:/C:/Sun/AppServer/domains/domain1/generated/ejb/j2ee-apps/Zadanie4, URLEntry : file:/C:/Sun/AppServer/domains/domain1/applications/j2ee-apps/Zadanie4/ejb-jar-ic_jar/]
doneCalled = false
Parent -> EJBClassLoader :
doneCalled = true
doneSnapshot = EJBClassLoader.done() called ON EJBClassLoader :
urlSet = [URLEntry : file:/C:/Sun/AppServer/domains/domain1/lib/classes/]
doneCalled = false
Parent -> sun.misc.Launcher$AppClassLoader@1a125f0

AT Sun Dec 07 11:04:40 CET 2008
BY :java.lang.Throwable: printStackTraceToString
at com.sun.enterprise.util.Print.printStackTraceToStr ing(Print.java:603)
at com.sun.enterprise.loader.EJBClassLoader.done(EJBC lassLoader.java:140)
at com.sun.enterprise.deployment.backend.Deployer.rel easeClassLoader(Deployer.java:480)
at com.sun.enterprise.deployment.backend.Deployer.fin ish(Deployer.java:467)
at com.sun.enterprise.deployment.backend.AppDeployer. doRequestFinish(AppDeployer.java:124)
at com.sun.enterprise.deployment.phasing.J2EECPhase.r unPhase(J2EECPhase.java:148)
at com.sun.enterprise.deployment.phasing.DeploymentPh ase.executePhase(DeploymentPhase.java:71)
at com.sun.enterprise.deployment.phasing.PEDeployment Service.executePhases(PEDeploymentService.java:639 )
at com.sun.enterprise.deployment.phasing.PEDeployment Service.deploy(PEDeploymentService.java:185)
at com.sun.enterprise.admin.mbeans.ApplicationsConfig MBean.deploy(ApplicationsConfigMBean.java:519)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.MBeanHelper.invokeOperati onInBean(MBeanHelper.java:305)
at com.sun.enterprise.admin.config.BaseConfigMBean.in voke(BaseConfigMBean.java:360)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke (DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDa taImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerIntercep tor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxM BeanServer.java:784)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.util.proxy.ProxyClass.inv oke(ProxyClass.java:54)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInt erceptor.invoke(SunoneInterceptor.java:272)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.invokeDeploymentService(AutoDeployer.java:504)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.deployModule(AutoDeployer.java:485)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.deployApplication(AutoDeployer.java:418)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.deployApplication(AutoDeployer.java:408)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.deployAll(AutoDeployer.java:228)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yControllerImpl$AutoDeployTask.run(AutoDeployContr ollerImpl.java:345)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Parent -> sun.misc.Launcher$AppClassLoader@1a125f0


AT Sun Dec 07 11:04:40 CET 2008
BY :java.lang.Throwable: printStackTraceToString
at com.sun.enterprise.util.Print.printStackTraceToStr ing(Print.java:603)
at com.sun.enterprise.loader.EJBClassLoader.done(EJBC lassLoader.java:140)
at com.sun.enterprise.deployment.backend.Deployer.rel easeClassLoader(Deployer.java:487)
at com.sun.enterprise.deployment.backend.Deployer.fin ish(Deployer.java:467)
at com.sun.enterprise.deployment.backend.AppDeployer. doRequestFinish(AppDeployer.java:124)
at com.sun.enterprise.deployment.phasing.J2EECPhase.r unPhase(J2EECPhase.java:148)
at com.sun.enterprise.deployment.phasing.DeploymentPh ase.executePhase(DeploymentPhase.java:71)
at com.sun.enterprise.deployment.phasing.PEDeployment Service.executePhases(PEDeploymentService.java:639 )
at com.sun.enterprise.deployment.phasing.PEDeployment Service.deploy(PEDeploymentService.java:185)
at com.sun.enterprise.admin.mbeans.ApplicationsConfig MBean.deploy(ApplicationsConfigMBean.java:519)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.MBeanHelper.invokeOperati onInBean(MBeanHelper.java:305)
at com.sun.enterprise.admin.config.BaseConfigMBean.in voke(BaseConfigMBean.java:360)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke (DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDa taImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerIntercep tor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxM BeanServer.java:784)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.util.proxy.ProxyClass.inv oke(ProxyClass.java:54)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInt erceptor.invoke(SunoneInterceptor.java:272)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.invokeDeploymentService(AutoDeployer.java:504)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.deployModule(AutoDeployer.java:485)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.deployApplication(AutoDeployer.java:418)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.deployApplication(AutoDeployer.java:408)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.deployAll(AutoDeployer.java:228)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yControllerImpl$AutoDeployTask.run(AutoDeployContr ollerImpl.java:345)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Parent -> EJBClassLoader :
doneCalled = true
doneSnapshot = EJBClassLoader.done() called ON EJBClassLoader :
urlSet = [URLEntry : file:/C:/Sun/AppServer/domains/domain1/lib/classes/]
doneCalled = false
Parent -> sun.misc.Launcher$AppClassLoader@1a125f0

AT Sun Dec 07 11:04:40 CET 2008
BY :java.lang.Throwable: printStackTraceToString
at com.sun.enterprise.util.Print.printStackTraceToStr ing(Print.java:603)
at com.sun.enterprise.loader.EJBClassLoader.done(EJBC lassLoader.java:140)
at com.sun.enterprise.deployment.backend.Deployer.rel easeClassLoader(Deployer.java:480)
at com.sun.enterprise.deployment.backend.Deployer.fin ish(Deployer.java:467)
at com.sun.enterprise.deployment.backend.AppDeployer. doRequestFinish(AppDeployer.java:124)
at com.sun.enterprise.deployment.phasing.J2EECPhase.r unPhase(J2EECPhase.java:148)
at com.sun.enterprise.deployment.phasing.DeploymentPh ase.executePhase(DeploymentPhase.java:71)
at com.sun.enterprise.deployment.phasing.PEDeployment Service.executePhases(PEDeploymentService.java:639 )
at com.sun.enterprise.deployment.phasing.PEDeployment Service.deploy(PEDeploymentService.java:185)
at com.sun.enterprise.admin.mbeans.ApplicationsConfig MBean.deploy(ApplicationsConfigMBean.java:519)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.MBeanHelper.invokeOperati onInBean(MBeanHelper.java:305)
at com.sun.enterprise.admin.config.BaseConfigMBean.in voke(BaseConfigMBean.java:360)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke (DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDa taImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerIntercep tor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxM BeanServer.java:784)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.util.proxy.ProxyClass.inv oke(ProxyClass.java:54)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInt erceptor.invoke(SunoneInterceptor.java:272)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.invokeDeploymentService(AutoDeployer.java:504)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.deployModule(AutoDeployer.java:485)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.deployApplication(AutoDeployer.java:418)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.deployApplication(AutoDeployer.java:408)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.deployAll(AutoDeployer.java:228)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yControllerImpl$AutoDeployTask.run(AutoDeployContr ollerImpl.java:345)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Parent -> sun.misc.Launcher$AppClassLoader@1a125f0

was requested to find resource META-INF/services/com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCD TMManager after done was invoked from the following stack trace
java.lang.Throwable
at com.sun.enterprise.loader.EJBClassLoader.findResou rce(EJBClassLoader.java:502)
at java.lang.ClassLoader.getResource(ClassLoader.java :977)
at java.lang.ClassLoader.getResourceAsStream(ClassLoa der.java:1159)
at com.sun.enterprise.loader.EJBClassLoader.getResour ceAsStream(EJBClassLoader.java:772)
at com.sun.org.apache.xalan.internal.xsltc.dom.Securi tySupport12$6.run(SecuritySupport12.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.org.apache.xalan.internal.xsltc.dom.Securi tySupport12.getResourceAsStream(SecuritySupport12. java:112)
at com.sun.org.apache.xalan.internal.xsltc.dom.Object Factory.findJarServiceProviderName(ObjectFactory.j ava:521)
at com.sun.org.apache.xalan.internal.xsltc.dom.Object Factory.lookUpFactoryClassName(ObjectFactory.java: 355)
at com.sun.org.apache.xalan.internal.xsltc.dom.Object Factory.lookUpFactoryClass(ObjectFactory.java:206)
at com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCD TMManager.getDTMManagerClass(XSLTCDTMManager.java: 95)
at com.sun.org.apache.xalan.internal.xsltc.trax.Trans formerFactoryImpl.<init>(TransformerFactoryImpl.ja va:219)
at sun.reflect.GeneratedConstructorAccessor173.newIns tance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Construc tor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at javax.xml.transform.FactoryFinder.newInstance(Fact oryFinder.java:100)
at javax.xml.transform.FactoryFinder.find(FactoryFind er.java:148)
at javax.xml.transform.TransformerFactory.newInstance (TransformerFactory.java:103)
at com.sun.enterprise.deployment.node.J2EEDocumentBui lder.write(J2EEDocumentBuilder.java:127)
at com.sun.enterprise.deployment.node.J2EEDocumentBui lder.write(J2EEDocumentBuilder.java:111)
at com.sun.enterprise.deployment.io.DeploymentDescrip torFile.write(DeploymentDescriptorFile.java:298)
at com.sun.enterprise.deployment.archivist.Archivist. writeRuntimeDeploymentDescriptors(Archivist.java:5 58)
at com.sun.enterprise.instance.DescriptorArchivist.wr ite(DescriptorArchivist.java:98)
at com.sun.enterprise.instance.BaseManager.saveAppDes criptor(BaseManager.java:690)
at com.sun.enterprise.deployment.backend.EJBCompiler. preDeployApp(EJBCompiler.java:347)
at com.sun.enterprise.deployment.backend.EJBCompiler. compile(EJBCompiler.java:209)
at com.sun.enterprise.deployment.backend.AppDeployer. runEJBC(AppDeployer.java:310)
at com.sun.enterprise.deployment.backend.AppDeployer. deploy(AppDeployer.java:177)
at com.sun.enterprise.deployment.backend.AppDeployer. doRequestFinish(AppDeployer.java:107)
at com.sun.enterprise.deployment.phasing.J2EECPhase.r unPhase(J2EECPhase.java:148)
at com.sun.enterprise.deployment.phasing.DeploymentPh ase.executePhase(DeploymentPhase.java:71)
at com.sun.enterprise.deployment.phasing.PEDeployment Service.executePhases(PEDeploymentService.java:639 )
at com.sun.enterprise.deployment.phasing.PEDeployment Service.deploy(PEDeploymentService.java:185)
at com.sun.enterprise.admin.mbeans.ApplicationsConfig MBean.deploy(ApplicationsConfigMBean.java:519)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.MBeanHelper.invokeOperati onInBean(MBeanHelper.java:305)
at com.sun.enterprise.admin.config.BaseConfigMBean.in voke(BaseConfigMBean.java:360)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke (DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDa taImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerIntercep tor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxM BeanServer.java:784)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.util.proxy.ProxyClass.inv oke(ProxyClass.java:54)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInt erceptor.invoke(SunoneInterceptor.java:272)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.invokeDeploymentService(AutoDeployer.java:504)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.deployModule(AutoDeployer.java:485)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.deployApplication(AutoDeployer.java:418)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.deployApplication(AutoDeployer.java:408)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yer.deployAll(AutoDeployer.java:228)
at com.sun.enterprise.deployment.autodeploy.AutoDeplo yControllerImpl$AutoDeployTask.run(AutoDeployContr ollerImpl.java:345)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)


my search.jsp

Expand|Select|Wrap|Line Numbers
  1. <%String searchCriteria = request.getParameter("searchCriteria");%>
  2. <%String searchText = request.getParameter("searchText");%>
  3. <%
  4. try {
  5. InitialContext ic = new InitialContext();
  6. Object obj = ic.lookup("java:comp/env/ejb/ContactRef");
  7. LocalContactHome home = (LocalContactHome) obj;
  8.  
  9. Collection contacts = new ArrayList();
  10. if ("contactID".equals(searchCriteria)) {
  11.     try {
  12.     LocalContact contact = home.findByPrimaryKey(searchText);
  13.     contacts.add(contact);
  14.   } catch (ObjectNotFoundException ex) {}
  15. }else if ("lastName".equals(searchCriteria)) {
  16.     contacts = home.findByLastName(searchText);
  17. }else if ("firstName".equals(searchCriteria)) {
  18.     contacts = home.findByFirstName(searchText);
  19. }else if ("email".equals(searchCriteria)) {
  20.     contacts = home.findByEmail(searchText);
  21. }
  22.  
  23.  
  24. for (int i = 0; i < contacts.size(); i++) {
  25.     LocalContact cont = (LocalContact)((ArrayList)contacts).get(i);
  26.     String cid = (String) cont.getPrimaryKey();
  27.     ArrayList phonesList = cont.getPhoneList();
  28. %>
  29. <b> <%=cont.getFirstName()%>  <%=cont.getLastName()%> </b> ma
  30. <%=cont.getPhoneList().size()%> numer(y) telefonu(ów): <p>
  31.  
  32. <table border=1>
  33. <tr><th>Telefon</th></tr>
  34. <%
  35.     for (int j=0; j < phonesList.size(); j++)
  36.     {
  37.           LocalPhone phone = (LocalPhone) phonesList.get(j);
  38. %>
  39. <tr>
  40. <td> <%=phone.getPhone()%> </td>
  41. </tr>
  42. <%
  43.     }
  44. %>
  45. </table>
  46. <p>
  47.  i ma 
  48. <%=cont.getAddressList().size()%> adres(ów)<p>
  49. <table border=3>
  50. <tr><th>Ulica</th><th>Kod pocztowy</th><th>Miasto</th><th>Państwo</th></tr>
  51. <%   ArrayList list = cont.getAddressList();
  52.     for (int k=0; k< list.size(); k++)
  53.     {
  54.       LocalAddress addr = (LocalAddress)list.get(k);
  55. %>
  56. <tr>
  57. <td><%=addr.getStreet()%></td>
  58. <td><%=addr.getZip()%></td>
  59. <td><%=addr.getCity()%></td>
  60. <td><%=addr.getCountry()%></td>
  61. </tr>
  62. <%
  63. }
  64. }
  65.  
  66. }catch (Exception e){
  67.     e.printStackTrace();
  68.     out.println("Błąd wyszukiwania : " + e.toString()); 
  69. }
  70. %>
  71.  
Dec 7 '08 #2

oll3i
100+
P: 679
I fixed it everything works :) :)
Dec 7 '08 #3

Expert 10K+
P: 11,448
@oll3i
Great; care to tell us what was wrong in your previous version of the code?

kind regards,

Jos
Dec 7 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.