Tomcat seems to have gone crazy!

Hi!,
I tried using the tomcat 3.3 To learn JSP. I am getting my source code in the browser, when I view the page.
I made a directory called "library" under "webapps". Then I put my hello.jsp there. Inside "library" I made a directory "web-inf" and put "web.xml" there. When I call http://localhost/library/hello.jsp, I get a page which gives me the source code when I do view source. Although my code is not being compiled, the jsp examples within examples folder under webapps are working fine. For some reason its not compiling my code!!!
These are my web.xml and hello.jsp files:
File -web.xml is as follows:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<welcome-file-list>
<welcome-file>hello.jsp</welcome-file>
</welcome-file-list>
</web-app>
File -hello.jsp is as follows
<%@page language="java"%>
<%
for(int i=0; i<100;i++) {
%>
Come on!!!
<%
%>
I am using a win2k professional OS.
Please tell me what the problem is. I shall be very thankful for any assistance.
Regards,
LM

The reason was the page was saved with unicode encoding and when I changed it to ascii, it worked fine!

Similar Messages

  • HT4623 Is this the most up to date article on up dating the iPhone - it there anything about the problems relating to the up date to OS 6 - my G3 no longer works and Apple seems to have gone to ground.  No Genius bar appointments available for a week!

    Is this the most up to date article on up-dating the iPhone OS - is there anything about the problems relating to the up-date to OS 6 - my G3 no longer works and Apple seems to have gone to ground.  No Genius bar appointments available for a week!

    iOS 7 devices need iTunes 11.1 or newer to sync.  Depending upon your computer and the OS it is running, you may not be able to upgrade to iTunes 11.1 based on the requirements for iTunes 11.1.  What computer and OS are you running your iTunes on?  From the iTunes download pages I see the requiorements are:
    Macintosh System Requirements
    Mac computer with an Intel Core processor
    OS X version 10.6.8 or later
    400MB of available disk space
    Broadband Internet connection to use the iTunes Store
    Windows System Requirements
    PC with a 1GHz Intel or AMD processor and 512MB of RAM
    Windows XP Service Pack 2 or later, 32-bit editions of Windows Vista, Windows 7, or Windows 8
    64-bit editions of Windows Vista, Windows 7, or Windows 8 require the iTunes 64-bit installer
    400MB of available disk space
    Broadband Internet connection to use the iTunes Store

  • Play Counts have gone crazy

    I am not sure what has happened but sometime over the past few weeks my play counts have gone crazy. I have songs that are reporting a play count of between 265 and 769. Obviously these are not even close to correct (especially since the next closest number is like 20). Is there any reason this might have happened? Is there any way to correct this information without resetting the play count for those tracks completely?
    Thanks!

    Many thanks again.  I do not understand the concept of 'using the script' on the page you refer me to: I am not terribly technical!  Basically, I don't understand the comment 'Save the text of this file and add the extension .js and put it in your script folder and run the script in Window > Utilites > Scripts >'  How do I save the 'text of this file', and does this refer to everthing that is in the box, beginning '//blind Open' and ending '}'?  What is my 'script folder' and how do I find it?  Is this a folder in InDesign, or Windows (I'm running Windows 7, 64bit).
    I did try to open the 124 byte file (sorry, I said 124 KB by mistake), and got an error message that it could not be opened.  Also, as a check I exported a much smaller file (1244 KB, as opposed to the 'problem' file, which is 5668 KB), and the resulting file was 48 KB.
    Thank you again for trying to help!

  • Hi, I've been trying to configure my MacBook Air to the iCloud and for the last 3 days it's still uploading my calender. Also a few entries made to the calender in the last few days seem to have gone missing. Is this normal? How long will the upload take?

    Hi, I've been trying to configure my MacBook Air to the iCloud and for the last 3 days it's still uploading my calender. Also a few entries made to the calender in the last few days seem to have gone missing. Is this normal? How long will the upload take?

    Since the maximum OS X version for an eMac is 10.5, how are you running OS X 10.7.5 on the eMac?
    http://support.apple.com/kb/TS1591

  • Drivers seem to have gone missing from the hp drivers website

    Most of the drivers HP used to provide for my laptop via Support Center seem to have gone missing. Some of them can be subsidized by installing the drivers windows update or hardware manufactures provide but for my switchable GPU this seems not to be the case at all. From what I gather the driver HP used to provide was custom. Is there any way I could acquire it? Is this new driver depravation situation permanent or will the old software eventually make a reappearance on the website?

    I'm having the same problem finding drivers for my ProBook 4540s.  I think hp may be adding more though because I think there were more drivers today than yesterday.

  • Voice recognition not dictation but open and close apps get time seems to have gone in yosemite is this the case or is it there somewhere?

    I have two questions re voiceover and yosemite,
    1, has voice recognition to open, close apps and the clock etc. been removed ?
    2. when reading a pages documents I seem to have lost the ability to navigate by paragraph a great facility for skip reading and back searching. Has this been removed?
    Can anyone advise.

    The Safe Mac
    The Safe Mac » Adware Removal Guide Genieo
    Thomas Reed's Mac Malware Guide
    AdwareMedic
    Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support
    Mac Virus Malware Info
    MacBook Pro

  • My fiefox seems to have gone to an older vesion for my user only, how do I change it back to the firefox 13 look?

    For some reason, the orange firefox button at the top has disappeared, and my tabs have gone down out of the top bar, I want them back! How do i fix this? I'm not sure when this exactly started, I think I was doing something with addons? Maybe fixing something in the about:config thing?

    omg. thank you. i never would have realized that it was a simple matter of toolbars being shown.

  • Ability to see multiple previous pages by dropdown next to Back button seems to have gone

    Since the recent update, I seem to have lost the little down arrow next to the Back button to enable me to jump to, say, 4 pages before the current one.
    Can I bring it back or has it disappeared for good?
    Thank you for any replies

    You're welcome.
    Please click the '''Helpful''' button next to the answer that solved your Firefox support issue, '''when you are logged in''', so this thread gets marked as '''Solved''' to help other users who may have this same problem.

  • My computer seems to have 'gone back in time'

    Hi, am very confused by my mac. It's been timing out to the rainbow wheel when not in use, and sometimes freezing on start up, but problem been intermitant.
    Then, one day last week when my kids were on the web it was asking for a flash update. I realised yesterday though that my computer has lost an entire set of files, all from a fixed period. I use my computer mainly for web surfing and music/photo/movie storage. First noticed when capturing movies from camera that the 2010 folder I usually save to had dissappeared. The 2009 folder has also gone. Further examination has shown that there are no pictures in iPhoto prior to an import on 22/02/09. In iTunes, the last ripped track is from 10/03/2009, and nothing from jan 2008 - feb 2009. Looking at the folders for each user, every main root folder is modified feb/march 2009 apart from Shared, which still contains MP3 folders that I copied recently eg sept 09 and late March 2010. Infact the only other files from 2010 I can find are the avi movies I downloaded and the Flash updTe I did a few days ago.
    Any ideas where I should start? Any help would be much appreciated.
    Thanks mark

    Have you checked it with Disk Utility?
    (Open Applications:Utilities:Disk Utility. The list on the left contains discs, with their partitions (volumes) indented under them. Click on the disc containing your boot partition (or click on the partition) and then click the “Verify Disk” button near the bottom right. You can not Repair the boot volume this way; you have to boot from your Apple CD, and run Disk Utility from there.)
    If there is a problem here [and it is this that has caused the files to disappear, as opposed to it being a coincidence], I would expect that it was fairly bad; I would suggest that you back up all the files that you can see, before doing a repair.
    Just out of curiosity: what does it say against “Format” (near the bottom left) when the boot partition is selected, please?

  • Fonts have gone crazy with 08 update

    I purchased iLife 08 and installed the iWeb update (including the 2.0.1 web update), and wanted to update my website; simply add a page and fix a couple of typos. First thing was my eps files that had looked fine and worked as transparent pictures were no longer transparent. They all had to go away and be re-imported, re-sized and re-positioned.
    After that, everything looked fine in iWeb. I published it to a folder and looked at it in Safari & Firefox, and the fonts went crazy. What was Arial Black in all browsers in the old iWeb is something very "Geneva" like. Same thing for Arial "regular." I went and copied a very simple block of text (and all formatting) from one page where it looks OK, to the place where it publishes wrong. Nothing was fixed.
    Additionally, the text that I had links associated with are now random size text and random fonts. And I do mean random. What is supposed to be arial 13 everywhere, can be as big as 26 pt, with stretched fonts, smaller, bold.... totally random. The same is true when viewed in both Safari and Firefox. Save your old files before updating, and don't have high expectations for success when you do update.
    This is a dangerous update.

    So are you saying that I can rebuild from scratch in '08 and I won't have any problems? That's a possibility, but a painful one.
    There is something that stops me from trying out the new features on new site. The program is limited to only dealing with one site (the work-arounds for this are not for the faint-of heart).

  • I have lost my contacts in my I phone 5 list and I have gone crazy what to do please

    i have such experience twice , so I have lost my contacts in my I phone 5 , it appeares just phone numbers with no names ....what to do to restore them.
    i Have the same experience a week ago but it returned ...
    this is time gone
    nneed your kind help

    how ow can I restore my contacts !
    I Have lost my names in my I phone 5 , it appears just numbers ..

  • HT5457 I have an iphone 3Gs, it was on contract from O2 which is now terminated. I have had it unlocked by O2 and have tried updating it to the current software via Itunes. It seems to have gone back to factory settings and not its telling me it cannot ac

    Hello
    I have an iphone 3Gs, no longer on contract and unlocked by network provider.  I've tried updating the software and it has gone back to factory  settings, but it's telling me that it cannot activate the phone due to activation server is unavailable.  Is there anything I can do to get the phone working again?

    Did you get the 'Congratulations. Your iPhone is now unlocked." message?
    Was your iPhone hacked or jailbroken prior to the unlock attempt?
    Does the app Cydia appear on your iPhone?

  • How can I get back the space to type in web addresses when I click on safari.  it seems to have gone away??

    I am trying to find out how to get back the space  up top of window that appears when I click on safari.  I used to be able to type in web addresses and go to places but somehow I lost the space which was just above or just below gray space that show apple,  store,  mac,  ipod etc.  I am  78 & sometimes get confused.  any hep would be greatly appreciated.  I know I had my arrow on somewhere near that space and heard a sound and when I looked back at my puter that space was gone.  ???    any ideas,, Annette l

    When Safari is active, in the menu bar at the top of the screen, there's a menu labeled View. From that menu, select Show Toolbar. It's right at the top.

  • I just got my iphone 4s today and came home and plugged it into my itunes and restored it to my account but something is wrong it seems to have gone to the setting that I had on my iphone 4. How do I get it back to how I had it?

    I just got an iphone 4s and went to itunes to get all the stuff that I had on my last phone onto my new phone. I think that I have put all my setting for my old phone onto my new phone. My old phone being a iphone 4. Is there anyway I can get my phone back to how I got it earlier today?

    No, no one here can help you, & neither can/will Apple. Only Orange can authorize the unlocking of your phone, & typical of most carriers, they will only do so for customers using the phone on their network.
    Either establish service with Orange, then request the phone be unlocked, or sell it to someone that can use it on their network.

  • My E63 seems to have gone haywire! What do i do ne...

    Oh dear! My beloved E63 does not not seem to be working anymore and its progressively getting worse!
    Ok so a few days ago i purchased a new 8gb memory card, so im really not sure if the problems im having are related to the new card or perhaps all the apps ive been constantly installing, or maybe even some other internal problem. Well at first the web browser kept freezing and stalling, now im finding that apps just dont start up at all when i click on them, ive also tried uninstalling some of the newer apps (in case it was them causing the problems) but im finding the phone just freezes during the uninstall process and im totally unable to uninstall anything.  Im finding that apps installed both on the phone and on the memory card will not start up when i click on them or give errors if they do manage to start up.  Basically the whole phone is on the verge of not being functional at all. Can someone please advise me on what to do next and/or what might be causing the problem.  Any help or suggestions will be much appreciated as im REALLY trying to avoid having to send the phone away for repairs.  Thanks in advance!!
    Solved!
    Go to Solution.

    Backup your contacts and other important data on the phone then do a hard reset(note:it will erase every thing from it) To do a hard reset type this code: *#7370# then it will ask the security code then ok then it will restart Also remove your important data from memory card ,format it on the pc then format it again in the phone now transfer your data to the phone and the card But,this time just install the apps you need not every app you see it on the net
    my blog on the net(in arabic):http://bazkurd.wordpress.com

Maybe you are looking for

  • Rmi compliation problem

    when i try to compile my server i get the following errors D:\JAVA_P~1\SIMPLE~1>javac -classpath . PhoneDirServer.java PhoneDirServer.java:6: package PhoneDirectory does not exist import PhoneDirectory.PhoneDirImpl; ^ .\PhoneDirImpl.java:34: class, i

  • MacBook Air connect to Smart TV

    Hi How do I connect MacAir Book to Smart TV-have HDMI option as USB appears unsupported? Thanks for help!

  • DVD created in iDVD '08 won't play

    Hey guys, I'm kind of a newbie with the whole iDVD thing (it's my first time using it). I created a movie on a DVD9 (dual layer DVD) because it was too big for a regular DVD, according to iDVD. Ok, so I insert the disk after creating the project with

  • How can i save text/multimedia messages to my sim?

    I'm currently using 6085 phone. How can i save text/multimedia messages to my sim? Now I'm not able to see my incoming messages in SIM messages instead I'm getting this in my phone memory. Let me know the settings to be done to get all the new messag

  • HT201365 I can not activate my phone because the activation server is UNAVAILABLE.

    The server keeps saying that it is temporary not available. Now I can not use my phone. Stuck in there even though I have Apple ID & password. Somebody has to fix it. It is frustrated.