Complements :

I modified 
MyApp.ear/META-INF/application.xml
==>
    
      
         <web-uri>MyWebApp.war</web-uri>
         <context-root>/</context-root>
      
   

MyApp.ear/MyWebApp.war/index.jsp
==> line added
<logic:forward name="welcome"/>

MyApp.ear/MyWebApp.war/WEB-INF/struts-config.xml
==>
   <global-forwards>
      
   </global-forwards>


Now I get the following error message : 



HTTP Status 500 - 

--------------------------------------------------------------------------------

type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception 

javax.servlet.ServletException: Exception redirecting for name welcome: 
java.lang.IllegalStateException
        
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
        
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
        org.apache.jsp.index_jsp._jspService(Unknown Source)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


root cause 

javax.servlet.jsp.JspException: Exception redirecting for name welcome: 
java.lang.IllegalStateException
        
org.apache.struts.taglib.logic.ForwardTag.doRedirect(ForwardTag.java:152)
        org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:103)
        org.apache.jsp.index_jsp._jspx_meth_logic_forward_0(Unknown Source)
        org.apache.jsp.index_jsp._jspService(Unknown Source)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


note The full stack trace of the root cause is available in the Apache 
Tomcat/5.0.28 logs.

Any idea ?
Did I miss a file ?

Regards

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933751#3933751

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933751


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to