John Sulik [http://community.jboss.org/people/jsulik] created the discussion
"Creating and executing simple jsp page" To view the discussion, visit: http://community.jboss.org/message/630030#630030 -------------------------------------------------------------- I'm having trouble executing a simple jsp page. I verified the jsp is in the war file but I just get a 404 error when trying to execute. Here's a snippet from the startup log: 08:26:29,441 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "bsm.war" 08:26:36,121 INFO [org.jboss.web] (MSC service thread 1-3) registering web context: /bsm 08:26:39,877 INFO [org.jboss.as.server.controller] (Controller Boot Thread) Deployed "bsm.war" Here's a snippet from the war file contents: http://community.jboss.org/mailto:sulikj@nti15:/apps/sulikj/jboss/apps/bsm/target /apps/sulikj/jboss/apps/bsm/target> jar -tvf bsm.war 0 Tue Oct 04 07:38:50 EDT 2011 META-INF/ 125 Tue Oct 04 07:38:48 EDT 2011 META-INF/MANIFEST.MF 0 Mon Oct 03 16:48:32 EDT 2011 WEB-INF/ 0 Mon Oct 03 16:48:32 EDT 2011 WEB-INF/classes/ 0 Mon Oct 03 16:48:34 EDT 2011 WEB-INF/lib/ 487 Mon Oct 03 16:48:28 EDT 2011 WEB-INF/classes/registration.jsp Here's a snippet from the pom.xml: <build> <finalName>bsm</finalName> <resources> <resource> <directory>src</directory> <includes> <include>**/*.jsp</include> </includes> </resource> </resources> When I enter http://nti15.andipc.basf-corp.com:8080/bsm/registration.jsp http://nti15.andipc.basf-corp.com:8080/bsm/registration.jsp in the url I just get a 404 error. I was able to configure the hello world example and it executes correctly using http://nti15.andipc.basf-corp.com:8080/jboss-as-helloworld/HelloWorld http://nti15.andipc.basf-corp.com:8080/jboss-as-helloworld/HelloWorld. What am I missing? Thanks. -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/630030#630030] Start a new discussion in Beginner's Corner at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
