[java ee programming] Re: hi

2010-02-22 Thread miga


On Feb 23, 3:40 am, Munkhdalai Sain dalai8...@gmail.com wrote:
 hi guys,
 Someone sent you homework? I sent homework. However i received error
 message.
Please, check that you replace the last part of the email address with
javapassion.com instead of sun.com.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Re: Hi

2009-11-09 Thread Bob Santos
Hi Sadia,

Do you have an error stack trace that we can work with? It will be more
helpful if you post the error as well.

But just by knowing that when you comment out c:out/ the code works gives
me an idea that you might not have the necessary libraries in your
classpath. You need at least jstl.jar and standard.jar from apache, download
herehttp://jakarta.apache.org/site/downloads/downloads_taglibs-standard.cgiand
add it to your classpath.

By the way I would suggest you learn more about current HTML practices cause
we don't use the font tag anymore. I recomment going to
htmldog.comhttp://www.htmldog.com
.


Regards,

Bob

On Tue, Nov 10, 2009 at 7:57 AM, Sadia Butt buttsa...@yahoo.com wrote:

 Hi Everyone.

 I was in the Java Programming groun now moving in the Web development i.e.
 Java EE.

 I am having a problem.

 %@ page language=java contentType=text/html; charset=ISO-8859-1
 pageEncoding=ISO-8859-1%
 %@ taglib prefix = c uri=http://java.sun.com/jsp/jstl/core%
 !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN 
 http://www.w3.org/TR/html4/loose.dtd;

 html
 head
 titleEnter your name/title
 /head
 body
 pnbsp;/p
 form method=POST action=showname.jsp

 1+2+3=c:out value=${1+2+3}/

 pfont color=#80 size=5Enter your name:/fontinput type
 =text name=username size=20/p

 pinput type=submit value=Submit name=B1/p
 /form
 /body
 /html 

 can anyone tell me what might be the problem.??? Because when i comment out
 the 1+2+3=c:out value=${1+2+3}/  it works perfectly fine. I am just
 going through a tutorial  now trying to learn Jstl.

 Thanks in advance.

 Regards

 Sadia Butt


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Hi Friends ! Looking for Java Experts

2009-07-24 Thread jitesh dundas
Dear All,

For 1-2 days I went through some stuff about SMTP servers and I found the
James Apache SMTP server a good choice for my testing. It seems my IP
Address has not been added to the MTA of the SMTP Server. Thus, this will
take some permissions and thus some time before I can do that.

When I setup my Apache James Server(SMTP) on my localhost, the code (the
simple one without SSL authentication ) ran just beautifully. I will do the
same for SSL authentication code too.

Thank you everyone for helping me out. I think it is a network settings
issue and not a problem in my code.

IS anyone familiar with James Apache SMTP server. I am thinking of using it
for our live project, as this permissions issue is really tedious. Having
our own server is good for us too.

I want to change my server name from localhost to my IP Address alias . Can
other people in my network access it. If yes, how. Where do register this
alias. I want to to create a mail like jit...@dil-lab.org ..

Can anyone help me out here.

Thanks  Regards,
Jitesh Dundas

On Thu, Jul 23, 2009 at 6:09 PM, Ice-Man derlon.aliend...@gmail.com wrote:

   As what meant (was meaning) your network doesN'T Alow local mail
 sending. You have to find out the Secure Polititians with the net
 administrator / infra-structure staff.
   Try to deploy the App (.WAR) in a Test Server (or even
 Production/Official Server). So, test mailling sending within these
 Enviroments.
   Hope helping

 Ice-Man

 2009/7/22 jitesh dundas jbdun...@gmail.com

 Hi,

 I did that as you suggested. It gave me this response:-

 C:\ping smtp-auth.iitb.ac.in

 Pinging smtp-auth.iitb.ac.in [10.200.1.125] with 32 bytes of data:

 Request timed out.
 Request timed out.
 Request timed out.
 Request timed out.

 Ping statistics for 10.200.1.125:
 Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

 =--

 My Sys Admin told me that Ping will not work for smtp server (Dont know
 why, must be some protection policy),

 I tried ping using localhost:-
 ---
 C:\ping localhost

 Pinging dil [127.0.0.1] with 32 bytes of data:

 Reply from 127.0.0.1: bytes=32 time1ms TTL=128
 Reply from 127.0.0.1: bytes=32 time1ms TTL=128
 Reply from 127.0.0.1: bytes=32 time1ms TTL=128
 Reply from 127.0.0.1: bytes=32 time1ms TTL=128

 Ping statistics for 127.0.0.1:
 Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
 Approximate round trip times in milli-seconds:
 Minimum = 0ms, Maximum = 0ms, Average = 0ms
 ---

 so I tried telnet.
 
 telnet smtp-auth.iitb.ac.in 25

 In response, screen clears and I get this reply.

 220 smtp-auth.iitb.ac.in ESMTP Postfix

 This means it is connecting here.

 Next I tried this :-

 C:\telnet smtp-auth.iitb.ac.in 465
 Connecting To smtp-auth.iitb.ac.in...Could not open connection to the
 host, on p
 ort 465: Connect failed

 
 Does this mean I have to change the port to 25 to connect to the server.I
 tried that too in my code and I get this :-

 ---

 C:\Program Files\Java\jdk1.5.0_10\binjava javamailauth
 DEBUG: setDebug: JavaMail version 1.4.2
 DEBUG: getProvider() returning
 javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.s
 mtp.SMTPTransport,Sun Microsystems, Inc]
 DEBUG SMTP: useEhlo true, useAuth true
 DEBUG SMTP: useEhlo true, useAuth true
 DEBUG SMTP: trying to connect to host smtp-auth.iitb.ac.in, port 25,
 isSSL fal
 se
 DEBUG SMTP: exception reading response: javax.net.ssl.SSLException:
 Unrecognized
  SSL message, plaintext connection?
 Exception in thread main javax.mail.MessagingException: Exception
 reading resp
 onse;
   nested exception is:
 javax.net.ssl.SSLException: Unrecognized SSL message, plaintext
 connecti
 on?
 at
 com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java
 :1764)
 at
 com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1523)
 at
 com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:45
 3)
 at javax.mail.Service.connect(Service.java:313)
 at javax.mail.Service.connect(Service.java:172)
 at javax.mail.Service.connect(Service.java:121)
 at javamailauth.test(javamailauth.java:44)
 at javamailauth.main(javamailauth.java:17)
 Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext
 conne
 ction?
 at
 com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRec
 ord.java:521)
 at
 com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)
 at
 com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.j
 ava:723)
 at
 com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SS
 LSocketImpl.java:1030)
 at
 

