I believe I found the source of my problems.  I was flipping back and forth
between the mailreader example and the app I was working on when something
caught my eye in the web.xml file.

Here's what the mailreader had for <servlet-class> in the servlet config:
org.apache.struts.action.ActionServlet

Here's what I had in my app for <servlet-class> in the servlet config:
org.apache.struts.ActionServlet

enough said...

Patrick Grimard
M.I.S.
XTL Transport Inc.
T. (514) 636-1499 Ext. 5991
T. (800) 636-2138 Ext. 5991
F. (514) 636-5700


                                                                                
             "Pierre Thibaudeau"                                                
             <pierre.thibaudeau@                                                
             gmail.com>                                                      To 
                                         "Struts Users Mailing List"            
             01/18/07 02:58 PM           <user@struts.apache.org>               
                                                                             cc 
                                                                                
              Please respond to                                         Subject 
                "Struts Users            Re: <html:link forward="search">       
                Mailing List"            causing Exception in JSP               
             <[EMAIL PROTECTED]                                                
                    .org>                                                       
                                                                                
                                                                                
                                                                                
                                                                                




I believe your global forward should point onto /search.do (which is the
ActionMapping whose path is defined as "/search" further down in your
struts-config.xml:

<global-forwards>
    <forward name="search" path="/search.do"/>
  </global-forwards>

Everything else in your struts-config-xml seems to be fine.  Does that help?


2007/1/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
>   <!-- Global Forwards Configuration -->
>   <global-forwards>
>     <forward name="search" path="/search.jsp"/>
>   </global-forwards>
>




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

Reply via email to