• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

strange error

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a not so big jsp file using struts. If I add a few more lines , it just doesnt show the newly added lines on the browser.
When I saw the html code, the newly added lines were not there!
So I deleted some code at the top of the jsp file and some java script code, and now the page shows fine. There is no error. just if i delete some lines, it works. But I need to add the javascript code back .... but if if I add it doesnt show the last few lines
My jsp page has a 300 lines with lot of include files The corresponding html file always gets cut off at 435th line.
Whats happening here?
 
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've seen this before. In my case it was just some simple error such as mixing up bean names. I did this once, trying to access a bean from an iterate tag, but there were actually two beans with the same name in the session and it was using the wrong one. It took me ages to realize.
I think to find the error you must rebuild your page tag for tag, retesting it at each point.
reply
    Bookmark Topic Watch Topic
  • New Topic