• Post Reply Bookmark Topic Watch Topic
  • New Topic

Frames--- Why not in JSP?

 
Maki Jav
Ranch Hand
Posts: 447
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to call to call two frames left.jsp and right.jsp in a Main.jsp, just like you do in html ,but to no avail. I am using tomcat and I was trying to get the jsps which were getting data dynamically. But this sitaution is true with ordinary static jsps!
Plz help me out!!!
Thankz in advance
 
prabhat kumar
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
post code
 
Maki Jav
Ranch Hand
Posts: 447
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For Left Frame Left.jsp has

For Right Frame we have


For Main Frame calling Left and Right


Please note that I will use the left and right for dynamical datd fetching but it has failed me in this simple experiment. The html files with similar codes work okay

 
Vikas Varma
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maki,
When you create a html page, open/close the tags properly.
For example, in Left.jsp, you dont have the <form> tag, but you have the </form> tag. So the browser got confused.
Usually when I create the jsp page, whenever I open a tag, I make sure that I close the same, so that these sort of bugs can be avoided.
Please close all open tags, and try out doing the same, I am sure it will work
--Vikas
 
Katia Platonov
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, your problem is not <form> tag.
It's open <script laguage=javascript> tag.
Either close it prior to printing your line with </script> or get rid of it and you should be fine.
Katya.
 
Maki Jav
Ranch Hand
Posts: 447
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tahx guys!
I am up and going...
Thanx alot!
Maki Jav
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!