[java ee programming] Re: Hi Friends ! Looking for Java Experts

2009-07-23 Thread Ice-Man
  As what meant (was meaning) your network doesN'T Alow local mail
sending. You have to find out the Secure Polititians with the net
administrator / infra-structure staff.
  Try to deploy the App (.WAR) in a Test Server (or even Production/Official
Server). So, test mailling sending within these Enviroments.
  Hope helping

Ice-Man

2009/7/22 jitesh dundas jbdun...@gmail.com

 Hi,

 I did that as you suggested. It gave me this response:-

 C:\ping smtp-auth.iitb.ac.in

 Pinging smtp-auth.iitb.ac.in [10.200.1.125] with 32 bytes of data:

 Request timed out.
 Request timed out.
 Request timed out.
 Request timed out.

 Ping statistics for 10.200.1.125:
 Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

 =--

 My Sys Admin told me that Ping will not work for smtp server (Dont know
 why, must be some protection policy),

 I tried ping using localhost:-
 ---
 C:\ping localhost

 Pinging dil [127.0.0.1] with 32 bytes of data:

 Reply from 127.0.0.1: bytes=32 time1ms TTL=128
 Reply from 127.0.0.1: bytes=32 time1ms TTL=128
 Reply from 127.0.0.1: bytes=32 time1ms TTL=128
 Reply from 127.0.0.1: bytes=32 time1ms TTL=128

 Ping statistics for 127.0.0.1:
 Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
 Approximate round trip times in milli-seconds:
 Minimum = 0ms, Maximum = 0ms, Average = 0ms
 ---

 so I tried telnet.
 
 telnet smtp-auth.iitb.ac.in 25

 In response, screen clears and I get this reply.

 220 smtp-auth.iitb.ac.in ESMTP Postfix

 This means it is connecting here.

 Next I tried this :-

 C:\telnet smtp-auth.iitb.ac.in 465
 Connecting To smtp-auth.iitb.ac.in...Could not open connection to the host,
 on p
 ort 465: Connect failed

 
 Does this mean I have to change the port to 25 to connect to the server.I
 tried that too in my code and I get this :-

 ---

 C:\Program Files\Java\jdk1.5.0_10\binjava javamailauth
 DEBUG: setDebug: JavaMail version 1.4.2
 DEBUG: getProvider() returning
 javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.s
 mtp.SMTPTransport,Sun Microsystems, Inc]
 DEBUG SMTP: useEhlo true, useAuth true
 DEBUG SMTP: useEhlo true, useAuth true
 DEBUG SMTP: trying to connect to host smtp-auth.iitb.ac.in, port 25,
 isSSL fal
 se
 DEBUG SMTP: exception reading response: javax.net.ssl.SSLException:
 Unrecognized
  SSL message, plaintext connection?
 Exception in thread main javax.mail.MessagingException: Exception reading
 resp
 onse;
   nested exception is:
 javax.net.ssl.SSLException: Unrecognized SSL message, plaintext
 connecti
 on?
 at
 com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java
 :1764)
 at
 com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1523)
 at
 com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:45
 3)
 at javax.mail.Service.connect(Service.java:313)
 at javax.mail.Service.connect(Service.java:172)
 at javax.mail.Service.connect(Service.java:121)
 at javamailauth.test(javamailauth.java:44)
 at javamailauth.main(javamailauth.java:17)
 Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext
 conne
 ction?
 at
 com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRec
 ord.java:521)
 at
 com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)
 at
 com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.j
 ava:723)
 at
 com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SS
 LSocketImpl.java:1030)
 at
 com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketIm
 pl.java:678)
 at
 com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:
 75)
 at
 com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:106)
 at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
 at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
 at
 com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:84)
 at
 com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java
 :1742)
 ... 7 more

 C:\Program Files\Java\jdk1.5.0_10\bin

 -

 Can somebody please tell me what is wrong or missing here. The code seems
 to be fine, there is some connection/settings issue. How do I resolve this
 problem?

 Thanks  Regards,
 Jitesh Dundas



 On Wed, Jul 22, 2009 at 1:25 AM, pacior gpaty...@gmail.com wrote:

 The problem is that the host: smtp-auth.iitb.ac.in is not responding
 now.
 You can check that host is responding ( or not responding ) typing:
 ping hostname in windows or linux operating system.
 my smtp client: smtp.gmail.com 

[java ee programming] Re: Hi Friends ! Looking for Java Experts

2009-07-22 Thread jitesh dundas
Hi,

Yes I am sending my mails from my localhost machine but it is in my
institution network. I have the host name, ID/PWD but this does not seem to
work correctly.

I am getting certain that this is a networks/admin/permissions issue and not
a programming issue now.

Any comments ?


Thanks  Regards,
Jitesh Dundas

On Tue, Jul 21, 2009 at 10:54 PM, Ice-Man derlon.aliend...@gmail.comwrote:

   Oh, Jetesh

   Are u trying to execute it locally (from localhost/your computer) and
 are your computer connected within a coorporate network??!
   Maybe, Mail Sending from Desktop (localhost) within your network.

 I'm gonna tell u my cas/instance: Here where I work, my App running from
 localhost canNOT send E-Mails. So, I need to (bias (the sending mail) flux
 to console) generate my App .WAR, ask to Deploy it to Developing, ou
 Homologation, Enviroment then I can test sending mail, get it??! :O

 Ice-Man

 2009/7/21 jitesh dundas jbdun...@gmail.com

 Hi,

 Thanks for your reply. The smtp-server name seems to be fine. For
 authentication, I enter only the username and password.

 Though username/password are correct(this is my mail id/password for this
 institution), I am getting a feeling that the code is fine but there is some
 issue in the credentials supplied(as you have pointed out).

 Any suggestions how I could check if my credentials are fine.

 Also, I have also got the Relay Access is denied error earlier. Should I
 get a verification if the relay is allowed for my IP address.

 Any settings I need to take care of here. Also, how do I get them checked.

 I request your reply.

 Thanks  Regards,
 Jitesh Dundas



 On Tue, Jul 21, 2009 at 8:23 PM, Mick Timony mick.tim...@gmail.comwrote:

 I see two problems.

 The first is this:

 javax.mail.SendFailedException: Invalid Addresses;
   nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jit...@it.iitb.ac.in
 : Relay access denied

 It's not recognising your credentials, so either your username/password
 is incorrect, or you need to use something else to authenticate. It's
 possible that you need to use just the username without the domain, or some
 variation on the domain.

 The second one is this:

 nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com:
 Relay access denied

 Most servers disable relay access to prevent unauthorized users from
 using their mail servers (to send spam). See this article on Open Relay
 for more details: http://en.wikipedia.org/wiki/Open_mail_relay .

 Mick T.


   On Tue, Jul 21, 2009 at 8:20 AM, jitesh dundas jbdun...@gmail.comwrote:

  Hi Frends,

 I changed the port to 25 as this is the one used for sending emails. Now
 I am getting this error:-


 C:\Program Files\Java\jdk1.5.0_10\binjava Mailer
 There was an error in sending the mail. Please check the username,
 password and
 the mail-server information provided
 javax.mail.SendFailedException: Invalid Addresses;
   nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jit...@it.iitb.ac.in
 : Relay access denied
 ;
   nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com:
 Relay access denied

 at
 com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1446)
 at
 com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:736)
 at javax.mail.Transport.send0(Transport.java:191)
 at javax.mail.Transport.send(Transport.java:120)
 at Mailer.postMail(Mailer.java:82)
 at Mailer.main(Mailer.java:30)
 Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jit...@it.iitb.ac.
 in: Relay access denied
 ;
   nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com:
 Relay access denied

 at
 com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1344)
 ... 5 more
 Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com
 : Relay access denied

 ... 6 more

 C:\Program Files\Java\jdk1.5.0_10\bin


 Please help..
 Thanks  Regards,
 Jitesh Dundas


On Tue, Jul 21, 2009 at 3:54 PM, jitesh dundas 
 jbdun...@gmail.comwrote:

 Hi,

 This is another way I was trying to send my mail. Maybe you could help
 me out here.
 We have an SMTP server(server name and other details are available). I
 am trying to send my mail via this server (and not gmail this time).

 However, the code is compiling fine but gives a runtime error.Please
 have a look and tell me what is wrong.
 --

  Code:-

 ---
 import javax.mail.*;
 import javax.mail.internet.*;
 import javax.mail.Authenticator;
 import javax.mail.PasswordAuthentication;

 import java.util.Properties;


 public class javamailauth
 {

 private static final String SMTP_HOST_NAME =
 *..**.**;
 private static final 

[java ee programming] Re: Hi Friends ! Looking for Java Experts

2009-07-22 Thread jitesh dundas
Hi,

I did that as you suggested. It gave me this response:-

C:\ping smtp-auth.iitb.ac.in

Pinging smtp-auth.iitb.ac.in [10.200.1.125] with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 10.200.1.125:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

=--

My Sys Admin told me that Ping will not work for smtp server (Dont know why,
must be some protection policy),

I tried ping using localhost:-
---
C:\ping localhost

Pinging dil [127.0.0.1] with 32 bytes of data:

Reply from 127.0.0.1: bytes=32 time1ms TTL=128
Reply from 127.0.0.1: bytes=32 time1ms TTL=128
Reply from 127.0.0.1: bytes=32 time1ms TTL=128
Reply from 127.0.0.1: bytes=32 time1ms TTL=128

Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
---

so I tried telnet.

telnet smtp-auth.iitb.ac.in 25

In response, screen clears and I get this reply.

220 smtp-auth.iitb.ac.in ESMTP Postfix

This means it is connecting here.

Next I tried this :-

C:\telnet smtp-auth.iitb.ac.in 465
Connecting To smtp-auth.iitb.ac.in...Could not open connection to the host,
on p
ort 465: Connect failed


Does this mean I have to change the port to 25 to connect to the server.I
tried that too in my code and I get this :-

---

C:\Program Files\Java\jdk1.5.0_10\binjava javamailauth
DEBUG: setDebug: JavaMail version 1.4.2
DEBUG: getProvider() returning
javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.s
mtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host smtp-auth.iitb.ac.in, port 25, isSSL
fal
se
DEBUG SMTP: exception reading response: javax.net.ssl.SSLException:
Unrecognized
 SSL message, plaintext connection?
Exception in thread main javax.mail.MessagingException: Exception reading
resp
onse;
  nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext
connecti
on?
at
com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java
:1764)
at
com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1523)
at
com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:45
3)
at javax.mail.Service.connect(Service.java:313)
at javax.mail.Service.connect(Service.java:172)
at javax.mail.Service.connect(Service.java:121)
at javamailauth.test(javamailauth.java:44)
at javamailauth.main(javamailauth.java:17)
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext
conne
ction?
at
com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRec
ord.java:521)
at
com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.j
ava:723)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SS
LSocketImpl.java:1030)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketIm
pl.java:678)
at
com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:
75)
at
com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:106)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
at
com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:84)
at
com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java
:1742)
... 7 more

