[ MVC I arch ] -- flash movie loading problems in MVC

Hello All,

I am using MVC I Architecture to build my Sites. In my Servlet, i have my standard method for forwarding into JSP is :

public void LoadToJsp(HttpServletRequest req, HttpServletResponse res, String jspFile)

throws ServletException, IOException {

end();

String contentType = "text/html";

res.setContentType(contentType);

RequestDispatcher dispatcher = req.getRequestDispatcher(res.encodeURL(jspFile));

dispatcher.forward(req, res);

}

If i use this method and Load some JSP means, Flash Widgets are not working in the JSP.

If i forward the JSP and parameters directly in the URL [Without passing through my Servlet], My JSP loaded and my Flash Movies are playinmg well.

I dont think anything wrong with my jsploader from Servlet. If i cant use Flash movies in MVC, its a problem for me, because before loading the movie, I have to do lot lod this on Server side.

Please help me in thi regards,

Vijaya Rama kannan.K

[1013 byte] By [Akramkannana] at [2007-10-3 8:56:47]
# 1
This sounds more like an HTML/Flash question to me. I don't quite see how JSP or not has any influence on whether Flash shows on the client. Did you have a look at the HTML your JSP produces, whether it actually looks like what you need to have?
CeciNEstPasUnProgrammeura at 2007-7-15 4:07:06 > top of Java-index,Java Essentials,Java Programming...
# 2

Yes, my html produced through JSP is have the attributes of Flash object whatever i have configured.

And i agree, this issue related with HTML/FLASH kind.

But my problem occurs only when i have the navigation through Servlet.

if it is a General [HTML/FLASH] problem, then it should not work anyhow [If i accessing the JSP through Direct URL or else, It shouldn't work ... Right ? ]

JSP dont have any restrictions against Flash Widgets, its always used to show the Flash movie as whatever it is.

My doubt is whenever i forward into a JSP through Servlet by using Request Dispatcher, its not working. Thatswhy I have enclosed my LoadtoJSP method with this.

Thanks for your Quick Reply. My intension is just to know the request dispatching can affects the Flash objects configured with the JSP.

Thanks,

Vijaya Rama Kannan.K

Akramkannana at 2007-7-15 4:07:06 > top of Java-index,Java Essentials,Java Programming...
# 3
Once more: check the HTML output for correctness.
CeciNEstPasUnProgrammeura at 2007-7-15 4:07:06 > top of Java-index,Java Essentials,Java Programming...
# 4
Yes, I have checked that.. its having the correct contentsMy Browser saying 1 tem pending to load [That particulat Flash object]. But if i right-click on the Flash Object, it says Movie Not loaded.There is No conflicts b/w configured JSP and HTML output of compiled JSP.
Akramkannana at 2007-7-15 4:07:06 > top of Java-index,Java Essentials,Java Programming...
# 5
If its exactly the same: why does the browser behave differently? How do you provide that flash stuff?
CeciNEstPasUnProgrammeura at 2007-7-15 4:07:06 > top of Java-index,Java Essentials,Java Programming...