Servlet seem to execute but just return a blank page

I have two servlets that I am calling from a jsp.
One servlet executes fine, the other seems to execute but comes back with a "done" message in the messagebar and no page whatsoever.
I checked the web.xml. It is correct.
Anyone have any ideas?

Try "view source" in the web browser. Sometimes certain browsers don't display anything if you have e.g. a missing </table> tag.
Check the web server logs - access log and error log. Do they record a succesful execution? Which server do you use -- e.g. Netscape / iPlanet / Sun ONE / whateverthehellit'stoday logs the number of returned bytes in the access log.
Use a TCP/IP trace program (Unix -> tcpdump, Windows -> ethereal) to see what the web server returns.
Or use telnet:
telnet localhost 80
GET /the/servlet.html HTTP/1.0
Host: foo.bar.com
-- the Host header may or may not be required by the web server.

Similar Messages

  • HT4623 Have just updated to the latest version of ios6 on my iPhone 4S and now I can't see the apps that need updating. Is showing 8 but just left with blank screen.

    Have just updated to the latest version of ios6 on my iPhone 4Sand now I can't see the apps that need updating. Is showing 8 but  just left with blank screen- how do I fix this?

    Look for the little Flag button in the lower left corner.

  • I have a Macbook pro thats prints fine to my HP printer, but when I try and print from my iMac it doesnt see the pages and just prints two blank pages. Even thou the document is a number of pages

    I have a HP Officejet Pro 8500A and I had no problems printing to it from my Mac or Macbook pro. The macbook is wifi and the Mac is cable, I have recently had the printer replaced with an exact model. Since doing that I can only print from the macbook pro, when I try and print from teh mac it doesnt see the pages. It could be a 10 page document and it will just show two blank pages. I have googled the question and have tried deleating the printer and reinstalling without any luck. When I got the new printer I insalled all the latest drivers thats the only thing different.
    Could you please help
    Michelle

    Right click the printer in System Prefences -  Print & Scan and use Reset Printing System... and then reinstall the printer, should take less than 5 minutes. Here is a photo showing how to Reset Printing System....

  • Execute Javascript, window.print(), prints blank page in Captivate 7

    Hello,
    I'm fairly new to Captivate, and am no Javascript expert.  I've been trying to figure out how to print the last slide in project, which has a custom certificate.  I initially tried the print widget that comes with Captivate 7, but the scaling is off when printed.  There are no options to change the scale of the printed slide on the widget properties, so that seemed to be a bust.  I then tried to create a button to execute javascript when clicked.  In the script window I put, window.print(); now this works to bring up the print box, but only prints a blank page.  I'm not sure if it's something I'm doing wrong with javascript.  I've been reading other forum posts, and this function seems to work for others using different versions of Captivate.
    I know there is a cool print widget that someone has made, but I'd actually prefer to just do this with javascript.  I haven't tried the buyable print widget yet, but I am trying not to use widgets so that the html can be scalable. 
    I'm publishing my projects and uploading them to GoogleDrive, where I then preview the html output.
    I'd appreciate any help.  Thanks!
    Kailey

    Wow, thank you for such a speedy response Rick.  I've actually been using Firefox and Google Chrome, because IE isn't updated enough to work with Google Drive properly (and I don't want to go through the whole process to get privileges to update on work computer).  But I did check this box in Firefox.  Instead of printing the objects on my slide, it printed a big square light grey background.  It's almost like the the browser can't see the project.
    I would think this was a browser problem, but I had previously downloaded a trial of Articulate (trying to decide between the two), which has the same execute javascript function as Captivate.  Putting in window.print();, publishing, and uploading to Google Drive, printed just fine.  Not sure if something in the code in Captivate isn't coming through, but is in Articulate.  I'm not versed in html or javascript enough to compare the two html files. 
    Back to the drawing board!  Thanks for your help.
    Kailey

  • Submitting POST forms on certain websites returns a blank page

    Some websites with POST forms return a blank page when I submit the form. The data apparently gets submitted, so depending on the website I can refresh the page and it works fine. But some websites, this completely breaks the functionality.
    Most recently this happened to me clicking the "Ship to this address" button on Etsy (which is a site-breaking situation and refreshing took me back to the same page). Then I came here to register an account and, well, funny story, it actually happened when I clicked the Register button after filling out a username, password, and email address (but refreshing worked).
    Possibly related: around the same time this started happening, I noticed that 307 redirects would give me a blank page saying "Document has moved [link]here[/link]," and I'd have to click "here" to move on, as opposed to the redirect automatically happening.
    I've tried disabling add-ons and it hasn't helped.

    Clicking the Post Question button just now also sent me to a blank page, and refreshing just took me back to the Post Question form. Fortunately by confirming my account through my email, my question got posted. Otherwise I would have had to post on this forum in Chrome. The horror.
    (EDIT: But the Post Reply button worked perfectly)
    (EDIT 2: Update Answer did not)

  • Is there a way to Print one's Purchase History?  I just get a blank page when I click on Print and cannot copy to paste elsewhere.

    Is there a way to Print one's Purchase History?  I just get a blank page when I click on Print and cannot copy to paste elsewhere.

    davidfromloudon wrote:
    Is there a way to Print one's Purchase History?
    Take screen captures and print them.  PITA I know but that is all that is provided.
    I just get a blank page when I click on Print and cannot copy to paste elsewhere.
    Correct.

  • Sharepoint Site returns a blank page

    Hi,
    I am working on a project with my professor and for it I need to set up SharePoint 2013.
    The installation process worked out fine. I created a new Application Pool, and also a Site collection associated with it.
    Central Admin page is working fine but when I try to open Site I created I get three login attempts and then a blank page is returned. I have seen many questions like this one and they advised to turn off Windows Authentication. I have turned off all the
    authentications and when I try to access the site I get no prompts asking for credentials but it still returns a blank page.
    When I try to access the same site from a different machine (no the server), I believe the page designer is supposed to come up. However, I get the SharePoint page saying "Working on it" and it stays there it does not go any further.
    PS: I am setting up a 2-tier farm.
    Thank You in advance.

    Hi,
    According to your post, my understanding is that you got three login attempts before it loaded a blank page.
    For this issue, we can run the following power shell command to disable the
    LoopbackCheck.
    New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -value "1" -PropertyType dword
    You may have to restart the servers and will have run this from all of your SharePoint servers.
    You can also navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa in registry and create the dword32 for
    DisableLoopbackCheck, modify the value to 1.
    For more information:
    http://sp-vinod.blogspot.in/2013/03/disable-loop-back-check-in-sharepoint.html
    What’s more, we also can try creating a new web app in SharePoint Central Admin and see if you are able to access that site correctly.  If you are then the odds are that something went wrong during the provisioning of the original web app.
    There are some similar articles for your reference:
    http://www.harbar.net/archive/2009/07/02/disableloopbackcheck-amp-sharepoint-what-every-admin-and-developer-should-know.aspx
    http://iedaddy.com/2009/04/sharepointdisable-loopback-check/
    http://www.jeremytaylor.net/2010/05/24/sharepoint-disable-loopback-check-disableloopbackcheck-dword-in-registry/
    If you have any problems, please feel free to reply me.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • All of a sudden I can't print anything on my macbook.  I am directly connected to a printer where i had printed before now if I hit print it just gives me blank pages with websites header? any ideas what went wrong?

    I just started having issues printing with my macbook when before I had no problem.  same printer, nothing has changed. when I try to print it just prints me blank pages with internet headers even WHEN i am not printing off the internet, simply pdf documents.  any idea what I am doing wrong or what changed?

    Hi evelia,
    Welcome to the Support Communities!
    The first thing I would suggest is to shut down your computer and turn off your printer.  Then do the reverse -- turn the printer on first, then your computer.  If the issue still persists:
    Check to make sure there are no jobs waiting to be printed. (Apple Menu > System Preferences > Printers & Scanners)
    Troubleshooting printer issues in OS X
    http://support.apple.com/kb/ts3147
    If all else fails, reset the printing system and install the printer again:
    OS X Mavericks: Reset the printing system
    http://support.apple.com/kb/PH14141
    I hope this information helps ....
    - Judy

  • How come when i use personas firefox does not open to homepage, i just get a blank page?

    when i use a persona firefox does not open 2 my home page, but rather to a blank page.

    Thanks for responding Chris.
    I hadn't restarted after disabling SearchMenu. Having restarted, it would appear that the problem was, in fact, SearchMenu. Which was my suspicion. Once Find highlights a "word" SearchMenu interrupts to offer its services. I guess I'll post on their board, to see if there's a solution.
    I should have restarted before posting. My apologies. Rookie move.
    Thanks again, Chris.

  • Is anyone else but me get the blank page when trying connecting to itunes store??

    For almost a week of trying to solve this i'm giving up.
    Aplle custumor service tried to help but failed.
    I'm on windows 7 and the latest itunes 10.5.3.
    My girlfriend has itunes on mac and it works fine on the same network so what is the problem???

    Is anyone else but me get the blank page when trying connecting to itunes store??
    Yes, many people are.  To fix it, check this guide: iTunes 10.5 for Windows: May see performance issues and blank iTunes Store.

  • When I click on a link in Thunderbird, Firefox 4 starts, but just shows the home page, not the page I clicked for

    When I click on a link in an email in Thunderbird, Firefox 4 starts, but only shows the home page(s) not the page of the link

    I think i've found how to fix this issue when it appears. Don't know what caused it to happen, but that's up to the devs.
    In Thunderbird, you need to re-register http and https to make them open with Firefox (or open well with firefox in this case).
    How to to this?
    Well... open the about:config in thunderbird. You can achieve this by clicking configuration-editor in the advanced tab.
    search for the strings: network.protocol-handler.warn-external.https and network.protocol-handler.warn-external.http. Set both to "true".
    The next time you click on a link from within Thunderbird, it will ask you to set wich program you'd like to open it with.
    Be Aware now!!! Firefox may already be listed in there, but don't pick that one. instead... choose to browse for the app and point to the binairy/exe of firefox.
    (for example: /usr/bin/firefox or c:/program files/mozilla/firefox.)
    You will notice that firefox now does open up with the page you just clicked on.
    If it doesn't right away... just restart thunderbird and check again.
    Please respond if this works for you too on all platforms. It's more interesting to know it does than if it's not.
    Greetz,
    Kenny

  • Hotmail site just shows a blank page. Although I went to options advanced network clear now.

    My hotmail.com is a blank page. I tried to go to option > advanced > network > clear now. But the problem is still there.
    == URL of affected sites ==
    http://hotmail.com

    I have a client with the same problem but on Win 7 Pro 64 bit. Some pages in Hotmail just show as a blank (absolutely nothing) with the green progress bar hanging forever. Seems to be linked to just clicking on a listed email in the inbox. Using a fully patched O/S and the latest Firefox release. Same page/process in IE8 and no problems.

  • Photosmart C4680 has ink but prints only a blank page

    I have just installed this printer on my Mac PPC computer, using OS X 10.4.11. I downlaoded and installed the proper driver and software for it from HP. All is running, and appears as it should -- except nothing prints out, no ink being put on the page, but a blank page.
    The utility says there is ink in the cartridges, although low, in both in color and in black cartridges.
    I get no print even when not hooked to my computer, simply using the Copy function. I get no print when printing from a file. All I get is a blank page. 
    If I scan, it does scan the page fine, and opens it on my monitor -- but if I send that to printer, it prints a blank.
    I have run the cartridge cleaning operation three times now. No difference. I tried the alignment, but find that to do it, it first has to be able to print something! 
    I am using the right driver. All seems to function fine -- except all prints are just a blank. Again, the utility says I do have ink in both cartridges. Yes, it is set up properly in my System Preferences -- all the setup is fine. It seems to be fully accessible and fully functions -- except It just isn't putting out any ink. 
    So, what is wrong here, what do I need  to do?

    Since I posted nearly a year ago, I learned about HP. It seems HP is the worst for rejecting generic ink  cartridges. From what I learned, HP does something in its chip that prevents it from being reset, as chips for other brands can be. As such, generic cartridges have to have the original chip replaced. Because of patent issues, they can't make the chip exactly as HP does. Thus, problems, as planned by HP to force you to buy their exhorbitantly high priced ink cartridges and exercise a monopoly.
    I ended up getting rid of that machine -- and getting an Epson. Epson chips are easily reset, so the orignial chip can be used, and there is no problem with generic cartridges.
    If you want to spluge the price of a HP brank cartridge, your machine should work. After going throhgh several generic cartridges, I found they worked at differing amounts, including not at all, but none printed for more than about a quarter of the cartridge. That is, even if you get a generic that works, it won't work for long.

  • When i try to open a tab a Yahoo search page comes-up, i just want a blank page.

    When I do a Ctrl-t to get a new tab it brings up a Yahoo search page. I want a Blank page, like I used to get with a new tab. I must have downloaded the Yahoo stuff, but need to know how to reset my tabs in Firefox to get a Blank page again.
    == This happened ==
    Every time Firefox opened
    == I downloaded, accedently, a Yahoo toolbar I have deleted the toolbar, but the tab problem still exists.

    ''This is a hidden add on!'' Here’s the easy, ''get rid of it for good solution'': It’s done within Firefox. Enter [about:config] in the url address box. Click “I’ll be careful. I promise”. In the <filter> field, type “extensions.netassistant” (no quotes). Right click on the field: “extensions.netassistant.tabsearch.url”, click on [modify] , either delete its string or enter your own. I’ve entered “https://encrypted.google.com” (this is a beta encrypted search by Google) just as a personal satisfaction against Yahoo. Do the same for:”extensions.netassistant.url” field.
    '''NOTE''': If you haven’t modified your Firefox configuration before and you don’t feel comfortable in what you are about to do, '''BACKUP!''' The backup procedure can be found at: http://support.mozilla.com/en-US/kb/backing%20up%20your%20information . Or just do a Google search for “backup Firefox pref.js”.

  • When I close a webpage I can't get back to the home page on Safari. I just get a blank page.

    How can I return to m homepage after closing another webpage on Safari. All I get is a blank page.

    I dont quite understand your question. There is no homepage on Safari for iOS. It just opens to the last page you were on. If you're on a blank page, just enter the URL you want in the address bar.

Maybe you are looking for