• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

strange error

 
Rajani Deshpande
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • 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?
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic