User Profile

Collapse

Profile Sidebar

Collapse
sruthini
sruthini
Last Activity: Jan 4 '08, 10:14 AM
Joined: Aug 22 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sruthini
    replied to Receiving Mail
    in Java
    Hi,

    I need urgently,plz anybody help me....

    thanks in advance.
    See more | Go to post

    Leave a comment:


  • sruthini
    replied to Receiving Mail
    in Java
    Hi,
    I post my code here
    [code=java]

    Properties props = new Properties();

    Session session = Session.getInst ance(props, null);
    Store store = session.getStor e("pop3");
    store.connect(h ost, username, password);
    Folder folder = store.getFolder ("INBOX");
    folder.open(Fol der.READ_ONLY);
    Message message[] = folder.getMessa ges();
    System.out.prin tln();...
    See more | Go to post

    Leave a comment:


  • sruthini
    started a topic Receiving Mail
    in Java

    Receiving Mail

    Hi,

    I am doing receive mail,I can receive date,from and subject.
    can I receive to,cc,bcc and content.
    I need urgently,plz help me.


    Thanks in advance.
    See more | Go to post

  • sruthini
    replied to Preview the Compose Message
    in Java
    Hi,

    Can I add any Dictionary for spell checking give some idea .


    Thanks in advance
    See more | Go to post

    Leave a comment:


  • sruthini
    started a topic Preview the Compose Message
    in Java

    Preview the Compose Message

    Hi,

    I am doing send mail using javamail, I have three doubt
    1.Preview the mail
    2.Check Spelling
    3.Save Draft
    I have no idea to above three,plz anybody give the idea to that.



    Thanks in advance
    See more | Go to post

  • sruthini
    started a topic Checking the Size of a File

    Checking the Size of a File

    Hi,

    I am trying to checking the size of a file using javascript, I am using the following code
    [code=java]
    <html>
    <head>
    <script language="JavaS cript">
    function A()
    {
    var oas = new ActiveXObject(" Scripting.FileS ystemObject");
    var d = document.a.b.va lue;
    var e = oas.getFile(d);
    var f = e.size;
    var mb=f/(1024);
    alert(mb...
    See more | Go to post

  • sruthini
    started a topic Find th File size
    in Java

    Find th File size

    Hi,

    I am trying to checking the size of a file using javascript, I am using the following code
    [code=java]
    <html>
    <head>
    <script language="JavaS cript">
    function A()
    {
    var oas = new ActiveXObject(" Scripting.FileS ystemObject");
    var d = document.a.b.va lue;
    var e = oas.getFile(d);
    var f = e.size;
    var mb=f/(1024);
    alert(mb...
    See more | Go to post

  • sruthini
    replied to How many query can use one jsp or servler
    in Java
    Hi,

    I know jdbc, many times I am using sql query with in jsp and servlet.
    But I did not use multiple Queries in jsp and servlet.so please help me.



    Thanks in advance
    See more | Go to post

    Leave a comment:


  • sruthini
    started a topic How many query can use one jsp or servler
    in Java

    How many query can use one jsp or servler

    Hi,


    How many Queries can use one jsp or servlet page.

    How to use the following Queries in one jsp or servlet page
    [code=mysql]
    select * from contact where type='sales'
    select * from contact where type='Purchase'
    ect...
    [/code]
    See more | Go to post
    Last edited by Atli; Oct 5 '07, 04:37 AM. Reason: Added [code] tags.

  • sruthini
    replied to Authentication Error
    in Java
    Hi,
    Now I need urgent issue is
    mail does
    not send other domains( like yahoo,google and other company domains ), why this problem occur sometimes?

    Please help me,



    Thanks in advance.
    See more | Go to post

    Leave a comment:


  • sruthini
    started a topic Authentication Error
    in Java

    Authentication Error

    Hi,
    I am doing sending mail using javamail, its working perfectly but sometimes mail does not send other domains( like yahoo,google and other company domains ), why this problem occur sometimes?
    now I am trying to set the Authentication , but I got the following error

    cannot resolve symbol
    symbol: class POPUPAuthentica tion
    location:Authen ticator auth = new PopupAuthentica tor(fromId, password);
    Please...
    See more | Go to post

  • sruthini
    started a topic java.lang.NullPointerException
    in Java

    java.lang.NullPointerException

    Hi,

    I have jsp with servlet page,after run my servlet I
    got blank page with the following tomcat error while run my servlet page,
    java.lang.NullP ointerException
    at com.signup.Base Servlet.doGet
    at javax.servlet.h ttp.HttpServlet .service
    at org.apache.cata lina.servlets.I nvokerServlet.d oGet
    at filters.Example Filter.doFilter
    at org.apache.cata lina.core.Stand ardPipeline$Sta ndardPipelineVa lveContext.invo keNext...
    See more | Go to post

  • sruthini
    replied to fetch url from database
    Hi,
    I was asking you not in sql, In access directly we can type the field name, likewise how to give the image path or url in access.

    If we give the path like ,
    c:Image/tree.jpg means access accept or not and then how to retrive this path from database and how to change it as image path, Because usually we give the path like,
    <img url=c:Image/tree.jsp>
    Please give the solution.
    See more | Go to post

    Leave a comment:


  • Hi,

    Thank you very much for your help, Now Its work perfectly with multiple mailid's.
    but In some other system its not working. my smtp settings like
    props.put("mail .smtp.host","ma il.companyname. com");

    If I give the mailids like a@company.com,b @company.com means
    its working proper, otherwise I give a@gmail.com,b@y ahoo.com means I got the following error,

    ERROR.....javax .mail.SendFaile dException:...
    See more | Go to post

    Leave a comment:


  • sruthini
    started a topic fetch url from database

    fetch url from database

    Hi,
    How to set image path (or) url in database without using insert method,
    (for eg:name means directily put the name in database like anu.)
    and how to fetch that image from database.

    Please help me.


    thanks in advance.
    See more | Go to post

  • Hi,

    I used the following code,
    [code=java]
    ArrayList list = new ArrayList();
    while(rs.next() )
    {
    //String to=rs.getString (1);
    list.add(rs.get String(1));
    }
    String m="";
    for(int i=0;i<list.size ();i++)
    {
    m += list.get(i).toS tring()+"," ;
    }
    //String to=m;



    MimeMessage...
    See more | Go to post

    Leave a comment:


  • Hi,
    If I remove the quotes , I got the compile time error,

    cannot resolve symbol
    symbol:variable m
    location:messag e.setRecipient( Message.Recipie ntType.TO,new InternetAddress (m));


    [code=java]
    ArrayList list = new ArrayList();
    while(rs.next() )
    {
    String to=rs.getString (1);
    list.add(to);
    }
    String m="";
    for(int i=0;i<list.size ();i++)...
    See more | Go to post

    Leave a comment:


  • Hi,
    I tried that way even then I didnot get the answer, I put the code like this

    [code=java]

    ArrayList list = new ArrayList();
    while(rs.next() )
    {
    String to=rs.getString (1);
    list.add(to);
    }
    String m="";
    for(int i=0;i<list.size ();i++)
    {
    m += list.get(i).toS tring();
    }
    String to=m;
    out.println(to) ;
    ...
    See more | Go to post

    Leave a comment:


  • Hi,
    I tried many ways, but I didnot get the answer,Please help me.

    I think it is typecast error, after fetching the values from database I print that values using out.println(lis t) , I got the output [dev@yahoo.com].
    and then I tried to convert from arraylist to string, I had no compile time error,
    but I got runtime error, that time also I print that values using out.println(lis t).

    If I pass the...
    See more | Go to post

    Leave a comment:


  • Hi,

    I put the code like

    [code=java]
    while(rs.next() )
    {
    list.add(rs.get String(1));
    }
    }
    catch(Exception e)
    {
    out.println(e);
    }


    MimeMessage message = new MimeMessage(ses sion);
    message.setReci pient(Message.R ecipientType.TO ,new InternetAddress (list));
    [/code]
    means I got the following error,...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...