Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Included JSPs not populating values on AJAX calls.

 
Jack Numen
Ranch Hand
Posts: 42
Hibernate Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a critical situation and i am not able to find a solution for this.

One.jsp file is of nearly 4000 lines and gives compilation error as "File too large not to Exceed 65KB"

So i have spilt the file into two.
Literally inside a logic:iterate tag .populationf of values<td>'s is splitted into two JSPs.

Now after adding a new row using javascipt old row values are becoming null or blank.

Previously those values are coming correct even o n page refresh ..But after spliiting these values from the included JSp are not being populated.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why is the JSP so big? Id it full of Java code? :shock:

If so, refactor the JSP to remove all Java code and move it to the controller or to beans as described in this article.

The use only the JSTL and EL in the JSP.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic