This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 42

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: 60741
    
  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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Included JSPs not populating values on AJAX calls.
 
Similar Threads
Pass values between the frames
validations using javascript
web application Problem in IntelliJIDEA 6.0.1
problem with checkbox event in jsp page
Column value is getting reset to zero automatically in Jtable