• Post Reply Bookmark Topic Watch Topic
  • New Topic

print formbean values

 
deep menghani
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use
out.println(variablename);

to print value of the variable.. if you want to log it... then use System.out.println(variablename);
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!