From: Allen f. <afo...@cr...> - 2001-06-20 21:39:09
|
in my example everything was mapped to the default context (/). so the helloServlet class is mapped to /hello. http://localhost:8080/hello calls the servlet class helloServlet to see a JSP invoked try calling http://localhost:8080/ the included jsp "index.jsp" is mapped as a welcome file, so that when you access that url you should see the same example as if you called the servlet. This is because ALL the jsp does is forward to /hello Al ----- Original Message ----- From: Richard Kasperowski <ka...@al...> To: <jbo...@li...> Sent: Wednesday, June 20, 2001 3:29 PM Subject: [JBoss-user] hello.ear example: Servlet works OK, but not JSP > Allen Fogleson's hello example from June 16 is a nice tutorial and works > well enough. > > I'm having a problem with it, though. This URL works fine: > > http://localhost:8080/hello > > It maps directly to the servlet. > > These URLs don't work: > > http://localhost:8080/hello/ > http://localhost:8080/hello/index.jsp > > They result in "Not Found 404". > > Using a .ear file as in Allen's example, how do I get JBoss+TomCat to > handle things that aren't servlets? > > Thanks, > > -- > Richard Kasperowski (mailto:ka...@al...) > Tel: 617-576-1552, Fax: 617-576-2441 > http://www.altisimo.com/ > > > _______________________________________________ > JBoss-user mailing list > JBo...@li... > http://lists.sourceforge.net/lists/listinfo/jboss-user |