C:\Program Files\Java\jdk1.5.0_10\bin

-

Can somebody please tell me what is wrong or missing here. The code seems to
be fine, there is some connection/settings issue. How do I resolve this
problem?

Thanks  Regards,
Jitesh Dundas



On Wed, Jul 22, 2009 at 1:25 AM, pacior gpaty...@gmail.com wrote:

 The problem is that the host: smtp-auth.iitb.ac.in is not responding
 now.
 You can check that host is responding ( or not responding ) typing:
 ping hostname in windows or linux operating system.
 my smtp client: smtp.gmail.com is responding on that command.

 On Jul 21, 7:38 pm, jitesh dundas jbdun...@gmail.com wrote:
  Hi,
 
  Thanks for your reply. The smtp-server name seems to be fine. For
  authentication, I enter only the username and password.
 
  Though username/password are correct(this is my mail id/password for this
  institution), I am getting a feeling that the code is fine but there is
 some
  issue in the credentials supplied(as you have pointed out).
 
  Any suggestions how I could check if my 

[java ee programming] Re: Hi Friends ! Looking for Java Experts

2009-07-21 Thread pacior

What You need is to write code responsible for using ssl withjavamail
api:
For instance, for gmail, ssl port is 465:

   props.put(mail.smtp.starttls.enable,true);
   props.put(mail.smtp.auth, true);
   //props.put(mail.smtp.debug, true);
   props.put(mail.smtp.socketFactory.port, 465);
   props.put(mail.smtp.socketFactory.class,
javax.net.ssl.SSLSocketFactory);
   props.put(mail.smtp.socketFactory.fallback, false);

Grzegorz Patynek

On 21 Lip, 16:20, jitesh dundas jbdun...@gmail.com wrote:
 Hi Frends,

 I changed the port to 25 as this is the one used for sending emails. Now I
 am getting this error:-

 C:\Program Files\Java\jdk1.5.0_10\binjava Mailer
 There was an error in sending the mail. Please check the username, password
 and
 the mail-server information provided
 javax.mail.SendFailedException: Invalid Addresses;
   nested exception is:
         com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jit...@it.iitb.ac.in
 : Relay access denied
 ;
   nested exception is:
         com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com:
 Relay access denied

         at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1446)
         at
 com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:736)
         at javax.mail.Transport.send0(Transport.java:191)
         at javax.mail.Transport.send(Transport.java:120)
         at Mailer.postMail(Mailer.java:82)
         at Mailer.main(Mailer.java:30)
 Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jit...@it.iitb.ac.
 in: Relay access denied
 ;
   nested exception is:
         com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com:
 Relay access denied

         at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1344)
         ... 5 more
 Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com

 : Relay access denied

         ... 6 more

 C:\Program Files\Java\jdk1.5.0_10\bin

 Please help..
 Thanks  Regards,
 Jitesh Dundas

 On Tue, Jul 21, 2009 at 3:54 PM, jitesh dundas jbdun...@gmail.com wrote:
  Hi,

  This is another way I was trying to send my mail. Maybe you could help me
  out here.
  We have an SMTP server(server name and other details are available). I am
  trying to send my mail via this server (and not gmail this time).

  However, the code is compiling fine but gives a runtime error.Please have a
  look and tell me what is wrong.
  --

   Code:-
  ---
  import javax.mail.*;
  import javax.mail.internet.*;
  import javax.mail.Authenticator;
  import javax.mail.PasswordAuthentication;

  import java.util.Properties;

  public class javamailauth
  {

      private static final String SMTP_HOST_NAME = *..**.**;
      private static final String SMTP_AUTH_USER = **;
      private static final String SMTP_AUTH_PWD  = ***;

      public static void main(String[] args) throws Exception{
         new javamailauth().test();
      }

      public void test() throws Exception{
          Properties props = new Properties();
          props.put(mail.transport.protocol, smtp);
          props.put(mail.smtp.host, SMTP_HOST_NAME);
   props.put(mail.smtp.port,80);
          props.put(mail.smtp.auth, true);

          Authenticator auth = new SMTPAuthenticator();
          Session mailSession = Session.getDefaultInstance(props, auth);
          // uncomment for debugging infos to stdout
          // mailSession.setDebug(true);
          Transport transport = mailSession.getTransport();

          MimeMessage message = new MimeMessage(mailSession);
          message.setContent(This is a test, text/plain);
          message.setFrom(new InternetAddress(jit...@it.iitb.ac.in));
          message.addRecipient(Message.RecipientType.TO,new
  InternetAddress(jiteshbdun...@gmail.com));

          transport.connect();
          transport.sendMessage(message,message.getRecipients(
  Message.RecipientType.TO));
          transport.close();
      }

      private class SMTPAuthenticator extends javax.mail.Authenticator {
          public PasswordAuthentication getPasswordAuthentication()
   {
             String username = SMTP_AUTH_USER;
             String password = SMTP_AUTH_PWD;
             return new PasswordAuthentication(username, password);
          }
      }
  }
  ---
  Error:-
  ---
  C:\Program Files\Java\jdk1.5.0_10\binjava javamailauth
  Exception in thread main javax.mail.MessagingException: Could not connect
  to S
  MTP host: smtp-auth.iitb.ac.in, port: 80;

    nested exception is:
          java.net.ConnectException: Connection timed out: connect
          at
  com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1545)
          at
  

