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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
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
Ranch Hand

Joined: Nov 09, 2011
Posts: 32

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: 60071
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Included JSPs not populating values on AJAX calls.
 
Similar Threads
problem with checkbox event in jsp page
Pass values between the frames
validations using javascript
web application Problem in IntelliJIDEA 6.0.1
Column value is getting reset to zero automatically in Jtable