what context do i need to transfer control to a jsp ??
in my jboss.xml i have
| <jboss-web>
| <context-root>/webDir</context-root>
| </jboss-web>
|
and a .jsp called welcome.jsp in the root dir of my .war
i have the following snipet of code in my servlet
| RequestDispatcher dispatcher =
| request.getRequestDispatcher("/webDir/welcome.jsp");
| dispatcher.forward(request,response);
|
and the following message is returned by Jboss 3.2.3
"The requested resource (/webDir/welcome.jsp) is not available."
but when i change the path to
| RequestDispatcher dispatcher
| = request.getRequestDispatcher("webDir/welcome.jsp");
|
i get
"The requested resource (/servlet/webDir/welcome.jsp) is not available".
What can i do to rectify this
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843377#3843377
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843377
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user