I used to have problem accessing struts-example
through Apache also.  However, I added following line
to the copy of mod_jk.conf file for the Apache and
resolved the problem.

JkMount /*.do ajp13

This line should be added right after JkMount
/servlet/* ajp13
or you have to repeat it for struts-example,
struts-stemplate, etc. (I think).

I specify ajp13 because I am trying to use ajp13
connector instead of ajp12.  If you are not interested
in this part then just use ajp12.

I actually, submitted this problem to the sturts-users
mailing list on Friday and did not receive any
response.  However, fortunately, I found what the
problem is.

I hope this helps.

Zia Partovi
Certified Sun Java Programmer
Senior Developr
Leapnet

--- Florin Iucha <[EMAIL PROTECTED]> wrote:
> I have never managed to get this answered.
> 
> It works if you go directly to Tomcat HTTP port. If
> you go through 
> Apache you will get this error.
> 
> florin
> 
> Michael Schommer wrote:
> > 
> > Hi,
> > 
> > I have problems to run the struts-example.war.
> > I'm using the sun J2EE-reference implementation
> (Tomcat 4.0 - b1).
> > 
> > When I click "Register with the MailReader
> Demonstration Application"
> > (index.jsp) the error
> > 
> >      HTTP Status 404 - /editRegistration.do
> > 
> >      The requested resource (/editRegistration.do)
> is not available.
> > 
> > displays.
> > Clicking on the Submit-Button of logon.jsp shows
> the message (Netscape
> > Browser):
> > 
> >      The document contained no data.
> >      Try again later, or contact the server's
> administratior.
> > 
> > Had anybody else these problems and solved them???
> > 
> > Thanks
> > Michael
> 
> -- 
> Florin Iucha
> [EMAIL PROTECTED]
> (651)482-2847
> 
> "you have moved your mouse, please reboot to make
> this change take
> effect"


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text

Reply via email to