• 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

ONGl + struts 2 tag

 
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am passing param values using <s:url> and am retrieving those values in another jsp using ONGL.

Here is my code:

jsp:


jsp in which i am retrieving the param values:



Also, the generated client side jsp code:


second jsp:


I am getting the value attribute blank.

What am i doing wrong?

Thanks
 
Sheriff
Posts: 9707
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Deeps Mistry wrote:




I am getting the value attribute blank.



I couldn't understand properly what you mean by value attribute i blank, but in your calling code, you've used all uppercase parameter names like CID, NAME etc while in your OGNL (not ONGL standing for object graph navigation language) you've used lowercase names. This might be a problem...
 
Deeps Mistry
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ankit Garg wrote:

Deeps Mistry wrote:




I am getting the value attribute blank.



I couldn't understand properly what you mean by value attribute i blank, but in your calling code, you've used all uppercase parameter names like CID, NAME etc while in your OGNL (not ONGL standing for object graph navigation language) you've used lowercase names. This might be a problem...




Hey...thanks a lot...it worked!!!

was a really stupid mistake

thanks again

Cheers
reply
    Bookmark Topic Watch Topic
  • New Topic