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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
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: 569
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://aspose.com/file-tools
 
subject: displaying an external html in jsp