Problem with this out.print(status.equals(

Hi i've got another problem.
The following codes is as follows:
String status = (String)rs.getString("Status"); //status is either "O" - Open or "C" - closed
out.print(status)
out.print(status.equals("O"));
it returns me FALSE even in my database it is O... I am not sure why.. can someone enlighten me? and it works if i use
out.print(status.charAt(0) == ('O');
I am not sure why..
please reply asap... thanks

try follows
out.print(status) ;
status.trim();
out.print(status.equals("O"));That won't change anything. status.trim() won't actually change status; it just returns a substring. If you actually want it trimmed, you should do this:
status=status.trim();
out.print(status);
out.print(status.equals("O"));

Similar Messages

  • Having problem with washed out prints only from Lightroom 5

    Hi,
    I have just gone over the Lightroom 5 and printing to an Epson Pro 3800. Background:
    Fuly colour manage screen
    Use Windows 7 64 bit
    Using latest drivers
    Only problem when printing from Lightroom 5, not PS CS5 or Nikon Capture NX2
    Same result whether print via LR5 (with printer CM turned off) or via Printer CM (with LR5 turned off)
    I cannot see any obvious issues or problems, so would be great if someone could assist!
    Thanks
    Krytten

    Now sorted - had to reinstall the drivers. Never had this before...

  • Every time I try to install itunes on my PC I get the following message, and I can't seem to find a solution. Any help out there?? "There is a problem with this Windows Installer package. A program required for this install to complete could not be run."

    Every time I try to install itunes on my PC I get the following message, and I can't seem to find a solution. Any help out there?? "There is a problem with this Windows Installer package. A program required for this install to complete could not be run."

    Try the following user tip:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

  • ENVY 7640 error "There is a problem with this printer"

    Hi guys. I got this printer 4 months ago and it has been working marvelous. But this weekend when I turned it on the error "There is a problem with this printer" appeared, just after it connected to my wifi network.I made several tests and the error comes only if the network is connected to the internet.When it is not connected to the internet the printer works fine (prints, scans, all via wifi).I have a MAC and an AirPort Time Capsule.Is there any set up that solves the problem?

    Hi , Welcome to the HP Forums! I see that you are getting the error message, "There is a problem with this printer," with your HP Envy 7640 on Mac OS X 10.10. I am happy to help!  Is this error message showing on the printer's display screen, or on the computer screen? If the error is on the computer screen, try resetting the print system. If the error is on the printer's display screen, please try a hard reset, by going to this post, How to perform a Hard Reset, by . It is important that the printer's power cable is plugged directly into the wall outlet, and not a surge protector. Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector. This applies to Inkjet printers as well. I would also double-check that your printer's firmware is up-to-date. Getting the Latest Firmware and Product Updates. Hope this helps!  “Please click the Thumbs up icon below to thank me for responding.”

  • Cannot print due to a problem with the current printer

    Cannot print (anymore) due to a problem with the current printer is the message I get every time I try to print something out. I tried to reinstall the printer's software, I changed the cables, but nothing happened. It seems to be something related to the printer setup utility. Any big idea on how to solve this? I was printing without problems until this afternoon. I have a HP Laserjet 1022 and sometimes I use Adobe Acrobat Writer. None is currently working.
    Thanks for any help.
    Power Book G4   Mac OS X (10.3.9)  

    I just had the opererational system (10.3.9) reinstalled . Back to normality again.

  • Unexpected problem with this printable

    Started by trying to stop the printing of the "Samples" printable that was acquired accidentally.  Tried directions found in the forums to no avail.  Tried through the HP Go manageprint route and never saw the minus sign in the printable header as described.  Trying on the control panel of the printer, I get to the "Select activity" option and select the "Schedule it" icon.  Loading....then error message:  "There was an unexpected problem with this printable.  Please try again later."  I also had problems previously connecting to web services when I tried to scan a document to my email address (which I have done many time previously successfully). Performed wireless network test and all results were good.  Something is screwed up.  Any assistance is appreciated. 

     I suspect the whole setup is "not quite right" and that is not your fault -- it is a multi-step process and if it does go well the first time around, it can seem like the size 14 is a solution to fit the need. I do not have an answer - know that.  The print App is stuck, no doubt about that. I will try and help you straighten out the setup; understand I am not a Printer Expert.  Not.  This may make it worse. You might want to call Cloud Services if you can do so...  SideBar:At the least, the Snapfish bits may be just one more worm in the bucket of troubles - at this point, you might as well Click Reset Snapfish -- frankly, while used to understand what Snapfish is and why it might be on the printer panel, I have never heard of Snapfish Country.  Final note about Snapfish -- if you ever get into some sort of evil loop about logging into (creating) your HP Connected Account and it is offing something about Snapfish account -- saying you have to have the Snapfish account or you can just die and never be able to log into your HP Connected Account:  Give the program what it wants --- it is a bug.  Create the Snapfish account and you will be able to get in.  I did not write the program.  I did not create the bug.  I may have done some stupid things when I wrote code in my life -- this one is not mine.  Smiling. You can "reset" at least the "web services" by simply disabling Web Services on the printer front panel.  This is perhaps a good plan all things considered; you might read first and then decide. The one thing I have noted is that I have never had had any luck resetting, redoing, or entering much of anything from a printer panel.  I lack the patience to type on tiny panels. I do know the Printable / Print App has to be "scheduled", that is, active before it can be cancelled.  So, if it is in some sort of zombie state of half-life, you may want log in to your HP Connected account and make sure the Print App is "active" -- then try to kill it. Also -- see the note below about the Safari browser -- there may be other browsers (Chrome??) that do not handle the HP Connected account management page setup.  There are several parts to the whole "ePrint" business.   The following might be useful to help you make sure you have your setup in place.-----------------------------------------------------------------------------------------Reference:Add Device to Printer See Section:Computer gets Full Feature Software (Printer Software)If you are printing from a mobile device on the same (home) network, then you probably have a home computer in the mix (on that same network).  On that home computer, you would want to have installed the Full Feature Software for the Printer. -----------------------------------------------------------------------------------------ePrint SetupThe ePrint setup on ePrint capable printers involves the setting of the printer's own email address and the switching on of the ePrint service on the printer.  The ePrint email address is the email address to which you send your print jobs from your mobile device(s).  Note that a mobile device can also include your notebook computer.  "If you can send an email, you can use ePrint." -----------------------------------------------------------------------------------------The HP Connected AccountThe HP Connected Account (still called ePrint account in some countrys) is the account you use to manage your ePrint setup.  You can customize your ePrint email address, add / remove your ePrint printer from the HP Connected account, check your ePrint job log, and -- when things are working as intended -- manage your Print Apps (formally Printables). For example,If you have had to Reset Web Services, you may need to log into your HP Connected Account > Settings > and Add your printer. If you have had to Reset Web Services, you must change your Custom ePrint email address. If you gave your ePrint address to someone you no longer "like", you can change the address or remove that person from the "Allowed Senders" list. There are a couple of oddities having to do with the managing of the HP Connected Account.  For all that it is intended to be fully functional under most circumstances, some Browsers do not seem to be able to handle the code in which the WebPage is written.  Safari is notorious for not handling the Print Apps section of the HP Connected setup.   If you have trouble managing the features in  your HP Connected Account, try a different Browser. -----------------------------------------------------------------------------------------Mobile Device / iPad gets an App Once everything else is set up, mobile device(s) can be added to the ePrint setup.  The type of Application used to support the mobile device depends on the device. For example, iPhone and other Apple flavored products typically use those products found in the Apply Store.  Android has its own download, etc. Most devices and printers that can be connected with ePrint or some sort of Cloud or Web services print service are mentioned and / or covered in the Mobile Printing Link in the document. -----------------------------------------------------------------------------------------Troubleshooting and Additional HelpTips, Suggestions, lists, and extra "bits".   When you see a Post that helps you,Inspires you, provides fresh insight,Or teaches you something new,Click the "Thumbs Up" on that Post. Click my Answer Accept as Solution to help others find Answers.

  • I keep getting the following error message when I try to update my itunes, "There is a problem with this windows installer package. Aprogram run as part of the set up did not finish as expected.  Contact your support personnel or package vendor."

    I keep getting the following error message when I try to update my itunes, "There is a problem with this windows installer package. Aprogram run as part of the set up did not finish as expected.  Contact your support personnel or package vendor."

    Yes, I had found a similar solution also.  I'm running XP Pro, SP3.  I went Control Panels/ Add-Remove programmes/apple software update/ change/ repair.  Then run the 10.5 exe.
    While the programme updated from version 8 of iTunes, my new iTunes is now a mess.  Not all of my music was in the same folder previously but it all showed up on iTunes.  Now many albums have been left out, some have only a few tracks and some have two copies of some tracks as well as having other tracks missing.  I haven't begun to work on that.

  • I can't move photos from iPhoto to my secondary hard drive or to a burn folder.  I have never had a problem with this before.  This is something new.   They will not drop into either folder.  Nothing happens.

    I can't move photos from iPhoto to my secondary hard drive or to a burn folder.  I have never had a problem with this before.  This is something new.   They will not drop into either folder.  Nothing happens. 
    I checked my secondary harddrive and there is plenty of memory.
    I emptied my burn folder but the photos still will not drop into it.
    I created a new burn folder, no luck with this either.
    230 photos is the maximum size of the events I am trying to move from iPhoto to save elsewhere.
    I have shut down and restarted my computer.   No change. The photos still will not drop out of iPhoto.
    My Mac Computer Storage shows that I have 62.2GB free out of 249.2GB (movies, photos and contacts taking up the most space)
    My Lacie External Harddrive (2TB capacity) shows that I have 1.79TB available.  It shows that 207,729,520,640 bytes (207.73 GB on disk) are used.
    I have never had this problem before.  It is usually very easy to move my photos from iPhoto.
    I am not a computer expert (I work in surgery so don't have a need for lots of computer knowledge) so please explain in simple terms.  
    Thank you so much for any help you can provide.
    I really appreciate it.

    YES Terence!  Thank you. Exporting allowed me to move my photos from iPhoto into the Burn Folder on my desktop.   But that doesn't explain why I'm having to go that route now.   Have I done something (accidentally changed some setting) on my computer that will not allow me to just click and drag anymore?   I really liked the convenience of the click and drag option. 
    I don't have the time tonight to export and burn a lot of CD/DVDs.  I'll try that tomorrow and make sure my photos are moving properly.  I also need to export photos to my external hard drive to make sure that route is working. 
    Wouldn't you know that my Apple Care Plan runs out this Wednesday?!  I need to make sure everything is working properly before that expires. 
    Thank you so much for your help.   I really, really appreciate it.

  • How to re-install iTunes after receiving "There is a problem with this Windows Installer package ..." message?

    Hi,
    This is how it all started. When the new update for iTunes 11 came out, I tried to update it. After I had updated it I found nothing had changed. So i tried rebooting my computer and everything and found that still nothing had changed. So I tried uninstalling it. After that I tried to re-install it, but it came up with the
    "There is a problem with this Windows Installer package ..." message. So I looked around the internet and found a website that told me to uninstall all Apple products. So i did that. When i tried to uninstall Apple Software Update, it came up with the 'problem with windows' message again. So I used Revo to uninstall it. So I rebooted and tried to install it again. It installed Bonjour and all of the other programs but stopped halfway and gave me the 'proplem with windows' message again. I've looked around and most of the solutions have been to try and repair Apple Software Update, but the problem is, I've already deleted it. So can someone PLEASSEEEE help me fix this problem! (Sorry for droning on)

    http://support.microsoft.com/mats/Program_Install_and_Uninstall  try this an see if it fixes it.

  • Error message on window 7 for install iTune and iCloud!!!"There is a problem with this Windows installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."

    Hi,
    I just try to install the setup download from apple website for iTune and iCloud.
    During the installation, there was error message prompt out "There is a problem with this Windows installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."
    I am using Window 7 32 bit. I have try several time for install, but the result is getting same error message.
    Anyone can help on this??????
    Thanks.
    Justin

    I have also tried extracting the individual components to the temp file and attempting to install them individually despite being unable to remove the previous install of Apple Software Updater.  The outcome, both Apple Software Updater and itunes encountered the same error message during the install process.

  • Im trying to download itunes 10.5 but keep getting error message that says: There is a problem with this Windows Installer package. A problem run as part of the setup did not finish as expected. Contact your support personnel or package vendor.

    im trying to download itunes 10.5 but keep getting error message that says: There is a problem with this Windows Installer package. A problem run as part of the setup did not finish as expected. Contact your support personnel or package vendor. I am using windows XP 32 bit, all the other computers in my house downloaded just fine, no problems, however this is the computer my iphone is set up to, ive tried doing a virus scan, windows update, downloading other things, updating everything possible, everything works fine, its just itunes that wont download, anyone have any other ideas?

    Yes, I had found a similar solution also.  I'm running XP Pro, SP3.  I went Control Panels/ Add-Remove programmes/apple software update/ change/ repair.  Then run the 10.5 exe.
    While the programme updated from version 8 of iTunes, my new iTunes is now a mess.  Not all of my music was in the same folder previously but it all showed up on iTunes.  Now many albums have been left out, some have only a few tracks and some have two copies of some tracks as well as having other tracks missing.  I haven't begun to work on that.

  • WIndows 8.1 printer error: windows cannot print due to a problem with the current printer set up

    My HP OFFICEJET 8500 PRO was working just fine wirelessly until I installed the Windows 8.1 update from the Microsoft.  Now I cannot print at all.  I get an error that says,  "windows cannot print due to a problem with the current printer set up".  I have tried reinstalling and a ton of other solutions to no avail.  Can someone PLEASE Help!

    Hello there, @jesseangelique ,
    Welcome to the Community!
    I would love to help you with the printing issue you're having, since the Windows 8.1 that was done.
    Please run the Print and Scan Doctor. Write me back with the results or post a screen shot of the results and I will have a look at them.
    This diagnostic tool will check for any conflicts that could be causing the issue. The tool will show you a report at the end. If there was a problem that the tool could not fix, you will notice it in the results.
    Also, let me know which Officejet 8500 Model you have:
     HP Officejet Pro 8500 All-in-One Printer - A909a
     HP Officejet Pro 8500 All-in-One Printer - A909b
     HP Officejet Pro 8500 Premier All-in-One Printer - A909n
     HP Officejet Pro 8500 Wireless All-in-One Printer - A909g
    Hope to hear from you!
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Problem with countinuous paper printing in dot matrix printer

    Hi All,
      I have problem with dot matrix printer (Devise Type EPESCP) while printing continuos printing. If  i am printing 2 or more than that prints at a time, 2nd page is printing 5 lines up.
    I have developed one smartform for this and i have used A4 size page format.
    I have tried to change the Printer initialization code to 86 lines for DINA4.  Still no change in continuous printing.
         Printer initialization
         Reset after exit
         Cover page
         First Page
         Start of even page
         Start of odd page
         Start of page
         End of first page
         End of even page
         End of odd page
         End of page
         Start of line on an even page
         Start of line on an odd page
         Start of line
         End of line on an even page
         End of line on odd page
         End of line
    Printer initialization
    # reset
    \e\0x40
    # select character table 3 -> PC 437 character set
    \e\0x74\0x03
    # set line spacing 6 LPI
    \e\0x32
    # set page length 86 lines
    \e\0x43\0x46
    # cancel bottom margin
    \e\0x4F
    # set left margin to 0
    \e\0x6C\0x00
    # select LQ quality
    \e\0x78\0x01
    # select non-proportional spacing
    \e\0x70\0x00
    Can any one help me.
    Thanks,
    Vishnu

    Hi Vishnu,
    Above you have the following commands:
    set line spacing 6 LPI
    \e\0x32
    set page length 86 lines
    \e\0x43\0x46
    46 HEX = 70
    So the above settings mean 70 lines at 6 LPI = 11.66 inches.
    So is the paper length 11.66 inches? If not, you should adjust the settings accordingly.
    Regards,
    Aidan

  • Problem with Photoshop Elements Printing

    I have been using Photoshop Elements for a couple of years now and know it pretty well.  Today while attempting to print, a strange problem came up:  After going through the protocol to make a print, just before the image prints PE does a very fast auto correction that basically ruins all the color correction I have made on the image.  How do I disable this function?

    Hi and thanks for your reply. I checked the settings under "Print", "More Options", then "Color Management" and it only has "Print Space", none of the three options that you said I should have.  Am I looking in the wrong place?
    Date: Mon, 3 Sep 2012 11:14:57 -0600
    From: [email protected]
    To: [email protected]
    Subject: Problem with Photoshop Elements Printing
        Re: Problem with Photoshop Elements Printing
        created by 99jon in Photoshop Elements - View the full discussion
      Check your color management by clicking More Options in the print dialog There are basically three options:1) Printer Manages Color2) Elements Manages color3) No color Management Make sure everything is consistent e.g. if you choose Elements manages color make sure color management is switched off in the print driver. 
         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/4669848#4669848
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4669848#4669848. 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 Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Problems with TV Out signal after upgrading to iOS 5.1

    Has anyone experienced problems with TV Out signals on their iPad 2 using the Apple HDMI Adapter after upgrading to iOS 5.1?  I am trying to connect to my HDTV after upgrading and cintunally receive an "Unsupported Video Signal" message with a blank/back screen.  Prior to upgrading, I had no connection problems and could view TV Shows, Movies, Music Videos, Keynote, etc...without problems.  I've been unable to find any resolution to this problem, even followed Apple guidance to detach and reattach the HDMI adapter without success.  Seems like a software bug to me and it's a major problem when trying to conduct business or personal activities.  Hopeing Apple has a fix in work already...anyone else have any ideas?  Thx in advance...

    Try a reset. Press & hold the Power and Home buttons together for 10+ seconds, ignoring the red power-off slider, until you see the Apple logo. It is safe to do, there should be no content loss. It is the same as rebooting your computer.
    If that does not work, restore the iPad to the factory settings.

Maybe you are looking for

  • Jsp Design view not working

    For some reason I can't create or edit jsp files within the design view. I get a blank screen with the following text in the middle "Type, paste, or drag content onto this blank page, or drag and drop a component from the palette. The weird thing is

  • Itunes 6.02

    K, yeasterday i downloaded iTunes 6.02.... i had problems and i couldn't open it... nothing explained it... quick time worked... in tskmanager, (processors) it says iTunes is running at 10,796k... quicktime is also running... i downloaded standalone

  • The SAP's bug after bug Notes = 919535?

    Hi, I found a new bug after correcting the bug which is contained in Notes = 919535 and don't know how to correct it. pls help. tks in advance. the description of new bug is below: 1. I create a sales deal = A and don't create any price at the same t

  • Safari Culture (Language Settings)

    Hi, Safari reports that my culture is fr_FR to web servers. However, I live in Quebec, Canada. All my regional settings are set to Canada or French in general settings. This is a problem since websites do not show the good regional content and worst,

  • HP2420 Laser Jet printer only printing black pages

    I have an HP2420 laser jet printer that is only printing black pages.  I have tried 3 different toner cartridges so the cartridge is not the issue.  I saw that there are maintenance kits.  Could these help solve my problem and if so, how do I use the