Fórum

portletRequestDispatcher includes me all the page

thumbnail
Juanjo Hernández Cánovas, modificado 12 Anos atrás.

portletRequestDispatcher includes me all the page

Regular Member Postagens: 183 Data de Entrada: 11/08/08 Postagens Recentes
Hi to everybody,

I'm developing a Liferay/ajax-jquery portlet. When I select and option form a html select tag, I populate the information in another select tag after doing an sql query. All works fine but when I include the jsp that rewrites the second select, Liferays paints me "all" the site, it means the <head> ,<meta> and all other stuff of the page (logo, configuration controls, etc...). I don't know what happens, but I'm stuck on this.

Thank you in advance for you time.

Greetings,

Juanjo.
thumbnail
David H Nebinger, modificado 12 Anos atrás.

RE: portletRequestDispatcher includes me all the page

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
I'd guess that you're trying to go through either the action or render urls which will result in the entire page. You should be hitting the page directly, and not go through either of those.