• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

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
 
She's brilliant. She can see what can be and is not limited to what is. And she knows this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic