Title: How can invoke another servlet?
Hi,
  This is because the servletrunner looks for the relative path i.e from ut current directory. If u look at the URL line in the browser, u can understand. U need to give the fully qualified path.
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Ma
Sent: Thursday, May 11, 2000 11:27 AM
To: [EMAIL PROTECTED]
Subject: How can invoke another servlet?

Hi all,

I use Visual Caf� Expert v4.0 to create servlets. The servlet invocation between each other depends on the method, i.e., HttpServletResponse.encodeUrl("/servlet/servlet_name"). The source code is compiled without any error message. When Visual Caf� 4.0 launch servletrunner from jsdk 2.0, I always get HTTP 404 error message when I try to go to another servlet. But according to the specification, servletrunner would support multiple servlets.

Anyone can give suggestions to figure this things out.

Thx in advance.

Mark

Reply via email to