Well can't pin-point the problem since you haven't provided any clues. What
do the DocumentRoot, Context, and JkMount statements say? How about
displaying the directory structure of where the jsps and shtml files are
located.
How about displaying the appropriate portions of the log in here. Might
help in quickly resolving your problem.

RS



                                                                                       
                    
                      MadBit                                                           
                    
                      <madbit@telepolis        To:       Tomcat Users List             
                    
                      .com>                     <[EMAIL PROTECTED]>       
                    
                                               cc:                                     
                    
                      08/12/02 05:07 PM        Subject:  Re: .shtml with 4.0.4         
                    
                      Please respond to                                                
                    
                      "Tomcat Users                                                    
                    
                      List"                                                            
                    
                                                                                       
                    
                                                                                       
                    





     Any changes to httpd.conf or web.xml files? I have a 404 from
tomcat. The pages are located on apache.

[EMAIL PROTECTED] escribi�::

 >First the <servlet code...></servlet> isn't supported by Tomcat. It
isn't a
 >standard tag i.e. it isn't defined in the servlet specs. You should use
 ><jsp include /> instead. Convert  the .shtml files (be careful if you
have
 >SSI includes or CGI processing in the shtml files) that contain the
 ><servlet> tags to .jsps.
 >And then replace the
 ><servlet code="classpath.Class"></servlet>
 >with
 ><jsp:include page="/servlet/classpath.Class" flush="true"/>
 >
 >
 >RS
 >
 >
 >
 >
 >

 >                      MadBit

 >                      <madbit@telepolis        To:
[EMAIL PROTECTED]
 >                      .com>                    cc:

 >                                               Subject:  .shtml with
4.0.4
 >                      08/12/02 04:45 AM

 >                      Please respond to

 >                      "Tomcat Users

 >                      List"

 >

 >

 >
 >
 >
 >
 >
 >    Hello.
 >
 >    I'm using Tomcat 4.0.4 with Apache 1.3.26 on Windows 2000.
 >
 >    I want to use .shtml pages. In tomcat I enabled de SSI servlet and
 >mapping on web.xml,
 >and on Apache I enabled the AJP connector and enabled .shtml processing:
 >
 >
 >
 >>LoadModule jk_module modules/mod_jk.dll
 >>Addmodule mod_jk.c
 >>
 >>JkWorkersFile /webprg/tomcat/conf/jk/workers.properties
 >>JkLogFile /webprg/apache/logs/mod_jk.log
 >>JkLogLevel info
 >>
 >>
 >
 >....
 >
 >AddType text/html .shtml
 >AddHandler server-parsed .shtml
 >
 >...
 >JkMount /*.jsp ajp13
 >JkMount /servlet/* ajp13
 >JkMOunt /*.shtml ajp13
 >
 >    On a .shtml page I have a <servlet code="classpath.Class"></servlet>
 >call. The called Class it's working fine calling directely via
 >'localhost/servlet/classpath.Class' URL but with the .shtml the Class
 >seems not to be called and the browser never end to load the page,
 >always it's on awaiting data state.
 >
 >    Anyone can help me?
 >
 >   Thanks
 >
 >
 >Rogelio Herranz
 >[EMAIL PROTECTED]
 >
 >
 >
 >--
 >To unsubscribe, e-mail:   <
 >mailto:[EMAIL PROTECTED]>
 >For additional commands, e-mail: <
 >mailto:[EMAIL PROTECTED]>
 >
 >
 >
 >
 >
 >
 >
 >--
 >To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
 >For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
 >
 >
 >
 >






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







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

Reply via email to