-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maybe I'm misunderstanding just what Struts modules do, but I'm trying
to migrate from Struts 1.2 to Struts 1.3 and I'm running into some issues.

What I **think** 1.3 is going to buy me is the ability to split out
pieces of my web application into their own struts-config.xml files and
struts will know how to find the actions.

Seems to me this is not the case, but I'm sure I'm missing something here.

In an attempt to keep things simple, I have a file
struts-config-public-pages.xml.  In the web.xml file I have:

   <init-param>
      <param-name>config/public-pages</param-name>
      <param-value>/WEB-INF/struts-config-public-pages.xml</param-value>
    </init-param>

along with the usual stuff that should be in there.   I have an
index.jsp page in the top level of the application that simply does a
redirect as follows:

<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<logic:redirect forward="welcome"/>


(Yes.. I have the tld in the right place..)

When I attempt to enter the application I get:

org.apache.jasper.JasperException: Cannot create redirect URL:
java.net.MalformedURLException: Cannot retrieve ActionForward named welcome
        
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Obviously something is amiss here.

Can somebody give me a pointer?

Thanks in advance,

- ----

Peter L. Berghold                   Unix Professional
[EMAIL PROTECTED]             AIM: redcowdawg YIM: blue_cowdawg
"Those who fail to learn from history are condemned to repeat it."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHe+bYUM9/01RIhaARAhspAJ9S9ds1cpAE+eZ3ZCSCD1/h20AV0QCgp6Tk
hLi6JxlCnCo1N1s2AmrTTNo=
=XFIk
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to