1 Reply Latest reply on Feb 22, 2008 6:46 AM by theute

    JPetStore Struts Example - Lost request attributes

      jboss 4.2.2-GA
      jboss-portal 2.6.4-GA

      i tried to get the jpetstore struts example to run, i downloaded it from http://labs.jboss.com/downloading/?projectId=portletswap&url=/portletswap/downloads/portlets/framework/struts-example.zip
      and deployed it to the server.
      start page is ok, but all pages, where a request attribute ist passed from the action class to the servlet, fail. it seems the all of the attributes are lost and not passed to the jsp.
      has anyone successfully installed the example or does anyone know what to do?

      kind regards,
      uwe

        • 1. Re: JPetStore Struts Example - Lost request attributes
          theute

          Are you sure that's the issue ?
          It's working fine for me, but i just realized recently that the portlet available has a configuration issue.
          You need to define the location of the data:
          in WEB-INF/classes/properties/database.properties
          for now you have something that points to my machine :-/
          Make sure to define the location of your war