aspose file tools
The moose likes Struts and the fly likes displaying an external html in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "displaying an external html in jsp" Watch "displaying an external html in jsp" New topic
Author

displaying an external html in jsp

Srini Nivas
Greenhorn

Joined: Aug 25, 2005
Posts: 21
Hi,
I want to display the content of an external html file in my jsp. <jsp:include> takes only the relative path. So is there any other way to do this?
Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 568
What about jstl? Try <c:import ... />. There is nothing struts specific.
Srini Nivas
Greenhorn

Joined: Aug 25, 2005
Posts: 21
yes... but that wouldnt help me ....in the uri attribute i need a dynamic link. which i am not able to give. i.e for example i need either url1 or url2 or url3. But using c:import i cant choose...i am having to hardcode the url. So is there any way around???

Thanks.
alan wamser
Ranch Hand

Joined: Jan 30, 2006
Posts: 41
What about using iframe?
Srini Nivas
Greenhorn

Joined: Aug 25, 2005
Posts: 21
iframe?? can you tell me how to use that. thanks.
 
I agree. Here's the link: http://jrebel.com/download
 
subject: displaying an external html in jsp
 
Similar Threads
using js file + global variable
Passing parameters to jApplet
i got same exception
Passing url parameters to ASP page
Create EXCEL sheet -JSP entries