dcsimg
include a MVC View in a JSP-Page
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Slavko_Dzalto
Posted On:   Tuesday, December 18, 2001 04:29 AM

Hi,



I want to include a MVC View in a JSP Page, for example:


jsp:include page="MyHost:8080/MyController/MyView"


But this jsp:include donĀ“t work.


I also try to do it with the Java-RequestDispatcher, but it also not works:

RequestDispatcher rq = myRequest.getRequestDispatcher("/MyController/MyView);
rq.include(myReq,myResponse);



Has anyone a idea?



Slavko :)

Re: include a MVC View in a JSP-Page

Posted By:   Mathias_Neuhaus  
Posted On:   Wednesday, December 19, 2001 06:11 AM

Do you get an error message?


Try to specify the complete filename (including the exension ".jsp").

About | Sitemap | Contact