Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts loading a web application inside a Div

 
Aravind Sivaramakrishnan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

Iam new to struts.
Currently iam migrating the existing web application to Struts2
Basically we are having 2 web applications(app1 and app2)
In app1 there is a jsp page containing a "DIV" ,i need to load app2 inside this "DIV"
Is it possible to do so,could any one please provide code to do this ,

Thanks in Advance
strutsbeginner
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JR.

I have't did something like your requirement before, but have a look in FRAME html element, it may have some help for you.
http://www.w3.org/TR/REC-html40/present/frames.html
 
Aravind Sivaramakrishnan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
Thanks for the reply,
It can be done using frame set ,
As iam migrating existing app to struts2 due to dependency i need to use DIV,
Thanks
Aravind


 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aravind Sivaramakrishnan wrote:As iam migrating existing app to struts2 due to dependency i need to use DIV,

How about <jsp:include />

Now, you have to play a little bi as page attribute takes the relative path.
 
Aravind Sivaramakrishnan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for reply!!
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IS that helpful, if so, then welcome
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic