JSE8 not recognising url's

Please forgive my ignorance, I'm a noo-bee.
I'm using Sun Java Studio Enterprise 8 using JDK 1.5 and TomCat 5.5.7. I'm writting an web application and I'm having problems having the servlet or jsp's recognise a url, be it a gif or another jsp (as in a forward). This same jsp/servlet or html file in another application will see the url.
I know this must be an entry into a config file/ property file etc... but for the life of me I can't figure this out.
Any help would be appreciated.
Thanks

Thanks for your response,
The file layout is about the same as is diagramed in the provided url. My file layout looks like this.
Root file ==> src folder==> Java folder==>WxComp folder (contains servlet and .java files)
Root file ==>Web folder (contains my html, jsp and .jpg files)
2 issues with url's
The first has to do with pulling in a .jpg file. I origionally had my .jpg files in a folder named image at the web folder level, but I moved it to be in the web folder and I was able to get it to display ok. However another .jpg file in the exact same folder won't display. If I use an html editor they will both display fine.
The html code looks like this
<tr>
<td><img src="\WxComp.jpg"
alt="Weather logo" width="25%" height="100" hspace="0" vspace="0">
<td><img src="\weather_header.jpg"
alt="Weather Verify" width="75%" height="100" hspace="0" vspace="0">
The file "\weather_header.jpg" is rendered by the jsp but the file "\WxComp.jpg" which is in the same root isn't.
The second issue is in doing a forward to my jsp from the servlet. I've done this in WSAD but I'm not sure what I'm doing wrong here.
The servlet resides with the rest of the .java files and has been added to the web.xml file. The code for this is....
String url="/web/Wx-Compare.jsp";
ServletContext sc = getServletContext();
RequestDispatcher rd = sc.getRequestDispatcher(url);
rd.forward(request, response);
This should be correct (at least I hope, I still find myself making nubee mistakes). The first "/" designates the root file so I'm confused.
Again thanks for your response.

Similar Messages

  • Updated iphone 4 to new system and now apple logo and empty bar showing on screen and not eorking at all.  Url not recognised in itunes on computer

    I just updated my iphone 4 to the new system (iSO 5- i think) anyway only new one, and the phone now has only the apple logo and an empty bar on the front.  Even when connected to my computer. Went into itunes and apparently the URL is not recognised nor is the phone recognised on my computer. Can someone help me. PLEASE.

    if your computer is not recognizing it, try using a different USB port or different usb cable. if that doesnt work you will need to uninstall and reinstall itunes.

  • HT2490 have updated my imac to mountain lion and it keeps coming up with URL not recognised can anyone help please,

    I have updated my imac to mountain lion it keeps coming up with URL for this type of program not recognised.Can anyone assist.Please

    More details, please.
    WHEN does it come up with that message?
    When you boot/login?
    When you try to open an application? which application(s)?
    When you try to open a document? what kind of document(s)?
    Does it happen repeatedly? once? intermittently?

  • Why is my Apple ID not recognised with producer?

    I have downloaded iTunes producer to upload a book to the iBooks store that I am writing.
    However when I open iTunes producer, it says when I try to log in that my registered user ID is not recognised?
    Hope someone can help.
    I am using
    iMac running OSX 10.8.5
    8gb Ram 1067 Mhz DDR3
    ATI Radeon HD 4850 512
    3.06 Ghz intel core 2 duo

    A "normal" iTunes Store Apple ID/Account does NOT allow you to  upload to the store.
    iTunes Producer looks for you registered  book sellers ID
    Have you actually opened a book sellers account with  Apple?
    Have you opened an iTunes Connect Account?
    If the answers are no... https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/wa/bookSignup
    Open the link and click on Get Started > select the  free or paid book account and proceed through the sign up process.
    Its advisable to use a different username/PW and email for a book sellers account and if you  intend to  have free and paid books, you will need separate accounts?IDs
    You will be asked for your  website URL ( address) if you dont have a website... Facebook is a ready answer.   Apple sees this as a "Support" contact path.
    If you want to sell books, you will also need an EIN  number from the US tax
    If you have  done all this and still have problems,  you first need to check and confirm all  your details are correct.

  • Enable the Requirements fields in Step property to recognise url links

    Hi,
    I think it'd be good if the Requirements property (in step properties) would be able to recognise url like http:// https:// svn:// notes:// etc.
    Then we could directly link the step to the requirement system which could save a lot of hassle with changes tracking.
    For now it is a plain text only.

    Are you talking about the Requirements Gateway?  It is a separate product from NI that will do what you are looking for.  I haven't used it so I am not sure of the API chain to make it work.  Take a look and see if that is what you were thinking of.
    Hope that this helps,
    Bob Young
    Sorry, I just re-read your original post and see that you are looking to also use the Requirements Gateway, so you obviously know about it.  I don't know what the API changes were that made it work so I am not going to be much help.
    Sorry about posting before getting the correct information from the original.
    Bob Young
    Message Edited by Bob Y. on 08-24-2006 04:54 PM
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • When connected to computer windows 7 by USB the device is not recognised

    While trying to download from itunes to iphone I connected iphone by USB to laptop VAIVO with windows 7 the itunes does not recognise the device.

    If you have the retina display iPad then it's an iPad 3 (or 3rd gen iPad, not an iPad 2 3rd gen) - the iPad 2 was the previous model.
    As far as I know sharing the wifi connection with another device or computer isn't possible. If your computer doesn't have built-in wifi then you should be able to get a USB wireless adapter for it that will plug into one of its USB ports, which should allow it to connect to your wifi network - I use one on an old desktop computer.
    e.g. from Amazon : http://www.amazon.com/s/ref=nb_sb_noss_1?url=search-alias%3Daps&field-keywords=u sb+wifi+adapter&rh=i%3Aaps%2Ck%3Ausb+wifi+adapter

  • Windows Vista - iTunes not recognising iPod!

    iTunes is not recognising my iPod and the iPod Setup Assistant isn't showing automatically. Can anyone help. I have a new laptop with Window Vista is this operating system the problem? Can help would be appreciated. I can import music into iTunes OK and purchase music from iTunes itself I just can't get iTunes to recognise my iPod!

    > Step 3:Download and install the latest chipset drivers from the laptop manufacturers website.
    >*So here I am with the issue still not resolved. How do i Download and install the latest chipset drivers >in order to have Toshiba Satellite L300 & Microsoft Vista recognise my ipod?
    Install an hardware diagnostic tool like Everest home Edit or similar.
    This tool would provide all hardware details about your notebook.
    It would list all devices and chipset name too.
    I think its Intel chipset so you could find the driver on the Intel page
    Greets

  • Ipod not recognised by Windows, USB device not recognised

    Hi hope someone can help
    I have recently received my ipod back from Applecare who have sent the ipod back in ' working order ' but it will no longer be recognised by my windows. It says USB device not recognised and i cant find, nor will it install drivers that i located on the ipod updater etc.
    I have tried several methods on this forum but none seem to work.
    The letter from mycare says the iPod is formatted for a computer operating Mac OS X. Although i stated wi use Windows. But the leter states this can be changed bu installing the updater, but this wont make a diff as comp still wont regonise the device after i have followed there instructions. Any advice?
    Thanks

    I'm not really up on the complexities of the Windows OS but try this tip I picked up a while back, hopefully it might help.
    "USB Device not Recognized in Windows".
    1. On the Start menu, click Control Panel.
    2. Double-click the System icon.
    3. Click the Hardware tab.
    4. Click Device Manager.
    5. Scroll down the list of devices to the Universal Serial Bus controllers
    6. Click the plus icon next to the Universal Serial Bus controllers.
    7. Double-click one of the indented USB Root Hub entries.
    8. Click the Power Management tab.
    9. Deselect the "Allow the computer to turn off this device to save power" option.
    10. Click the OK button at the bottom of the window.
    11. Restart the computer.

  • Ipod not recognised on either of 2 computers

    My ipod is not recognised by windows or itunes.
    Tried it on my friend's computer, and again not recognised by windows or itunes.
    ipod plays ok, so I assume there's a problem with the USB port on the ipod itself.
    Not found any useful help on the support site.
    I don't imagine this can be repaired - any ideas?

    cec2010 wrote:
    Success! I reset my ipod (menu + center) and restarted my laptop, and now my ipod connects again.
    Have you tried that?
    THANK YOU! I have spent 4 hours doing everything the website said, including unistalling all of Itunes versions, going into Hardware Update, going into My Computer and "managing" it, emptying my TEMP folder, and finally I had the massive brainstorm to go into the discussion board, and reseting the iPod did it! You are a savior!
    BTW, to the poster who asked if the new version did it. Absolutely. I downloaded it last night and everything gave up the ghost immediately after.

  • IPod Nano: Error Message "The USB device has malfunctioned and Windows does not recognise it"

    Hi everyone, I just received 2 brand new iPod Nanos for my kids for Christmas, thought I'd be smart and sync them both now before wrapping them so I don't have to be messing around with them on the day. One synced without a problem, then using the same cable, same computer, same USB port, the 2nd one came up with "The USB device has malfunctioned and Windows does not recognise it" I've tried restarting my computer, unplugging and reinserting the USB. Is there anthing else I can try before returning it? Thanking you for any help.

    I have solved my problem, I ended up ringing Apple and got an awesome lady who told me to reset it by pressing the sleep button and menu button together for about 10 seconds and once it actually turned on for the first time the computer then recognised it, so it's all good, :-) Thank you lovely lady!

  • I recently connected my new ipad to my itunes, but now itunes will not recognise my ipod classic, and 50gig of music has gone. ipad connects ok but no longer ipod which has been there for two years! help!!!

    I recently connected my new ipad to my itunes, but now itunes will not recognise my ipod classic, and 50gig of music has gone. ipad connects ok but no longer ipod which has been there for two years! help!!!

    What happens when the iPod is plugged in?  anything?  any errors?
    Why is 50GB of music gone?  All music should exist on the computer.  Only a fool would rely on a single device which could easily be lost or stolen to store their content on.

  • I have a 16GB iPhone 3GS. Tried synching my phone through iTunes (11.0.1 I think... on a 2009 Macbook Pro). Now when I connect to iTunes, it says it does not recognise the content on my phone. Is this because my phone (and laptop) are too old?

    I have a 16GB iPhone 3GS. Tried synching my phone through iTunes (11.0.1 I think... on a 2009 Macbook Pro). Now when I connect to iTunes, it says it does not recognise the content on my phone. Is this because my phone (and laptop) are too old?
    Also, when I tried to Restore the settings, an Error Message pops up that says " The iPhone software update server could not be contacted. The requested resource was not found.
    I'm trying to free up space on my phone by removing [literally] thousands of old photos which were originally synched to the phone, because I had forgotten to uncheck the photos button when I synched it ages ago.
    I have also tried synching it on my 24" iMac (running OSX Snow Leopard). But again, when I try restoring the phone through itunes, it says the file is corrupted. It sggests unplugging the device, and then plugging it in again. I have done this numerous times with no success.
    I'm guessing it must be because my phone (and versions of iTunes, and OSX) are all too old.
    Please can anybody help.
    Cheers,
    Dan_nz.

    There are multiple reasons that lead to issue. You should read the troubleshooting guide to get the right solution to solve the issue: iPhone, iPad, or iPod touch not recognized in iTunes for Windows - Apple Support

  • When try send email from within iPhoto says password not recognised

    Hi,
    Trying to send email from withinn iPhoto always get message saying password not recognised even though set correct password email address within preferences in iPhoto. Believe this started when I upgraded to Lion.
    Lates Lion and iphoto updates downloaded
    Thanks
    Rick

    LarryHN I not understand your advice
    iPhoto preferences>
    Accounts>
    there I have Facebook and MobileMe as Accounts
    I tried adding new account and the only options (Apple related) offered are MobileMe and Email going
    EMail>
    again offers iCloud and mobileme
    using iCloud doesn't work i.e. the account sets up but still cannot send email through iPhoto
    I am registered with iCloud and it works fine in other applications
    I am reluctant to delete MobileMe from iPhoto since if I do so I will not be able to add it again I still have photos etc in my MobileMe iDisk which I will need to move somewhere else soon with demise of MobileMe
    Thakns for your advice

  • I changed from i iphone 5 back to a iphone 4.. now my itunes does not recognise that i have a iphone 4! how do i convert my last back up (on iphone 5) to my new iphone 4?

    i changed from i iphone 5 back to a iphone 4.. now my itunes does not recognise that i have a iphone 4! how do i convert my last back up (on iphone 5) to my new iphone 4?

    In your case you can only restore from a backup that has been created with the same iOS version. An iPhone 4 can only run 7.1.2, and, unless your iPhone 5 did not run the same version, you can't use a newer iOS backup of the 5 on the iPhone 4

  • Upgraded now iphone not recognised by itunes

    Iphone now not recognised by itunes upgrade failure, phone backup done? phone wiped clean, now not recognised by itunes. Iphone4 only shows symbol - connect to itunes. if rung goes straight to answer phone... can’t reinstall phone setting
    Please Help!!!!
    Microsoft Windows XP Home Edition Service Pack 3 (Build 2600)
    Shuttle Inc SK22V10
    iTunes 10.5.0.142
    QuickTime not available
    FairPlay 1.13.35
    Apple Application Support 2.1.5
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 4.0.0.96
    Apple Mobile Device Driver 1.57.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.3.494
    Gracenote MusicID 1.9.3.106
    Gracenote Submit 1.9.3.136
    Gracenote DSP 1.9.3.44
    iTunes Serial Number 0012AA2407E53CC0
    Current user is an administrator.
    The current local date and time is 2011-10-25 10:59:39.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    NVIDIA GeForce 7900 GT/GTO
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:          {03B67EC8-2820-41F2-AEF0-217534063E15}
    Description:          VIA Compatable Fast Ethernet Adapter - Packet Scheduler Miniport
    IP Address:          192.168.1.8
    Subnet Mask:          255.255.255.0
    Default Gateway:          192.168.1.1
    DHCP Enabled:          Yes
    DHCP Server:          192.168.1.1
    Lease Obtained:          Tue Oct 25 10:33:36 2011
    Lease Expires:          Wed Oct 26 10:33:36 2011
    DNS Servers:          192.168.1.1
    Active Connection:          LAN Connection
    Connected:          Yes
    Online:                    Yes
    Using Modem:          No
    Using LAN:          Yes
    Using Proxy:          No
    SSL 3.0 Support:          Enabled
    TLS 1.0 Support:          Enabled
    Firewall Information
    Windows Firewall is on.
    iTunes is enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was successful.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was successful.
    Connection attempt to firmware update server was successful.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2011-10-25 10:42:07.
    **** CD/DVD Drive Tests ****
    LowerFilters: Pfc (2.5.0.204), PxHelp20 (2.0.0.0),
    UpperFilters: GEARAspiWDM (2.2.0.1),
    E: PIONEER DVD-RW  DVR-111D, Rev 1.23
    Audio CD in drive.
    Found 8 songs on CD, playing time 74:00 on Audio CD.
    Track 1, start time 00:02:00
    Track 2, start time 04:07:56
    Track 3, start time 18:33:06
    Track 4, start time 23:01:36
    Track 5, start time 37:41:28
    Track 6, start time 45:20:46
    Track 7, start time 50:53:11
    Track 8, start time 61:04:51
    Audio CD reading succeeded.
    Get drive speed succeeded.
    The drive CDR speeds are:   4 10 16 20 24 32 40 48.
    The drive CDRW speeds are:   4.
    The drive DVDR speeds are:   4.
    The drive DVDRW speeds are:   4.
    **** Device Connectivity Tests ****
    iPodService 10.5.0.142 is currently running.
    iTunesHelper 10.5.0.142 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    VIA Rev 5 or later USB Universal Host Controller.  Device is working properly.
    VIA USB Enhanced Host Controller.  Device is working properly.
    FireWire (IEEE 1394) Host Controllers:
    VIA OHCI Compliant IEEE 1394 Host Controller.  Device is working properly.
    Most Recent Devices Not Currently Connected:
    iPod classic running firmware version 1.1.2
    Serial Number:          8K741QXJYMV
    iPhone 4 (GSM) running firmware version 4.2.1
    Serial Number:          83052PL1A4S
    **** Device Sync Tests ****
    No iPod, iPhone, or iPad found.

    Read here to troubleshoot your issue - http://support.apple.com/kb/TS1591

Maybe you are looking for