• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Frames--- Why not in JSP?

 
Ranch Hand
Posts: 473
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
post code
 
Maki Jav
Ranch Hand
Posts: 473
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 473
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tahx guys!
I am up and going...
Thanx alot!
Maki Jav
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic