Hello everyone,

My aim is to include content dynamically in JSP but I have no means to tests and I don't know JSP.
My code is already working in PHP and I would simply need some help to convert it to JSP...

My PHP code is :

echo file_get_contents("http://www.myserver.com/newsletter/?action=detailnewsextern&profil=CocaCola&extern=1&inter_lang=fr&limit=3&".$_SERVER["QUERY_STRING"]);

Is it possible to do something like this or not ? And if now, how ?

<jsp:include page="http://www.myserver.com/newsletter/?action=detailnewsextern&profil=CocaCola&extern=1&inter_lang=fr&limit=3&" . request.getQueryString(); />

If someone could give me a hint it would be great !

Thanks a lot !

Denis

Hello,

I'm really hoping for JSP help, is my question unclear or is something missing in my question ? Please feel free to ask for more details...

Thanks a lot in advance for any help...

Denis

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.