aspose file tools
The moose likes Struts and the fly likes ONGl + struts 2 tag 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 » Frameworks » Struts
Reply Bookmark "ONGl + struts 2 tag" Watch "ONGl + struts 2 tag" New topic
Author

ONGl + struts 2 tag

Deeps Mistry
Ranch Hand

Joined: Jan 31, 2009
Posts: 189
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
Ankit Garg
Saloon Keeper

Joined: Aug 03, 2008
Posts: 9189
    
    2

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...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Deeps Mistry
Ranch Hand

Joined: Jan 31, 2009
Posts: 189
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
 
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: ONGl + struts 2 tag
 
Similar Threads
Error comes whilke compiling the jsp page
pass <bean:write> to a function
tiles and <sx:autocompleter>
DisplayTag problem to export Excel not working
Problem With I18n feature of Struts2