[java ee programming] Re: Hi Friends ! Looking for Java Experts

2009-07-21 Thread Mick Timony
I see two problems.

The first is this:

javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 554 
jit...@it.iitb.ac.in
: Relay access denied

It's not recognising your credentials, so either your username/password is
incorrect, or you need to use something else to authenticate. It's possible
that you need to use just the username without the domain, or some variation
on the domain.

The second one is this:

nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 554 
jbdun...@gmail.com:
Relay access denied

Most servers disable relay access to prevent unauthorized users from using
their mail servers (to send spam). See this article on Open Relay for more
details: http://en.wikipedia.org/wiki/Open_mail_relay .

Mick T.


On Tue, Jul 21, 2009 at 8:20 AM, jitesh dundas jbdun...@gmail.com wrote:

 Hi Frends,

 I changed the port to 25 as this is the one used for sending emails. Now I
 am getting this error:-


 C:\Program Files\Java\jdk1.5.0_10\binjava Mailer
 There was an error in sending the mail. Please check the username, password
 and
 the mail-server information provided
 javax.mail.SendFailedException: Invalid Addresses;
   nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jit...@it.iitb.ac.in
 : Relay access denied
 ;
   nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com:
 Relay access denied

 at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1446)
 at
 com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:736)
 at javax.mail.Transport.send0(Transport.java:191)
 at javax.mail.Transport.send(Transport.java:120)
 at Mailer.postMail(Mailer.java:82)
 at Mailer.main(Mailer.java:30)
 Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jit...@it.iitb.ac.
 in: Relay access denied
 ;
   nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com:
 Relay access denied

 at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1344)
 ... 5 more
 Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com
 : Relay access denied

 ... 6 more

 C:\Program Files\Java\jdk1.5.0_10\bin


 Please help..
 Thanks  Regards,
 Jitesh Dundas


 On Tue, Jul 21, 2009 at 3:54 PM, jitesh dundas jbdun...@gmail.com wrote:

 Hi,

 This is another way I was trying to send my mail. Maybe you could help me
 out here.
 We have an SMTP server(server name and other details are available). I am
 trying to send my mail via this server (and not gmail this time).

 However, the code is compiling fine but gives a runtime error.Please have
 a look and tell me what is wrong.
 --

  Code:-

 ---
 import javax.mail.*;
 import javax.mail.internet.*;
 import javax.mail.Authenticator;
 import javax.mail.PasswordAuthentication;

 import java.util.Properties;


 public class javamailauth
 {

 private static final String SMTP_HOST_NAME = *..**.**;
 private static final String SMTP_AUTH_USER = **;
 private static final String SMTP_AUTH_PWD  = ***;

 public static void main(String[] args) throws Exception{
new javamailauth().test();
 }

 public void test() throws Exception{
 Properties props = new Properties();
 props.put(mail.transport.protocol, smtp);
 props.put(mail.smtp.host, SMTP_HOST_NAME);
  props.put(mail.smtp.port,80);
 props.put(mail.smtp.auth, true);

 Authenticator auth = new SMTPAuthenticator();
 Session mailSession = Session.getDefaultInstance(props, auth);
 // uncomment for debugging infos to stdout
 // mailSession.setDebug(true);
 Transport transport = mailSession.getTransport();

 MimeMessage message = new MimeMessage(mailSession);
 message.setContent(This is a test, text/plain);
 message.setFrom(new InternetAddress(jit...@it.iitb.ac.in));
 message.addRecipient(Message.RecipientType.TO,new
 InternetAddress(jiteshbdun...@gmail.com));

 transport.connect();
 transport.sendMessage(message,message.getRecipients(
 Message.RecipientType.TO));
 transport.close();
 }

 private class SMTPAuthenticator extends javax.mail.Authenticator {
 public PasswordAuthentication getPasswordAuthentication()
  {
String username = SMTP_AUTH_USER;
String password = SMTP_AUTH_PWD;
return new PasswordAuthentication(username, password);
 }
 }
 }

 ---
 Error:-

 ---
 C:\Program Files\Java\jdk1.5.0_10\binjava javamailauth
 Exception in 

[java ee programming] Re: Hi Friends ! Looking for Java Experts

2009-07-21 Thread jitesh dundas
Hi,

Thanks for your reply. The smtp-server name seems to be fine. For
authentication, I enter only the username and password.

Though username/password are correct(this is my mail id/password for this
institution), I am getting a feeling that the code is fine but there is some
issue in the credentials supplied(as you have pointed out).

