How to create new application in Separate WAR

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to create new application in Separate WAR

Chaminda
Hi Falks, I want to deploy new application in a separate WAR method, I have deployed the OPS as a separate war correctly, I want to add a new sub application inside that(OPS separate war), For a example xforms-bookcast application in OPS. I tried this way, 1) created a resources directory in webapps/ops-test/WEB-INF, (ops-test is my separate war application) 2) created a directory named bookcast inside webapps/ops-test/WEB_INF/resources. 3) Copied all the things was in webapps/ops/WEB-INF/resources/bookcast to webapps/ops/WEB-INF/resources/bookcast. 3) Try to access using "http://localhost:8080/ops-test/xforms-bookcast/". This gives an error, But "http://localhost:8080/ops/xforms-bookcast/" views as expected. Please help me, Also I want to dispatch (server side forward) a request to a xhtml, Is this correct code for do that Dispatcher d= req.gerRequestDispatcher() d.forward("/test.xhtml"); Thanks, Chamin