Are you using Tomcat in-process with the apache server on an AS/400?

Your problem, and the fact you don't have .war deployment sound familar.


John Thompson

[EMAIL PROTECTED]



|---------+---------------------------->
|         |           Phyl             |
|         |           <[EMAIL PROTECTED]|
|         |           net>             |
|         |                            |
|         |           13/07/2004 11:08 |
|         |           AM               |
|         |           Please respond to|
|         |           "Struts Users    |
|         |           Mailing List"    |
|         |                            |
|---------+---------------------------->
  
>--------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                          |
  |       To:       [EMAIL PROTECTED]                                                  
                     |
  |       cc:                                                                          
                          |
  |       Subject:  webapp deployment                                                  
                          |
  
>--------------------------------------------------------------------------------------------------------------|





   Hi,

I've been developing a struts webapp using tomcat and am now trying to
deploy it to my webserver. I copied every class and jsp manually since
there is no .war deployment available on the server.
Invoking a simple jsp directly works fine, however, when invoking a
*struts' jsp* this exception is being thrown:

javax.servlet.jsp.JspException: Cannot find global ActionForward for
name welcome
     at
org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:142)
     at org.apache.jsp.index$jsp._jspService(index$jsp.java:73)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     ...

this is the associated .jsp:

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

It seems  the "welcome" global forward isn't being found in
struts-config, but I'm sure it exists.
When calling an action directly I get a "Not Found" error. I'm beginning
to doubt that struts-config.xml is even being loaded.
What do you think might be the problem?


   thanks in advance,
   Phyl






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




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

Reply via email to