Searching for an solution I found this:
if the .jsps I put any .jsp tag, for example, <% out.println("hello"); %>, this works fine. But the <jsp:include> statement seems that it's not working. Also, I copied the .jsp to the webapp\ROOT directory on tomcat, with the same result: the page loads and show the static code and the other .jsp tags, but the page keeps on awaiting data state. I test it on tomcat 4.1.8 with the same result. The specfied servlet o page called on the jsp:include tag seems that it's never called (doesn't appear in any log). Can be a bug? Needs additional configuration to process jsp:include tags? Thanks. [EMAIL PROTECTED] wrote: >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]> > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>