aspose file tools
The moose likes JSP and the fly likes Included JSPs not populating values on AJAX calls. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Included JSPs not populating values on AJAX calls." Watch "Included JSPs not populating values on AJAX calls." New topic
Author

Included JSPs not populating values on AJAX calls.

Jack Numen
Greenhorn

Joined: Nov 09, 2011
Posts: 27

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

Joined: Jan 10, 2002
Posts: 56207
    
  13

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Included JSPs not populating values on AJAX calls.
 
Similar Threads
problem with checkbox event in jsp page
validations using javascript
Pass values between the frames
Column value is getting reset to zero automatically in Jtable
web application Problem in IntelliJIDEA 6.0.1