portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bianchi" <stefano.bian...@softeco.it>
Subject Re: jsp and html
Date Wed, 11 Jan 2006 08:48:14 GMT
Hello,
maybe a silly observation...
Why are you implementing a portlet to show a html file?
Could you not use a htmlportlet?
Cheers
Stefano

----- Original Message ----- 
From: "mu baosen" <mubaosen@gmail.com>
To: "jetspeed-user" <jetspeed-user@portals.apache.org>
Sent: Wednesday, January 11, 2006 9:43 AM
Subject: jsp and html


Hello, everyone.

I implement doView() method of portlet as following:

public void doView(RenderRequest request, RenderResponse response)
   throws PortletException, IOException {

   PortletContext context = getPortletContext();
   PortletRequestDispatcher rd = context.getRequestDispatcher
("/WEB-INF/view/test.html");
   rd.include(request, response);
 }

The content displayed in IE 6.0 is blank. But I rename test.html to
test.jsp(only
change the file extension), it displays right. Why?

Thanks.




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Mime
View raw message