Any suggestions how I could check if my credentials are fine.

Also, I have also got the Relay Access is denied error earlier. Should I get
a verification if the relay is allowed for my IP address.

Any settings I need to take care of here. Also, how do I get them checked.

I request your reply.

Thanks  Regards,
Jitesh Dundas


On Tue, Jul 21, 2009 at 8:23 PM, Mick Timony mick.tim...@gmail.com wrote:

 I see two problems.

 The first is this:

 javax.mail.SendFailedException: Invalid Addresses;
   nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jit...@it.iitb.ac.in
 : Relay access denied

 It's not recognising your credentials, so either your username/password is
 incorrect, or you need to use something else to authenticate. It's possible
 that you need to use just the username without the domain, or some variation
 on the domain.

 The second one is this:

 nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com:
 Relay access denied

 Most servers disable relay access to prevent unauthorized users from
 using their mail servers (to send spam). See this article on Open Relay
 for more details: http://en.wikipedia.org/wiki/Open_mail_relay .

 Mick T.


 On Tue, Jul 21, 2009 at 8:20 AM, jitesh dundas jbdun...@gmail.com wrote:

 Hi Frends,

 I changed the port to 25 as this is the one used for sending emails. Now I
 am getting this error:-


 C:\Program Files\Java\jdk1.5.0_10\binjava Mailer
 There was an error in sending the mail. Please check the username,
 password and
 the mail-server information provided
 javax.mail.SendFailedException: Invalid Addresses;
   nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jit...@it.iitb.ac.in
 : Relay access denied
 ;
   nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com:
 Relay access denied

 at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1446)
 at
 com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:736)
 at javax.mail.Transport.send0(Transport.java:191)
 at javax.mail.Transport.send(Transport.java:120)
 at Mailer.postMail(Mailer.java:82)
 at Mailer.main(Mailer.java:30)
 Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jit...@it.iitb.ac.
 in: Relay access denied
 ;
   nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com:
 Relay access denied

 at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1344)
 ... 5 more
 Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com
 : Relay access denied

 ... 6 more

 C:\Program Files\Java\jdk1.5.0_10\bin


 Please help..
 Thanks  Regards,
 Jitesh Dundas


 On Tue, Jul 21, 2009 at 3:54 PM, jitesh dundas jbdun...@gmail.comwrote:

 Hi,

 This is another way I was trying to send my mail. Maybe you could help me
 out here.
 We have an SMTP server(server name and other details are available). I am
 trying to send my mail via this server (and not gmail this time).

 However, the code is compiling fine but gives a runtime error.Please have
 a look and tell me what is wrong.
 --

  Code:-

 ---
 import javax.mail.*;
 import javax.mail.internet.*;
 import javax.mail.Authenticator;
 import javax.mail.PasswordAuthentication;

 import java.util.Properties;


 public class javamailauth
 {

 private static final String SMTP_HOST_NAME = *..**.**;
 private static final String SMTP_AUTH_USER = **;
 private static final String SMTP_AUTH_PWD  = ***;

 public static void main(String[] args) throws Exception{
new javamailauth().test();
 }

 public void test() throws Exception{
 Properties props = new Properties();
 props.put(mail.transport.protocol, smtp);
 props.put(mail.smtp.host, SMTP_HOST_NAME);
  props.put(mail.smtp.port,80);
 props.put(mail.smtp.auth, true);

 Authenticator auth = new SMTPAuthenticator();
 Session mailSession = Session.getDefaultInstance(props, auth);
 // uncomment for debugging infos to stdout
 // mailSession.setDebug(true);
 Transport transport = mailSession.getTransport();

 MimeMessage message = new MimeMessage(mailSession);
 message.setContent(This is a test, text/plain);
 message.setFrom(new InternetAddress(jit...@it.iitb.ac.in));
 

[java ee programming] Re: Hi Friends ! Looking for Java Experts

2009-07-21 Thread Ice-Man
  Oh, Jetesh

  Are u trying to execute it locally (from localhost/your computer) and are
your computer connected within a coorporate network??!
  Maybe, Mail Sending from Desktop (localhost) within your network.

I'm gonna tell u my cas/instance: Here where I work, my App running from
localhost canNOT send E-Mails. So, I need to (bias (the sending mail) flux
to console) generate my App .WAR, ask to Deploy it to Developing, ou
Homologation, Enviroment then I can test sending mail, get it??! :O

Ice-Man

2009/7/21 jitesh dundas jbdun...@gmail.com

 Hi,

 Thanks for your reply. The smtp-server name seems to be fine. For
 authentication, I enter only the username and password.

 Though username/password are correct(this is my mail id/password for this
 institution), I am getting a feeling that the code is fine but there is some
 issue in the credentials supplied(as you have pointed out).

 Any suggestions how I could check if my credentials are fine.

 Also, I have also got the Relay Access is denied error earlier. Should I
 get a verification if the relay is allowed for my IP address.

 Any settings I need to take care of here. Also, how do I get them checked.

 I request your reply.

 Thanks  Regards,
 Jitesh Dundas



 On Tue, Jul 21, 2009 at 8:23 PM, Mick Timony mick.tim...@gmail.comwrote:

 I see two problems.

 The first is this:

 javax.mail.SendFailedException: Invalid Addresses;
   nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jit...@it.iitb.ac.in
 : Relay access denied

 It's not recognising your credentials, so either your username/password is
 incorrect, or you need to use something else to authenticate. It's possible
 that you need to use just the username without the domain, or some variation
 on the domain.

 The second one is this:

 nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com:
 Relay access denied

 Most servers disable relay access to prevent unauthorized users from
 using their mail servers (to send spam). See this article on Open Relay
 for more details: http://en.wikipedia.org/wiki/Open_mail_relay .

 Mick T.


   On Tue, Jul 21, 2009 at 8:20 AM, jitesh dundas jbdun...@gmail.comwrote:

  Hi Frends,

 I changed the port to 25 as this is the one used for sending emails. Now
 I am getting this error:-


 C:\Program Files\Java\jdk1.5.0_10\binjava Mailer
 There was an error in sending the mail. Please check the username,
 password and
 the mail-server information provided
 javax.mail.SendFailedException: Invalid Addresses;
   nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jit...@it.iitb.ac.in
 : Relay access denied
 ;
   nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com:
 Relay access denied

 at
 com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1446)
 at
 com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:736)
 at javax.mail.Transport.send0(Transport.java:191)
 at javax.mail.Transport.send(Transport.java:120)
 at Mailer.postMail(Mailer.java:82)
 at Mailer.main(Mailer.java:30)
 Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jit...@it.iitb.ac.
 in: Relay access denied
 ;
   nested exception is:
 com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com:
 Relay access denied

 at
 com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1344)
 ... 5 more
 Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 
 jbdun...@gmail.com
 : Relay access denied

 ... 6 more

 C:\Program Files\Java\jdk1.5.0_10\bin


 Please help..
 Thanks  Regards,
 Jitesh Dundas


