• Post Reply Bookmark Topic Watch Topic
  • New Topic

I want to print the SrNo generated from sequence from oracle table in java mail  RSS feed

 
Priyanka Dande
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I want to print the value of SrNo which is taking value from sequence.nextval from oracle table into the java mail

Kindly find below my code, kindly give me solution i am not able to print the value




in the above code At the Sr.No location i am trying to print the value from sequnce i am taking out.println(SrNo); in the mail code and the output is

Dear Sir ,

Detaila are as below

Sr.No :

the value is not printing in my java mail

 
Swastik Dey
Rancher
Posts: 1805
15
Android Eclipse IDE Java Java ME
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
out.println will print it on the page, but you need to append it to the message body.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!