3 Replies Latest reply on Feb 1, 2004 1:44 PM by javajman

    How about Struts??

    Hans Newbie

      I use Struts with Apache + Tomcat4.0.1 + JBoss 2.4.4,
      Everything is fine but I can not see the *.gif picture on the webpage. What's the problem ?
      Is it the problem with mod_jk or others ??

        • 1. Re: How about Struts??
          Marco Ladermann Newbie

          Hi,

          > I use Struts with Apache + Tomcat4.0.1 + JBoss
          > 2.4.4,

          We use successfully a similar configuration and can access images.

          > Everything is fine but I can not see the *.gif
          > picture on the webpage. What's the problem ?
          > Is it the problem with mod_jk or others ??

          It is hard to figure out your problem without more information on your installation. I configured Apache to forward every request under the context-url to tomcat and everything works fine with relative URL's in the JSP's.

          So I guess it is a misconfigured mod_jk or wrong URL's in the JSP's.

          Hope that give you a hint

          Marco

          • 2. Re: How about Struts??
            javajman Newbie

            Currently I am using Apache2 + JBoss 3.2.3. I have the html files and images in apache htdocs and any .jsp calls forwording to JBoss.

            I am having a similar problem. Mine seems to be the fact that at the end of the relative url a jsessionid is being attached and I believe this is causing the problem.



            I would like to keep the static content in apache for the html and jsp's to share.

            Any idea's ??

            • 3. Re: How about Struts??
              javajman Newbie

              The above picture display should not of been in html is should of displayed the text:

              The JSP Code:

              <html:img srcKey="image.logo" width="79" height="46"
              altKey="image.logo.alt" border="0"/>

              creates the result when displayed:

              <html:img src="http://www.jboss.org/images/someImage.jpg;jsessionid=4C59941A5F3A975FF6F2B6A5C80EA3BB" width="79" height="46"
              altKey="cool icon here" border="0"/>