Who can you help me????

Hello to all,
i have a servlet and 1 file jsp, this is the code:
Servlet:
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.net.*;
public class Site extends HttpServlet {
     public Site(String txt)
     this.txt = txt;
     private String txt;
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException,ServletException {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("txt");
out.println(txt);
and the file jsp:
<%@ page language="java" import="Site"%>
<%
Site a = new Site("carmine");
out.println(a);
%>
if i run the jsp file i have this result:
Site@7748d3
WHY????

If you want your servlet site to print out the text passed in (ie. "carmine"), then you can override the toString() method in the servlet to do just that. By default an object's toString() method simply prints out the reference to the address in memory, as was stated in the previous post.

Similar Messages

  • My Iphone was stolen  - what can I doing? My Face Time is turn ON, maybe it's better? Can you help me ?

    Hi! My iPhone was stolen - what can I doing? My Face Time is turn ON, maybe it's better? Who can you help me? Maybe you have an idea? Please - help me. Iphone was stolen in my office (it my client, but I do not know who).

    The only way to track your phone is if you had find my iphone installed and activated, then you go to icloud.com log in and track your phone.
    If you didn't set it up then there no way to track it.
    Not sure what facetime has to do with your stolen phone.

  • TS1646 We have several apple devices in our family who use my debit card for itune charges.  I need to find out which device (itune account) these charges are coming from.  Can you help?

    We have several apple devices in our family who use my debit card for itune charges.  I need to find out which device (itune account) these charges are coming from. Can you help?

    You can't tell which device a purhcase was made on, but if your family members each have their own iTunes account to which your card is linked then you can check the purchase history on each of those accounts via the Store > View Account menu option on your computer's iTunes - that should have 'purchase history' section with a 'see all' link to the right of it

  • My Mail application is rejecting my password even though I'm putting it in correctly. Mail is working fine on my iPad and iPhone but not my iMac so it must be something to do with the Mail settings on my desktop. My software is up to date.  Can you help?

    I have an iMac, operating system 10.7.4 with up to date software. My mail application is rejecting my password even though I know I am putting it in correctly. I have an ipad and iphone and the mail application is working fine on them. On my desktop however I cannot receive or send mail. I think it must be something to do with the settings but cannot work out what. I have contacted BT who provides my email and internet. As I have another email address with them that is working correctly they believe it is a problem with mail rather than with them. Please can you help?

    OK Vicky, good clues...
    See if this helps...
    Open Keychain Access in Utilities, use Keychain First Aid under the Keychain Menu item, then either check the Password under that item, change it, or delete it and start over. See if there are duplicates, should be one for Incoming & one for Outgoing.
    Resetting your keychain in Mac OS X...
    If Keychain First Aid finds an issue that it cannot repair, or if you do not know your keychain password, you may need to reset your keychain.
    http://support.apple.com/kb/TS1544

  • My adobe keeps crashing on me, every day numerous times a day I use linux can you help me out here?

    I don't know what else to say my adobe flash keeps crashing and I use Ubunto and I don't know what to do it just keeps crashing on music, videos and pictures can you suggest something for me?

    Thanks very much.  Could you recommend an alternative PDF user?
    Many thanks
    FrancesEve
    Date: Thu, 21 Oct 2010 20:05:19 -0600
    From: [email protected]
    To: [email protected]
    Subject: Can you help me with a  problem I'm having with adobe 9.4?
    I have seen this same problem a number of times in this forum; it seems to happen only on Vista and Windows 7.
    It also seems to happen only to people who are not very experienced computer users, and these things are very difficult to diagnose via forum posts.
    I have in the past always ended up recommending to uninstall Adobe Reader, and find an alternate PDF Reader.
    >

  • E book bought from Waterstones is very slow in use can you, help?

    E book bought from Waterstones is unreasonably slow in use can you help, please?
    I purchased a copy of “The Complete English Poems” by John Donne as an e-book, I downloaded the e-book successfully, as well as the new Digital Editions software and transferred the e-book to my Sony Reader. However when I try to use the book it is slow opening up and very slow moving between sections, or navigating between the poem and the notes on the poems, typically between three and five minutes. In practice this means that if I wish to consult a note on a poem it can take five minutes to move from the poem to the note then another five minutes to navigate back, giving a time of ten minutes to consult a note. This is not really feasible.
    I have had no problem downloading and reading other books, from Waterstones bought after the John Donne.
    I have tried deleting and re-loading the John Donne, as well as resetting the reader to no avail.
    I contacted Sony support who says that as my other e-books from Waterstones and other sources work perfectly, then the fault lies with “The Complete English Poems” and not the Sony reader.
    Please note that I had a similar problem with a Waterstones edition of “the King James Version of The Holy Bible. “ This problem was never resolved.

    You need to install more RAM.
    Your year and model IMac can take a total of 6 GBs of RAM.
    Correct, compatible and reliable Mac RAM can ONLY be purchased from online RAM sources Crucial memory or OWC (macsales.com).
    The 6 GB RAM kit can be found here.
    http://eshop.macsales.com/shop/memory/iMac/Intel_Core_2_Duo_PC2-6400
    If you haven't use this application often, completely uninstall CleanMyMac.
    Total, useless "junkware"/"Garbageware"/malware.
    http://macpaw.com/support/cleanmymac-classic/knowledgebase/how-to-uninstall-clea nmymac-classic
    http://macpaw.com/support/cleanmymac/knowledgebase/how-to-uninstall-cleanmymac-2
    Ditch ALL Googlewares. They are ALL a serious resource hog on the OS X system.
    https://support.google.com/chrome/answer/95319?hl=en
    https://support.google.com/drive/answer/2375081?hl=en
    If you do not like Apple's Safari web browser, download, install and try Mozilla FireFox, instead.
    The current, up-to-date version of FireFox is fully compatible with OS X and is regularly updated by the great developers of the Mozilla group.
    I have, also, stopped using the Google search engine, regularly and use DuckDuckGo as my default search engine.
    You have too many and duplicate user login/startup items.
    Add or remove automatic items
    Choose Apple menu > System Preferences, then click Users & Groups.
    Select your user account, then click Login Items.
    Do one of the following:
    Click Add below the list on the right, select an app, document, folder, or disk, then click Add.
    If you don’t want an item’s windows to be visible after login, select Hide. (Hide does not apply to servers, which always appear in the Finder after login.)
    Select the name of the item you want to prevent from opening automatically, then click Delete below the list on the right.

  • Is there anyone there? I hope there is someone who can you understand this problem and have the common sense to respond?  I open gmail. I want to save an email to one of my folders. I position my cursor over the appropriate Folder icon or by choice, to th

    Is there anyone there? I hope there is someone who can you understand this problem and have the common sense to respond?
    I open gmail. I want to save an email to one of my folders.
    I position my cursor over the appropriate Folder icon or by choice, to the Trash.
    The friendly finger pointing cursor icon changes to an arrow icon.
    The hand icon allows me flawless access to opening and/or moving emails.
    The arrow, however does not open the link.
    On the Google menu bar the cursor hand with finger opens the links to Everett (my name), Search, Images, Maps and Play.
    When I attempt to open the remaining links in the menu bar (YouTube, News, Gmail, Drive, Calendar and More) the arrow icon replaces the hand. The arrow icon does not work. It will not activate these links.  Nor does it open email messages in the Inbox.
    Usually I reset, even reboot Safire and sometimes the problem goes away, then reappears.
    Can you imagine if this condition should it happen to a tech savvy Google Support person? Perhaps one can share and make my problem go away.
    I am considering dropping Google as my mail source. Unfortunate!
    Everett Halvorsen
    [email protected]
    718.490.3824

    I have uninstalled my Access Connection, but this problem seems to persist. IBM technician have changed the wireless card of my T60, the first few days after it was changed was very fine, no problem at all. About a week later, the problem occured again, and it happened quite frequently after that occurence. Now i really have no idea what is the cause and how to solve it. Will be greatful if there is anyone that can help me.

  • Can't seem to talk to anyone who can actually help me!

    I have been trying to get legitimate assistance for my high speed Internet that went down yesterday right in the middle of a final I was taking for school. However after hours of tech support trouble shooting and being hung up on to the hour plus I waited on hold today, I have yet to speak with anyone who can tell me why nobody seems to care about my lack of a connection. I was told the issue is not with my house and is a Verizon field issue but nobody is available to fix this. How is that possible?! It is absurd that I am on day 2 of no Internet when I work from home and go to school online. The amount of data I am using just to post this message is probably absurd. I really need to speak with some sort of management and can't understand why this is such a problem. Can someone please give me a number or email address to someone who can actually help me?!

    If you are having an issue with your Verizon service, you can use the Verizon Troubleshooter to fix and report issues with your Verizon Phone, FiOS TV, or Internet Service, as well as to schedule a repair, here is the link:
    http://www.verizon.com/repair
    You can find tools on the Verizon Residential Support page that may help you diagnose your issue:
    http://www22.verizon.com/residentialhelp

  • RE: Can you help me - Please?

    Gary,
    I haven't taken one of his training classes, but he does post mail to the
    Forte Users Group frequently.
    Here is an e-mail address for Stephen McHenry.
    Stephen McHenry [SMTP:[email protected]]
    The Forte Users Group has a searchable archive thread:
    <URL:http://pinehurst.sageit.com/listarchive/>
    Mr. Henry will have multiple Forte Users Group postings recorded there which
    detail his Forte Training experience, an OOAD course that his company
    offers, as well as helpful information that he has provided to other members
    of the Forte Users Group.
    Hope this helps.
    -----Original Message-----
    From: Gary Adams
    To: [email protected]
    Sent: 10/8/98 11:07 AM
    Subject: Can you help me - Please?
    Hi, I'm new here. I just signed up because I just found out about the
    group
    and I'm hoping you can help me.
    I just found out that Mark Smith, who usually teaches the design course
    at
    Fort&eacute; is not going to be teaching the next one. From what I've been
    told,
    Mark is the only one left who was trained by the original author of the
    course how to teach it right. I guess there were others, but they've all
    left Fort&eacute; by now. If this is true, that means that the upcoming course
    is
    going to be taught by some untrained stand-in. I just think it's real
    crappy that Fort&eacute; is trying to keep all this quiet until after you can't
    drop out of the course and get your money back.
    I'm tired of getting second rate instructors for training course that we
    spend good money for. I understand that the expert - the guy that wrote
    the
    course - still teaches. Can anyone tell me how to get in touch with
    him?
    I've been told his name is Stephen McHenry and that he's totally the
    best
    instructor for this stuff.
    Also, does anyone know why he stopped teaching for Fort&eacute;?
    If anybody can help me, I'd really appreciate it.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Ian --
    I agree wholeheartedly with your reply. There are countless many qualified for
    such a course and not just working for Forte either, although thats a good
    place to start.
    -- Len
    Ian Clough wrote:
    Don't you think you are being a little unfair?
    Forte has many employees who are more than capable of teaching the
    design course not all of whom where taught by the original author.
    Good teachers will use their own experiences when presenting
    a course and not simply present the thoughts of others.
    The Forte design course specifically focuses on the issues of designing
    large scale distributed applications an area where I would hope all Forte
    employees have significant experience. However much of the design
    course is not unique to Forte presenting as it does the best industry
    practice
    borrowing ideas from Jacobson, Booch and Rumbaugh among others.
    These skills can and have been acquired by consultants and trainers prior
    to joining Forte and Forte is a much richer company for this input.
    Ian Clough
    -----Original Message-----
    From: Gary Adams <[email protected]>
    To: [email protected] <[email protected]>
    Date: 08 October 1998 17:33
    Subject: Can you help me - Please?
    Hi, I'm new here. I just signed up because I just found out about the group
    and I'm hoping you can help me.
    I just found out that Mark Smith, who usually teaches the design course at
    Fort&eacute; is not going to be teaching the next one. From what I've been told,
    Mark is the only one left who was trained by the original author of the
    course how to teach it right. I guess there were others, but they've all
    left Fort&eacute; by now. If this is true, that means that the upcoming course is
    going to be taught by some untrained stand-in. I just think it's real
    crappy that Fort&eacute; is trying to keep all this quiet until after you can't
    drop out of the course and get your money back.
    I'm tired of getting second rate instructors for training course that we
    spend good money for. I understand that the expert - the guy that wrote the
    course - still teaches. Can anyone tell me how to get in touch with him?
    I've been told his name is Stephen McHenry and that he's totally the best
    instructor for this stuff.
    Also, does anyone know why he stopped teaching for Fort&eacute;?
    If anybody can help me, I'd really appreciate it.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • I bought a second hand 4s iphone and I can't use the internet on 3g even though it looks like I'm connected ... can you help please?

    I bought a second hand 4s iphone and I can't use the internet on 3g even though it looks like I'm connected ... can you help please?

    Who's your carrier?
    What country are you in?
    Was it from a shop or a personal deal?
    If your phone doesn't function on the cellular network, goto the carrier first

  • Do you know how to use Flash? can you help?

    hi all,
    Do you know how to use Flash?
    I have been trying for months to find someone who can use
    flash, who can help me, with no luck.
    I need my links on my website updating, just a couple of them
    need the text changing as i need
    to change the name/title of some pages. I have tried to do it
    myself (using a trial version of flash,
    as i dont have flash). the site was made using dreamweaver.
    the files are .FLA
    and before anyone says 'get the person who made the site to
    do it'....He wont, ive tried.
    when i tried to change them myself i cocked them up and now
    they dont work at all, see my
    website and you will see; www.stevenallenphotography.co.uk
    so, if you can use flash please can you help me? all i need
    doing is the file updating with some
    of the link titles/names changing, i.e. one link is
    'exhibitions' which needs changing to 'published work',
    please get in touch if you can help.
    thanks,
    steven.

    I used divx in my site once its really very nice! but i use it in different host not .mac...try this divx web player with video selector code --------<object id="ie_plugin" classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616"
    width="640" height="480"
    codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab">
    <embed id="np_plugin" type="video/divx"
    width="640" height="480"
    pluginspage="http://go.divx.com/plugin/download/">
    </embed>
    </object>
    <script type="text/javascript">
    // This code detects which browser we are
    // running into (IE or others) and assigns
    // the correct element (object or embed) to
    // the "plugin" variable, that we will use.
    var plugin;
    if(navigator.userAgent.indexOf('MSIE') != -1)
    plugin = document.getElementById('ie_plugin');
    else
    plugin = document.getElementById('np_plugin');
    // This is a local JS function used by our form
    // element to call the plugin functions using
    // the "plugin" variable that we defined above
    function openNewMovie()
    var url = document.forms['videoSelector'].movie.value;
    if(url != '')
    plugin.Open(url);
    </script><form name="videoSelector">
    Choose a video to play:
    <select name="movie" onChange="javascript:openNewMovie();">
    <option value="" selected>Video Selector
    <option value="http://www.yourdomain.com/folderdivx/name.divx">title1 divx
    <option value="http://www.yourdomain.com/folderdivx/name.divx">title2 divx
    </select>
    </form> ---------------------
    Hope this help!

  • I can´t unblocked my ipod version 5.1.1. Who can i help me?

    I can´t unblocked my ipod version 5.1.1. Who can i help me?

    maybe this since I may not know what blocked means
    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.
    If you previously synced to the computer then you may be able to recovery use of the iPod without erasing the iPod by following the instructions here:
    Disabled Recovery-must use syncing computer.

  • Can't send emails.  Can you help pls? Thanks.

    Hi, my Mac Book Pro won't let me send emails.  It says: Outgoing mail server (SMTP): Gmail Offline.  Can you help pls? Thanks.

    Help.  I have the same problem.  I can receive email but can not send email from my MacBook Pro running OS X 10.9.4.
    I have been reading posts about this issue until my eyes are rectangular.
    I have tried the following:
    1. Removing the passwords from the keychain.
    2. Trying the various ports (default set, custom 25 alone, custom 465 alone, custom 587 alone)
    3. Unticking the Use SSL box.   Interesting note, it sometimes self-ticks this box.
    4. Supplying full email name in the userid box.  Interesting note, it sometimes self-corrects to just the plain userid prefix.
    5. Running repair disk permissions
    6. Turning offline all mailbox accounts and then turning then back online.
    7. Rebooting numerous times
    8. Force Quit of Mail and numerous normal quits and restarts.
    9. All software updates have been installed.
    10.  I may have forgotten some of the more bizarre things I have tried but I have not got to the point of deleting the entire account (and all of its 3 years of emails). 
    I have a sister MacBook Pro (same operating system, larger screen, same ISP, same email provider, same power source, etc.) sitting right next to this one and it is working fine - mail comes in and mail goes out. It is on the same network and I have dutifully copied all of the parameters and this still does not solve the issue.  Surely, there is more witchcraft out there that I can try?   New to this "posting" process.  Not even sure how to get back to see if anyone has any further suggestions.  Thanks to all those who have tried to provide suggestions.  Much appreciated but I am still stuck with webmail!  Arghhhh. Ron

  • The product I bought its not working as i expected, it doesn´t translate the exact information from pdf to excel, how can you help me or how can you return my money back....

    how can you help me

    What about adobé export PDF. ?
    Enviado desde mi iPhone
    El 07/05/2014, a las 23:00, Claudio González <[email protected]> escribió:
    The product I bought its not working as i expected, it doesn´t translate the exact information from pdf to excel, how can you help me or how can you return my money back....
    created by Claudio González in Adobe Reader - View the full discussion
    If you bought Reader, you were swindled, because it's a free program. And it has never been able of converting PDF files to any other format.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6363992#6363992
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Adobe Reader by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Barbara Brundage, can you help with PS Elements 11 and Epson R2000 printer issue?

    Seeking help with PS Elements 11 which does not work with Epson r2000 printer.  Epson tech support could not fix, said it is PS e11 problem.  Receive prompt on PS e11 screen when I try to print stating "not compatible or settings are not correct.  Have set PS to manage color and printer manages color to off.  Would appreciate any suggestions.  Thank you.

    Hi,
    Sincerely appreciate your help.  Running Windows 7 on a  Dell XPS420.  System has been very stable for years.  Before purchasing the Epson r2000, I owned an r1800 which was an excellent printer but after seven years started to exhibit paper feed problems.  The r1800 worked with all applications and I was well satisfied with the saturation, contrast, etc. printing mostly 8x10 and 11x17 prints. 
    Thank you for the information about the # of installs for PS E11, will try uninstall/reinstall this morning.
    Will let you know how things go.
    Richard
    Date: Thu, 12 Sep 2013 19:47:38 -0700
    From: [email protected]
    To: [email protected]
    Subject: Barbara Brundage, can you help with PS Elements 11 and Epson R2000 printer issue?
        Re: Barbara Brundage, can you help with PS Elements 11 and Epson R2000 printer issue?
        created by Barbara B. in Photoshop Elements - View the full discussion
    What operating system are you using?
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5678022#5678022
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5678022#5678022
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5678022#5678022. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Elements by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

Maybe you are looking for

  • Windows 7 Webcam driver?

    Hey, I have an X200 tablet that I just installed Windows 7 on. I've installed patches/drivers for almost everything, but I can't get the webcam to work.  Any help?

  • Vendor compliance codes fail to write off - can any please reply ASAP

    Hi All, Vendor compliance reason codes are failing to write off. Changes were made to the GL's and material. Codes involved in change-VCA,VCB,VCP, WVC. Does anyone know why this is happening and if you do let me know what has to be done about it. Tha

  • ERROR IN INBOUND IDOC

    Hi Expert , while i am prcoess  a custom idoc , i am getting the following error status no :53 Error Msg : Application document not Posted ,                  ( No status record was passed to ALE by the application ) data is comingin the receiving end

  • Can the file extension be removed when using the File Special Field?

    I placed a Special Field on the top of my topics that gives me the filename for that specific topic. I used the Insert > Field > Special Field > File and the File Name is inserted where I want it. The problem is that i don't want the file extension t

  • How many deferent ERP systems could  we connect to one SRM system at the sa

    Hi friends! Could you tell me please, how many deferent ERP systems could  we connect to one SRM system at the same time? Thanks!