This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes print formbean values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "print formbean values" Watch "print formbean values" New topic
Author

print formbean values

deep menghani
Greenhorn

Joined: Oct 07, 2010
Posts: 7
hi...

I have a condition for checking if two values are equal or not

<logic:notEqual name='orderDetailsForm' property='<%="sysOrderID[" + element + "]"%>' value ='<%="invoiceNumber[" + element + "]"%>'>
</logic:notEqual>

i want to print values for sysorderID and invoiceNumber currently for the condition..

how to print these values on jsp???
Alpesh Gediya
Greenhorn

Joined: Nov 23, 2009
Posts: 24
Use
out.println(variablename);

to print value of the variable.. if you want to log it... then use System.out.println(variablename);


Alpesh Gediya
Do not re-invent the wheel.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: print formbean values
 
It's not a secret anymore!