On Tue, Jul 21, 2009 at 3:54 PM, jitesh dundas jbdun...@gmail.comwrote:

 Hi,

 This is another way I was trying to send my mail. Maybe you could help
 me out here.
 We have an SMTP server(server name and other details are available). I
 am trying to send my mail via this server (and not gmail this time).

 However, the code is compiling fine but gives a runtime error.Please
 have a look and tell me what is wrong.
 --

  Code:-

 ---
 import javax.mail.*;
 import javax.mail.internet.*;
 import javax.mail.Authenticator;
 import javax.mail.PasswordAuthentication;

 import java.util.Properties;


 public class javamailauth
 {

 private static final String SMTP_HOST_NAME = *..**.**;
 private static final String SMTP_AUTH_USER = **;
 private static final String SMTP_AUTH_PWD  = ***;

 public static void main(String[] args) throws Exception{
new javamailauth().test();
 }

 public void test() throws Exception{
 Properties props = new Properties();
 props.put(mail.transport.protocol, smtp);
 props.put(mail.smtp.host, SMTP_HOST_NAME);
  

[java ee programming] Re: hi-please help

2009-05-02 Thread tariq masood


You also need of main class.

Please try to these attached files.

Regards

Tariq Masood












Date: Thu, 30 Apr 2009 15:20:20 +0530
Subject: [java ee programming] Re: hi-please help
From: maskaravi...@gmail.com
To: tariq...@hotmail.com
CC: java-ee-j2ee-programming-with-passion@googlegroups.com

the doc file i have attached is the one whose several printouts i have taken 
and again i take the printout of the output in such a way that they fit in the 
places.don't worry about the tabs and lines as i have corrected them but please 
give me the code to print the output directly.i currently take the output in a 
text file and then take its printout.is it possible that i write the output in 
binod brothers.docx itself and then print the docx file.i used the filewriter 
command as(Binod Brothers,true) but the doc file got currupted wwhen i opened 
it.please help


On Wed, Apr 29, 2009 at 7:57 PM, tariq masood tariq...@hotmail.com wrote:






do u send me of your .java files
that I can easily trace your problem.


Regards

Tariq Masood

 Date: Wed, 29 Apr 2009 03:28:05 -0700
 Subject: [java ee programming] hi-please help

 From: maskaravi...@gmail.com
 To: java-ee-j2ee-programming-with-passion@googlegroups.com

 
 
 i wanted to write a invoicing program for my father's buisness.i am a
 class X th student and know only the basics.so this is what i have
 done.can u suggest a way to print the output from a printer

 automatically in the same format with the tabs and spaces not
 disappearing as in one of my programs.please help
 package maskara1;
 import java.io.*;
 import java.util.Calendar;
 public class BinodBrothers

 {
 
 static String nam,add,des,dest,ter;
 
 static final int rate[]=
 {3900,4195,185,285,410,729,1140,1712,3200,300,305,312,315,312,132};
 static int sum=0,tsum=0,cod,inv;

 static int qty[]= {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 static int amt[]= {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 static int stock[]=new int[15];
 static int sale[]=new int[15];
 static int msale[]=new int[15];

 static String prod[]={5.5mm Coil   ,Tata Tiscon 6mm  ,Tata
 Tiscon 8mm  ,Tata Tiscon 10mm ,Tata Tiscon 12mm ,Tata Tiscon
 16mm ,Tata Tiscon 20mm ,Tata Tiscon 25mm ,Balmukund

 ,Balajee  ,Lafarge Duraguard,Lafarge Concreto
 ,Ultratech,Jaypee Buland,Prince pipes };
 static BufferedReader br=new BufferedReader(new InputStreamReader

 (System.in));
 public static void menu()
 {
 System.out.println(n-Start Billing\nx-End of Day\nr-Change Rate\ns-
 View Stock\nt-View sales\nm-View monthly Sales\np-Enter Purchase Stock

 \nuView Current Rate);
 System.out.println(1-5.5mm coil2-Tata Tiscon 6mm\n3-Tata Tiscon 8mm
 \n4-Tata Tiscon 10mm\n5-Tata Tiscon 12mm\n6-Tata Tiscon 16mm\n7-Tata
 Tiscon20mm\n8-Tata Tiscon 25mm\n9-Balmukund\n10-Balajee);

 System.out.println(11-Lafarge Duraguard\n12-Lafarge Concreto\n13-
 Ultratech\n14-Jaypee Buland\n15-Prince Pipes);
 System.out.println(0-Stop);
 }
 public static void main(char ch)throws IOException

 {
 switch(ch)
 {
 case 'c':
 cash();
 break;
 case 'n':
 trigger();
 bill();
 break;
 case 'r':
 rate();
 break;

 case 's':
 stock();
 break;
 case 't':
 sales();
 break;
 case 'm':
 month();
 break;
 case 'p':
 purchase();
 case 'u':

 currentRate();
 break;
 case 'x':
 end();
 break;
 default:
 System.out.println(Invalid choice);
 }
 }
 public static void cash()

 {
 System.out.println(Total amount of cash flow in the day: Rs.+tsum);
 }
 public static void stock()
 {
 for(int i=0;i15;i++)
 System.out.println(prod[i]+\t+stock[i]);

 }
 public static void sales()
 {
 for(int i=0;i15;i++)
 System.out.println(prod[i]+\t+sale[i]);
 }
 public static void month()
 {
 for(int i=0;i15;i++)

 System.out.println(prod[i]+\t+msale[i]);
 }
 public static void currentRate()
 {
 for(int i=0;i15;i++)
 System.out.println(prod[i]+\t+rate[i]);
 }

 public static void trigger()
 {
 sum=0;
 for(int i=0;i15;i++)
 {
 qty[i]=0;
 amt[i]=0;
 }
 }
 public static void calc()
 {
 for(int i=0;i15;i++)

 amt[i]=qty[i]*rate[i];
 }
 public static void bill() throws IOException
 {
 menu();
 System.out.println(Billing);
 System.out.println(Enter the invoice no:);

 inv=Integer.parseInt(br.readLine());
 System.out.println(Despatched through:);
 des=br.readLine();
 System.out.println(Terms of Delivery:);
 ter=br.readLine();
 System.out.println(Destination:);

 dest=br.readLine();
 System.out.println(Enter the name:);
 nam=br.readLine();
 System.out.println(Enter the address:);
 add=br.readLine();
 for(int i=0;i15;i++)

 {
 System.out.println(Enter the product code:);
 int co=Integer.parseInt(br.readLine());
 if(co==0)
 break;
 System.out.println(Enter the quantity:);
 qty[co-1]=Integer.parseInt(br.readLine());

 }
 
 calc();
 FileWriter fw=new FileWriter(output bill.txt);
 BufferedWriter bw=new BufferedWriter(fw);
 PrintWriter outFile= new PrintWriter(bw);
 int c=0;
 String sub;

 outFile.println(\t\t\t\t\t\t\t\t\t+inv);
 outFile.print(\n\t\t\t\t\t\t\t\t\t);
 Calendar d=Calendar.getInstance

[java ee programming] Re: hi

2009-02-03 Thread My Email
Hi
Actually am already reading the lecture its so nice to have a community like 
this. 


--- On Tue, 2/3/09, ARUNKUMAR SAMPANGI, Chennai arunkumar.sampa...@hcl.in 
wrote:
From: ARUNKUMAR SAMPANGI, Chennai arunkumar.sampa...@hcl.in
Subject: [java ee programming] Re: hi
To: trl...@yahoo.com, java-ee-j2ee-programming-with-passion@googlegroups.com
Date: Tuesday, February 3, 2009, 7:34 AM




 
 







Hi 

   Many People out there… I’m not yet completely….But,
You can post your queries directly to the Group so one can answer with in no
time….. 

     

   









Regards 

arun.S 









   









From:
java-ee-j2ee-programming-with-passion@googlegroups.com
[mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of 
LAVANYA TR

Sent: Tuesday, February 03, 2009
12:02 AM

To:
java-ee-j2ee-programming-with-passion@googlegroups.com

Subject: [java ee programming] hi 



   


 
  
  Is there any one who already atteneded this course? 
  
 












 

DISCLAIMER:

---



The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.

It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 

this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.

Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 

this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have

received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 

attachments please check them for viruses and defect.



---






  
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Java 
EE (J2EE) Programming with Passion! group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: hi

2009-02-02 Thread ARUNKUMAR SAMPANGI, Chennai

Hi

   Many People out there... I'm not yet completelyBut, You can
post your queries directly to the Group so one can answer with in no
time.



 

Regards

arun.S

 



From: java-ee-j2ee-programming-with-passion@googlegroups.com
[mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On
Behalf Of LAVANYA TR
Sent: Tuesday, February 03, 2009 12:02 AM
To: java-ee-j2ee-programming-with-passion@googlegroups.com
Subject: [java ee programming] hi

 

Is there any one who already atteneded this course?






DISCLAIMER:
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

---
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Java 
EE (J2EE) Programming with Passion! group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---



[java ee programming] Re: Hi

2009-01-26 Thread Artashes Hovasapyan
Please see course FAQ - http://www.javapassion.com/coursefaq.html

-- 
Regards,
Artashes Hovasapyan


On Thu, Jan 22, 2009 at 2:13 AM, zaghman zagh...@gmail.com wrote:


 Hi All,
   Anybody know where i get register for this course?

 



-- 
Regards,
Artashes Hovasapyan

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Java 
EE (J2EE) Programming with Passion! group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~--~~~~--~~--~--~---