Click here to Skip to main content
15,895,871 members
Home / Discussions / Java
   

Java

 
GeneralRe: Different between JRE 1.6 and JRE 1.5 [modified] Pin
utnqbao23-Oct-08 16:29
professionalutnqbao23-Oct-08 16:29 
QuestionAfter update of fix Windows Update: KB956390, in HTML buttons are developed in VML are not working Pin
ezhil2421-Oct-08 0:03
ezhil2421-Oct-08 0:03 
QuestionDownload JDK 1.6_04 Pin
Kevin Marois20-Oct-08 8:39
professionalKevin Marois20-Oct-08 8:39 
AnswerRe: Download JDK 1.6_04 Pin
toxcct20-Oct-08 21:24
toxcct20-Oct-08 21:24 
Questioncolumns side by side Pin
ic3e18-Oct-08 14:01
ic3e18-Oct-08 14:01 
AnswerRe: columns side by side Pin
sunil_jvfrm1-Nov-08 1:30
sunil_jvfrm1-Nov-08 1:30 
Questionwondering why it doesnt create another text field Pin
srinath158317-Oct-08 23:11
srinath158317-Oct-08 23:11 
Questionsun.net.smtp.SmtpProtocolException help Pin
davilism16-Oct-08 7:12
davilism16-Oct-08 7:12 
Hi, my jsp page uses sun.net.smtp.SmtpClient to send email. It worked fine until the hosted location was moved to another server. Now it generates the sun.net.smtp.SmtpProtocolException and the hosting company can't find what's wrong with it so I'm here hoping somebody can help.

What could cause the SmtpProtocolException? "locahost" was what I used to connect to the smtp server. When it failed, I tried another smtp server like "mail.xxx.com" on another server and it worked but the problem is that this server can't let me send mail to other domains except its own domain.

Thanks

The following is the code responsible for the email:
-------------------------------------------------------------
try
{
client = new SmtpClient(localhost);
client.from(EMAIL_FROM);
client.to(strEmail);
PrintStream message = client.startMessage();
message.println("From: " + EMAIL_FROM);
message.println("To: " + strEmail);
message.println("Subject: " + SUBJECT);
message.println();
...
client.closeServer();
}
catch(IOException e)
{
<div><%=e%></div>
}
QuestionScanner Not Found Pin
Kevin Marois15-Oct-08 12:17
professionalKevin Marois15-Oct-08 12:17 
AnswerRe: Scanner Not Found Pin
toxcct15-Oct-08 23:16
toxcct15-Oct-08 23:16 
QuestionSQL exception Pin
An Enigma14-Oct-08 16:49
An Enigma14-Oct-08 16:49 
RantRe: SQL exception Pin
toxcct14-Oct-08 21:25
toxcct14-Oct-08 21:25 
QuestionPROCES TRASNFERRING FROM ONE CLIENT TO ANOTHER CLIENT Pin
madhump11-Oct-08 22:27
madhump11-Oct-08 22:27 
QuestionProcess tranferring from one client to another client Pin
madhump9-Oct-08 21:13
madhump9-Oct-08 21:13 
Questionadding new library to netbeans Pin
Areff8-Oct-08 12:42
Areff8-Oct-08 12:42 
QuestionConvert Fortran program to Java Pin
Trupti Mehta7-Oct-08 20:59
Trupti Mehta7-Oct-08 20:59 
AnswerRe: Convert Fortran program to Java Pin
toxcct8-Oct-08 1:03
toxcct8-Oct-08 1:03 
QuestionHelp to set apache tomcat 6.0 to netbeans Pin
hamid zamani7-Oct-08 2:12
hamid zamani7-Oct-08 2:12 
AnswerRe: Help to set apache tomcat 6.0 to netbeans Pin
Pedram Behroozi8-Oct-08 7:08
Pedram Behroozi8-Oct-08 7:08 
QuestionCode Optimization Pin
TannerB6-Oct-08 12:02
TannerB6-Oct-08 12:02 
AnswerRe: Code Optimization Pin
toxcct6-Oct-08 21:26
toxcct6-Oct-08 21:26 
GeneralRe: Code Optimization Pin
TannerB7-Oct-08 7:04
TannerB7-Oct-08 7:04 
GeneralRe: Code Optimization Pin
toxcct7-Oct-08 7:11
toxcct7-Oct-08 7:11 
AnswerRe: Code Optimization Pin
douss7-Oct-08 23:19
douss7-Oct-08 23:19 
GeneralRe: Code Optimization Pin
toxcct8-Oct-08 0:34
toxcct8-Oct-08 0:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.