Hi:

OK, i make the change and is running very well, thanks Gautam ......

Gautam Mudra wrote:

> Jose,
> try this
> Properties props=System.getProperties();
> props.put("mail.host","mpkmail.xyz.com");
>
> instead of
> System.setProperty("mail.host", "mail.xyz.com");
>
> Gautham
>
> >Delivered-To: [EMAIL PROTECTED]
> >X-Accept-Language: es,en
> >MIME-Version: 1.0
> >Date: Tue, 27 Aug 2002 18:49:05 -0700
> >From: Jose Manuel Valencia <[EMAIL PROTECTED]>
> >Subject: setProperty problem
> >To: [EMAIL PROTECTED]
> >
> >Hi everybody:
> >
> >I'm trying to set a system property with:
> >
> >System.setProperty("mail.host", "mail.xyz.com");
> >
> >But I get the next error:
> >
> >"Method setProperty(java.lang.String, java.lang.String) not found in class
> java.lang.System."
> >
> >And setProperty(String key, String value) method is in the Class System
> documentation. What's wrong?
> >
> >Thanks in advance
>
>               \\\|///
>              @( @ @ )@
> *--------o0O----(_)----O0o--------*
> |        Gautham Mudra            |
> |        Sun Microsystems         |
> |    [EMAIL PROTECTED]         |
> |       Tel# (408) 635-0650       |
> |              x11650             |
> *----------o00--------00o---------*

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to