Foren

portletRequestDispatcher includes me all the page

thumbnail
Juanjo Hernández Cánovas, geändert vor 12 Jahren.

portletRequestDispatcher includes me all the page

Regular Member Beiträge: 183 Beitrittsdatum: 11.08.08 Neueste Beiträge
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, geändert vor 12 Jahren.

RE: portletRequestDispatcher includes me all the page

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
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.