dcsimg
Problem in message.getFrom()[0]....
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   gurpreet_ahluwalia
Posted On:   Wednesday, March 6, 2002 12:32 AM

The problem i am facing is that...

when i use this command



System.out.println(message.getFrom()[0]);

it shows like


gurpreet

and works well


but when i print it like..



out.println(message.getFrom()[0]);


it shows only this

gurpreet


and not the mail address where
the message has come from..

please help me sir ....

Re: Problem in message.getFrom()[0]....

Posted By:   John_Zukowski  
Posted On:   Wednesday, March 6, 2002 07:31 AM

the < and > are treated as tags in an HTML file. You need to escape them when displayed within a JSP page.
About | Sitemap | Contact