• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Retriviewing c:out value

 
Ranch Hand
Posts: 87
Hibernate Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I am using JSLT tags





and in Java i am reteiviewing the value of sortorder using




I am getting the exiting value which is good but even when i change the sortorder value on the jsp page I still get the old value.

Any suggestions how I can get the chnaged value.

Thanks
Smitha.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your question is impossible to answer with the information that you have given.

Vallaru smitha wrote:and in Java i am reteiviewing the value of sortorder using


What is "sortorder"? It's not defined anywhere in the JSP snippet you provided. How can anyone know how to retrieve it if we don't know what it is?

In your iterator code:


What is from? Again, we have no idea what this is so how can we comment? Also, it won't compile as written. Is this the real code?

Any suggestions how I can get the chnaged value.


You'll need to provide better information on what you are doing, along with better code examples. Be sure to use proper indentation and to post the real code.
 
Vallaru smitha
Ranch Hand
Posts: 87
Hibernate Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I am using JSLT tags

Sort order is field in table called product


this is how I set to form



In Jsp



CForm is my form where I wrote getter setter methos.
Products is list with getter/Setter methods defined in CForm
when I loop as above I am gettin the sortorder from the table. But when I change sortorder and try to retrieve it I am getting the old val but the changed.

and in Java i am reteiviewing the value of sortorder using





I am getting the exiting value which is good but even when i change the sortorder value on the jsp page I still get the old value.

Any suggestions how I can get the chnaged value.

Thanks
Smitha.
reply
    Bookmark Topic Watch Topic
  • New Topic