How can I send request to the server through XML using JSP

How can I send XML request to the server using JSP and servlets

Ajax may be the one way.

Similar Messages

  • My Mail program has gone south on Leopard on my 27-month old Macbook. I can't send, even though the server details are correct. I tried reinstalling from the install DVD - but no go: no longer compatible, evidently.. What to do?

    My Mail program has gone south on Leopard on my 27-month old Macbook. I can't send, even though the server details are correct. I tried reinstalling the Mail program from the install DVD, but no go; apparently that two-year old Mail is no longer compatible with my up-to-date Leopard. I tried deleting the account (hotmail) from Mail and setting up a different account (Yahoo). After loading all the inbox two things happened: first, I still couldn't send, and second, when I closed the Mail window the whole inbox then disappeared and doesn't come back. Although I couldn't reinstall the Mail program from the install DVD, would it still be possible to reinstall the whole system from that DVD? If I do, will I lose files or will there be another problem since that DVD is now over two years old?
    Thanks for any suggestions; they will be much appreciated.
    P.S. I've just noticed that now I can't change the desktop picture: I go through the motions in Preferences, but the new picture doesn't appear on the desktop. Is there a systemic problem?

    You are waiting for an apology to something that happened over a year ago? Really? This is why there is a manager in the store. You have a problem with an employee you speak to the manager. Just like you did on the phone. You would have gotten your apology in July 2013.
    Here is the information about your upgrade fee.
    Upgrade Fee
    It is because when you have a problem you (customers) go running to the store and want to take up the time of the reps to fix it. Other carriers have third parties that deal with technical support and those locations are few and far between. VZW provides this directly through their stores. Also, when you subsidize a $650 and pay $200 VZW has to pay $400. Your monthly service fee doesn't begin to scratch the surface of paying that back. Not with all the money that is put into the network and its improvements.
    Then over a year later you get someone on the phone who apologized and offered to waive the fee on your phone and you didn't take it? That offer won't come down the pike again.
    One thing you should know is that all these employees are people and as such they sometimes come off cross. I doubt that you speak to everyone so sweetly all the time. Cut them a little slack and put this whole thing behind you after 15 months. Either upgrade with VZW or move on.

  • If i purchase a device through this official website,then how can i send warranty when the device have problem?

    if i purchase a device through this official website,then how can i send warranty when the device have problem?

    To purchase a device from the online US Apple Store you will need a US credit card with a valid US address and a valid US address to ship to. You cannot use a shipping forwarder.
    If you are in a different country you would have to return to the US to access your warranty.
    If you are in the US but not near an Apple Store you would start here for service: https://selfsolve.apple.com/agreementWarrantyDynamic.do

  • How can i send an sms to any mobile without using gsm modem or mobile using

    how can i send an sms to any mobile without using gsm modem or mobile using oracle . note again. without using gsm mobile or modem. again note. i want to send sms 100% free sms. :) is it posible ?

    Hi,
    Check this one.
    http://www.oracle.com/technology/products/ias/portal/point/sms/installation.html
    regards,
    Dipankar.

  • NewBie : How can I do to compile the samples of XML Parser ?

    How can I do to compile the samples of XML Parser ?
    I must create a Makefile file, and after ?
    Thanks

    It`s for the Parser C++.
    thanks

  • TS1373 how can i connect my iphone to computer through usb using windows 8?

    how can i connect my iphone to computer through usb using windows 8?

    If iTunes is installed, you just connect the iPhone to USB.
    http://support.apple.com/kb/HT1386
    You can also sync to iTunes using WiFi.

  • I can't find a preference to keep mail on the server as it's deleted on individual devices. We have 4 Mac devices and a PC running W8 with the iCloud control panel. How can we keepthe mail on the server as it is deleted from the individual devices?

    How do I keep mail on the server as it is deleted on individaul devices? We have 4 Apple devices and a W8 laptop. We sort and read mail on all of them, but have found that deleting mail on one deletes it on all of them.

    Yahoo and Gmail both support POP if you wish.
    All modern email systems are Imap (because it supports multiple and mobile devices)
    I do not recommend POP under any circumstances, it can not be synchronized so unless you do not use Mobile devices at all (iPhones etc) it is useless.
    Yahoo users (search this site) have endless problems and Gmail is highly non-standard. Expect a learning curve for that one.
    Are you short of server space, why do you need to do this rather retrograde step?

  • How can i connect to a SQL Server 2000 database usgin JSP?

    I need (URGENT) to connect to SQL Server 2000 databse using JSP. I do not know how to program using JSP, so if anyone has any code snippet please let me see it. What i need is to give my site some login/password security.
    Anyone?
    Thx.

    just create an ODBC of your database from control pannel -> administrative tools -> data sources (ODBC) ,double click it .....
    go to the tab SYstem DSN , click on ADD button. select the driver for your connection. it will be the last one in the list "SQL Server".
    click Next then give ur DSN name there, description and Server Name , on next give your username and password of SQL server. when it will be connected to the server celect your database from there and hence there will be an ODBC bridge same as in case of MS Access.
    code for connecting to ODBC is
    // DSN-NAME same as in System DSN.
    // username and password are of your databse
    try
              url = "jdbc:odbc:DSN-NAME";
              Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
              connect = DriverManager.getConnection( url,"username","password" );
              catch ( ClassNotFoundException cnfex ) {
                        setErrorMsg( cnfex.getMessage() );
              catch ( SQLException sqlex ) {
                        setErrorMsg( sqlex.getMessage() );
              catch ( Exception ex ) {
                        setErrorMsg( ex.getMessage() );
    Now you are connected to the SQL Server ..... use connect object for further processing .........

  • I can not send messages because the server is wrong. but I also can not get into the server configurations

    Hello there
    I can not send e-mails because the server configurations are wrong, but I can not get into the configurations by the normal way

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try a Reset - iPad How-Tos  http://ipod.about.com/lr/ipad_how-tos/903396/1/
    Or this - Delete the account in Mail and then set it up again.
     Cheers, Tom

  • How can i send mail from the mail same mail account on which it was forward to my gmail account?

    I have added many accounts in my Gmail account and i've selected "Reply from the same address the message was sent to" in Gmail option. So whenever i reply to any mail, it automatically sends from the account on which i had received the mail.
    How can i get the same configuration in Apple mail?

    In the 'new message' window click the three line option button to 'Customize…' the window.
    Enable the 'From field' & click OK to save the new field settings. If these accounts are setup in Mail you can now select them when replying or sending new mail.
    Also check the 'Mail > Composing tab' preferences. There is an option to 'Send from selected mailbox' that may help if Mail is setup with all of the relevant email accounts.
    Otherwise you may need to log in to gmail on the web & reply from there. Apple Mail cannot understand how gmail & forwarding from other accounts is setup so it cannot try to reply from another account that isn't setup on the Mac.

  • How can i send parameter to the servlet

    i want send one or more parameter to the servlet
    acturally i am using applet servlet cmmunication
    useing XML and I want to send one parameter to
    the server and depending on tha perform some
    action but i dont know how to send the parmer to
    servlet plz give the answere
    Rahul

    Hi Rahul,
    You will have to use java.net package for tht.. Through applet you will have to make URL connection to your servlet.whc u will make by using java.net.URl
    Just explore this pakage. You will find alots of utility thr.
    HTH?
    ~Gaurav

  • How can i send mail to the yahoo mail or gmail or something else

    hello guys,
    i want to know how to send mails to the yahoo or gmail or something else.i heard that we have to change some smtp address and some port number. can any body suggest me to get that.please help me
    any replies will be appreciated greatly.

    Hi chnaresh,
    This is the code I use to send mail, it's not specific to gmail, but it works. The "props" object expects the usual mail properties, "mail.smtp.host", "mail.user" or "mail.smtp.user", as well as "mail.smtp.ssl" which you'd want to set to "true" if you're using gmail. It also expects "mail.smtp.passwd" or "mail.passwd" which my gut tells me is unsafe, but I'm not sure why.
    Good luck,
    radikal_3dward
    public static int sendMail(final Properties props, String subject, String body, String to, String cc, String bcc, String from, File[] attachments, boolean toStdOut)
    throws javax.mail.internet.AddressException, javax.mail.MessagingException, javax.mail.NoSuchProviderException
    Session sess;
    //props.setProperty("mail.debug", "true");
    if(props.getProperty("mail.smtp.ssl") != null && props.getProperty("mail.smtp.ssl").equalsIgnoreCase("true"))
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    String portStr = ((props.getProperty("mail.smtp.port") != null) ? (props.getProperty("mail.smtp.port")) : "465");
    props.put("mail.smtp.auth", "true");
    props.put("mail.smtp.socketFactory.port", portStr);
    props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
    props.put("mail.smtp.socketFactory.fallback", "false");
    sess = Session.getDefaultInstance(props,
    new javax.mail.Authenticator()
    protected PasswordAuthentication getPasswordAuthentication()
    String userName = ((props.getProperty("mail.smtp.user") != null) ? props.getProperty("mail.smtp.user") : props.getProperty("mail.user"));
    String passwd = ((props.getProperty("mail.smtp.passwd") != null) ? props.getProperty("mail.smtp.passwd") : props.getProperty("mail.passwd"));
    if(userName == null || passwd == null)
    return null;
    return new PasswordAuthentication(userName , passwd);
    else
    String portStr = ((props.getProperty("mail.smtp.port") != null) ? (props.getProperty("mail.smtp.port")) : "25");
    sess = Session.getInstance(props, null);
    //sess.setDebug(true);
    MimeMessage mess = new MimeMessage(sess);
    mess.setSubject(subject);
    StringTokenizer toST = new StringTokenizer(to, ",;");
    while(toST.hasMoreTokens())
    Address addr = new InternetAddress(toST.nextToken());
    mess.addRecipient(Message.RecipientType.TO, addr);
    if(from != null)
    StringTokenizer fromST = new StringTokenizer(from, ",;");
    InternetAddress[] fromAddrs = new InternetAddress[fromST.countTokens()];
    for(int i = 0; fromST.hasMoreTokens(); i++)
    fromAddrs[i] = new InternetAddress(fromST.nextToken());
    mess.addFrom(fromAddrs);
    if(cc != null)
    StringTokenizer ccST = new StringTokenizer(cc, ",;");
    while(ccST.hasMoreTokens())
    Address addr = new InternetAddress(ccST.nextToken());
    mess.addRecipient(Message.RecipientType.CC, addr);
    if(bcc != null)
    StringTokenizer bccST = new StringTokenizer(bcc, ",;");
    while(bccST.hasMoreTokens())
    Address addr = new InternetAddress(bccST.nextToken());
    mess.addRecipient(Message.RecipientType.BCC, addr);
    BodyPart messageBodyPart = new MimeBodyPart();
    Multipart multipart = new MimeMultipart();
    if(body != null)
    messageBodyPart.setText(body);
    multipart.addBodyPart(messageBodyPart);
    if(attachments != null)
    for(int i = 0; i < attachments.length; i++)
    messageBodyPart = new MimeBodyPart();
    DataSource source = new FileDataSource(attachments);
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName(attachments[i].getName());
    multipart.addBodyPart(messageBodyPart);
    mess.setContent(multipart);
    Address[] allRecips = mess.getAllRecipients();
    if(toStdOut)
    System.out.println("done.");
    //System.out.println("Sending message (\"" + mess.getSubject().substring(0,10) + "...\") to :");
    System.out.println("Sending message (\"" + mess.getSubject() + "...\") to :");
    for(int i = 0; i < allRecips.length; i++)
    System.out.print(allRecips[i] + ";");
    System.out.println("...");
    Transport.send(mess);
    if(toStdOut)
    System.out.println("done.");
    return 0;

  • Can't send emails. The server response was: 1060208403.

    Nobody in my office can send emails today. All eight of us can access the Internet and send emails normally on our computers.
    When attempting to send a message I get the following error message:
    Cannot send message using the server mail.ourserver.org
    The server response was: 1060208403
    We are using Port 26 to send email.
    Our web/email host did not find any issue with the mail server or with our account. They suggested it's a problem with our mail client.
    Any ideas?

    It would appear somebody needs to connect into your network and/or your client system(s), and to dig around.
    So there are presently eight separate systems have eight separate cases of the same problem, and your email vendor says it is a client issue?
    Ok; that would not be my first guess here.
    An initial suspicion would involve hardware common to all of the client systems. At your network, wireless, router(s) or switch(es) and/or at your firewall. At the connection with your network and the rest of the Internet.
    And a look at the email vendor and the vendor's server(s), since the vendor is also common to all eight clients here.
    Has anyone been working with your DNS, firewall or other such? (I'm going to assume not, but it is worth a mention.)
    Use of port 26 is odd. I'd expect port 25 or port 587. Can you confirm that port? Port 25 is comparatively unusual for sending email of late; many entities now use 587.
    Are you running a local email server? If so, that could be having an issue. I'd expect to see a local SMTP email server connect to the next SMTP server via port 25 or potentially via 587.
    Can the clients make connections to other networks and servers; are other web servers and sites accessible? If so, that tends to rule out the common pieces of hardware; hunks such as the firewall and the Internet connection.
    There's no obvious translation of that specified error code; that's not an SMTP error, nor is it visible anywhere on the 'net. It may well be something from the client, or something from the network somewhere.
    Here is Thunderbird troubleshooting information, which might give you some ideas of where to look here (even though you're probably using Mail.app):
    http://kb.mozillazine.org/Cannotsendmail
    If you have an email server running locally, the spectrum of potential problems becomes rather larger.

  • How can I automatically connect to the server without having to type the password and click "connect"?

    I have a Mac OS X 10.8 and a Time Capsule configurated as server with a name "Servidor" on my home. The discs are protected by Accounts, so, each person can access the server by typing own name and password. The problem is... Every time I start the computer, I see the window below:
    So, every time I start I have to type my name and pass. And the box "Remember this password on my keychain" doesn't work because the "Password" is always blank when I see the window, like the image up.
    Please, someone help me to automatize it so I don't need to type nothing to connect to the server. I want something that do it automatically for me.
    NOTE: Please, explain clear and with details because I'm a new Mac's user.
    Thank so +!

    Try running KeyChain First Aid if you have not already done so.
    Open Keychain Access and click on the KeyChain Access menu at upper left of the screen
    Click KeyChain First Aid, then close KeyChain Access
    Open System Preferences (gear icon on the dock)
    Open Network
    Click on AirPort or WiFi on the left
    Click Advanced at the lower right
    Click to highlight an old network that you no longer need, then click the - (minus) button to delete the listing
    Do the same for other neworks that you no longer need
    Make sure there is a check mark in the box that reads  "Remember networks this computer has joined"
    No other boxes should be checked.
    Click OK, then click Apply
    That is about all that you can do.

  • How can I activate T3s at the server

    Hi, I have configured a new T3 for a secific server and config looks good.
    But on the server side I cannot get the T3 connected,
    after cfgadm an d/or devfsadm the new t3 coonection are not shown.
    there are still old connection which are no longer availabe and also
    I dont know how do get this away.
    Also a reboort -- -r doesnt help

    ok, after devfsadm -C, nothing changed.
    Still at the server side I see old T3s which we had re-configured to another server and there all is fine. So I normally know the steps.
    The new configured T3 (new as it was complete rebuild by SUN) is setup for 2 servers.
    On Server A all is find with same commands, nothing special.
    On Server B I cannot get the new T3 connected as the old ones still there ??. Old T3 connection are unconfigured but devfsadm -C does not clean it.
    Dont know how to clean old T3 connections.
    We are not using a switch, mpxio is enabled.
    t3be4:/:<2>sys list
    controller : 2.0
    blocksize : 32k
    cache : auto
    mirror : auto
    mp_support : mpxio
    naca : off
    rd_ahead : on
    recon_rate : med
    sys memsize : 128 MBytes
    cache memsize : 1024 MBytes
    enable_volslice : on
    fc_topology : auto
    fc_speed : 1Gb
    disk_scrubber : on
    ondg : befit
    all is based on SOLARIS 8, and we cannot change to 9 or 10.

Maybe you are looking for

  • Error Code 720; USB ports failing; the horror.... the horror

    Ok, so I have been banging my head against the wall and seconds away from using my T60 as a boat anchor. I'll give the particulars and then we can grow from there. XP; sp3; 2g ram... what else do we need? Dec. 6th - everything worked fine ( ahem, res

  • Problems using connection pooling

    I'm having problems configuring connection pooling in oc4j. Have specified my datasource/connection pool in my data-sources.xml. I always get the following error when I try to access it with an instance of OracleConnectionPoolDataSource within my app

  • SATATIS of Procedural ABAP compared with CLASS-DATA of OO ABAP.

    Hi, Is the STATICS statement in procedural ABAP synonymous to CLASS-DATA in OO ABAP. Please help. Regards, Rajesh.

  • My old email address is preventing me from accessing my ipad

    I changed my apple id for itunes and icloud.  everything was fine with my "Iphone" but my "Ipad" still had the OLD user id for Icloud only.  I tunes was fine.  I could not back up to icloud and I was getting nuisance pop ups continuously telling me t

  • Recording on nano

    I am looking for a way to use my nano as a recording device. I have used the italk device in the past on another device- but it does not work on this device. Is there another accessory like this that would allow my nano to audio record .