Ad:
 
  • JSP Discussion Thread
  • Unsolved
  • Views: 464
  • JSP RSS
Similar Threads
Mar 12th, 2010
0

Need help on dynamic pages includes

Expand Post »
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 :
JSP Syntax (Toggle Plain Text)
  1. 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 Syntax (Toggle Plain Text)
  1. <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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
magix is offline Offline
5 posts
since Aug 2009
Mar 15th, 2010
0

Re: Need help on dynamic pages includes

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
magix is offline Offline
5 posts
since Aug 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: Web Application Project
Next Thread in JSP Forum Timeline: JSP form - fill bean - to servlet





About Us | Contact Us | Advertise | Acceptable Use Policy
Build Custom RSS Feed


Follow us on Twitter


© 2010 DaniWeb® LLC