i a have
servlet like this,
package jstlTest;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
public class jstlTest1 extends HttpServlet
{
public void doGet(HttpServletRequest req,HttpServletResponse res) throws IOException,ServletException
{
System.out.println("Inside Jstl test");
RequestDispatcher dis = req.getRequestDispatcher("jstltest.jsp");
dis.forward(req,res);
}
}
and in my DD
<servlet>
<servlet-name>jstlTest</servlet-name>
<servlet-class>jstlTest.jstlTest1</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>jstlTest</servlet-name>
<url-pattern>/jstlTest/*</url-pattern>
</servlet-mapping>
<!-- setting init parameters for a
jsp -->
so now when i access this servlet via
http://localhost:8080/myapp/jstlTest everything happens normal.
But when i use the url
http://localhost:8080/myapp/jstlTest/ things go awry.i mean only 'Inside Jstl
test' is printed in console and request is not forwaded to the jsp.it just hangs there.There is filter which will be triggered for any urls.will that be a problem.
}
[ October 04, 2006: Message edited by: Senthil Kumar SS ]