Importing...stf or anybody else??

i tried a simple jsp page and called my bean.it works fine. Now i created a tomcat/webapps/root/mypack folder and put it thr..and using page import am importing but getting the foll errors:
Error: 500
Location: /BeanTest.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSPD:\Prasad\Tomcat\work\localhost_8080\_0002fBeanTest_0002ejspBeanTest_jsp_6.java:61: Class MyClass not found.
MyClass test = null;
^
D:\Prasad\Tomcat\work\localhost_8080\_0002fBeanTest_0002ejspBeanTest_jsp_6.java:64: Class MyClass not found.
test= (MyClass)
^
D:\Prasad\Tomcat\work\localhost_8080\_0002fBeanTest_0002ejspBeanTest_jsp_6.java:69: Class MyClass not found.
test = (MyClass) Beans.instantiate(this.getClass().getClassLoader(), "MyClass");
^
D:\Prasad\Tomcat\work\localhost_8080\_0002fBeanTest_0002ejspBeanTest_jsp_6.java:91: Class MyClass not found.
out.print(JspRuntimeLibrary.toString((((MyClass)pageContext.findAttribute("test")).getName())));
^
4 errors
     at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)
     at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java, Compiled Code)
     at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java, Compiled Code)
     at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java, Compiled Code)
     at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java, Compiled Code)
     at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java, Compiled Code)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java, Compiled Code)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
     at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java, Compiled Code)
     at org.apache.tomcat.core.Handler.service(Handler.java, Compiled Code)
     at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java, Compiled Code)
     at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java, Compiled Code)
     at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled Code)
     at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java, Compiled Code)
     at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, Compiled Code)
     at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled Code)
     at java.lang.Thread.run(Thread.java:479)
whta sthr problem

i did put the folder under existing web-inf/class. Now my jsp is under webapps/root dir and .class is in webapps/root/wef-inf/classes/mypack/<classfile>
am still getting teh error unable to load class MyClass
i have tried various combinations at the import statement like
resource_mgr\tomcat\webapps\root\web-inf\classes\mypack.MyClass
resource_mgr is the system name
still it doesnt help...
this is my jsp page
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Reusing JavaBeans in JSP</TITLE>
</HEAD>
<BODY>
<CENTER>
<TABLE BORDER=5>
<TR><TH>
Reusing JavaBeans in JSP</TABLE>
</CENTER>
<P>
<%@ page import="mypack.MyClass" %>
<jsp:useBean id="test" class="MyClass" />
<jsp:setProperty name="test"
property="name"
value="Sriramajayam" />
<H1>Name: <I>
<jsp:getProperty name="test" property="name" />
</I></H1>
</BODY>
</HTML>
and this is my .java file
package mypack;
public class MyClass
String name;
public String getName(){
return name;
public void setName(String name){
this.name=name;

Similar Messages

  • Is anybody else seeing image corruption in Aperture Library?

    Folks:
    I am new to this forum, but I have encountered a serious issue and I need to know if anybody else is seeing this. If not, then that would point at my platform as the issue rather than the app. What I am seeing is images being trunicated after import from the SD card. The preview is correct (whole image) but part of the image is gone and not recoverable. Additionally, I am seeing corruption of images when I use the Highlights and Shadows function -- it introduces lines into the image. On one case, I saw that using duplicate versions of a single image, attempting to adjust the second version also corrupted the first version. If I export the image, the issues are still there.
    Has anybody else seen this issue? I am on V1.5.6 with the ProTools update installed.
    Thanks in advance.
    Respectfully,
    Bill Caid, San Diego

    I have a similar problem. I have been shooting on a new EOS 40D, and after 3500 frames the images appear corrupt when I import them into my computer. I have put up examples on my iDisk public folder
    idisk.mac.com/ThorvardurGodi-Public
    I have tried a new memory card, CF, to no avail. The reason why I am not certain it is the camera, is that corrupt images on my computer, are fine in the camera LCD, even when I zoom into them. Therefore, I have a difficulty explaining if the fault is not in the system or somewhere on the way to the hard disk.
    Please if anyone knows this problem, or a solution to it, please respond.
    Best
    Thor

  • My iPhoto doesn't even open! i get same message saying it's unreadable! anybody else have this problem!?

    my iPhoto doesn't even open! i get same message saying it's unreadable! anybody else have this problem!?

    First try this:  launch iPhoto with the Option key held down and create a new, test library.  Import some photos and check to see if the same problem persists. If it doesn't then your current library is the culprit.
    If that's the case make a temporary, backup copy (if you don't already have a backup copy) of the library and apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Select the options identified in the screenshot. 
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • Option in MAIL to "Add to iPhoto" isn't working after updating to Mountain Lion. Anybody else with this problem or sulution?

    Option in MAIL to "Add to iPhoto" isn't working after updating to Mountain Lion. Anybody else with this problem or sulution?

    A brief search. Or even glancing at the "more like this" list to the right will show that this is a known problem and there is no current solution. Workaround includ saving to the desktop and importing from there or opening in Quick Look and adding to iPhoto from there
    LN

  • Ever since upgrading to iOS5, I've had problems with my photo albums. Anybody else having problems?

    I have a Verizon iPhone 4 and updated to iOS 5 on the release date. Ever since, I've had all kinds of problems with photos. In my albums, whether it be Camera Roll or Photo Stream (which I have since disabled), either the thumbnails are repeated when they shouldn't be, or they appear as a gray box. If I do happen to see a photo, it's blurry. In either case, if I choose "Edit" the correct picture appears and is clear. If I save or cancel, it either goes back to the wrong photo or the gray box. I do not sync my photos. I've searched all over the net and can't seem to find anything about this being a known issue. Has anybody else had this happen and if so, what did you do to fix it?

    Reset all settings !
    Settings > General > Reset > Reset all settings.
    That helped me with the same issue.
    Good luck !!

  • Anybody else having issues with the new 1.1??

    For some reason, I have encountered two issues already.. Whenever I'm exporting my galleries as web pages, nothing happens! It creates a null folder that I specify but then doesn't export any photos or html pages.. If I delete the folder and do it again, the exact same way, for some miracle it then begins to export.. There is no logical explanation and its clear that its a bug..
    Also, when exporting multiple images into CS2, that also fails for me.. It only opens up one picture and even though the others are selected, it doesn't seem to do the trick.. Its not my computer because i have a brand new quad w/ 4 gigs of memory.. I didn't encounter either of these issues with the older version..
    Anybody else??

    I tried both, and was successfull both times.
    External Edit:
    1. I selected 2 images (D200 RAW images).
    2. Right clicked to get the contextual menu and selected Open with External Editor (I have my prefs set up for Photoshop).
    3. Both images opened in Photoshop.
    I can't image it being system specific. What camera and file type are you using?

  • Is anybody else struggling with an intermittent connection when using the Magic Mouse/Trackpad ONLY on Boot Camp?

    Hi,
    I've seen thousands of posts about Bluetooth connection issues and interference and stutter/lag for both the Magic Mouse and Trackpad (affecting both Mac OS X and Windows under Boot Camp) but my problem is different.
    To summarise my setup, I use:
    - Retina MacBook Pro (lid closed or open, doesn't make a difference to this problem)
    - Thunderbolt Display
    - Wireless Keyboard
    - Magic Trackpad (have also tried a Magic Mouse and experience similar issues to the Trackpad)
    And in Mac OS X, everything works perfectly. The keyboard and trackpad work smoothly when I'm 6-7 metres from the machine, whether or not the laptop lid is open or closed, and whether or not the Thunderbold Display is connected.
    But on to my problem: the bluetooth connection is incredibly unreliable/intermittent when in Windows (I run Windows 7 64-bit and Boot Camp 4.0, and got both devices connected without any trouble via Bluetooth).
    But during usage, the cursor stutters/lags frequently, and tap to click (when enabled) seems to get triggered by mistake all the time (even when I'm not touching the Trackpad or even at the computer, clicks get registered).
    The Wireless Keyboard is perfect, and works well 5 metres from the machine. The Mouse and Trackpad, though, don't even work reliably when they are 6 inches from the machine. The built-in trackpad on the laptop works perfectly too, in Windows and Mac.
    I spent a week assuming I was suffering from Bluetooth interference, so I tried:
    - using the laptop with the lid open
    - removing the Thunderbolt display completely and trying the Magic Trackpad
    - repositioning items on my desk
    - disabling wifi
    All of these adjustments made minor differences to how good/bad the Trackpad was, but none came close to fixing the problem or making it work as smoothly as under Mac OS X. It was only after doing all of this that I realised perhaps it was just a Apple driver for Windows issue, so I booted into Mac OS X and tested everything out, and sure enough, it's all perfect. But back into Windows, the Trackpad doesn't work reliably at all.
    Obviously, the hardware is not at fault, and I assume the signal strength doesn't vary between operating system (why would it?) so I'm left believing this must be a driver issue. The TrackPad and Magic Mouse drivers have been out for a couple of years, so I'm surprised they can still be this bad. I tried both the latest driver from Boot Camp 4.0 (3.2.0.0) for the Trackpad, and also the older one from Boot Camp 3.2 (3.1.0.7) and both are equally bad for me.
    So my question is: has anybody else struggled with using the Trackpad (or Magic Mouse) with Boot Camp 4.0 and Windows 7 64-bit, whilst finding it to be perfect under Mac OS? I haven't found many posts complaining about the Windows driver, which is why I assumed it was an interference issue. But I'm almost sure it isn't, having spent 2 weeks investigating.
    Any thoughts/suggestions/answers much appreciated!
    Kyle

    SOLVED!
    After much testing, I have found the cause of lagging/jumpiness on the Bluetooth Magic Mouse and Magic TrackPad in Boot Camp. Hopefully this will help others:
    The drivers for the Broadcom 802.11n Wireless Adapter have a setting called "Bluetooth Collaboration" that is Disabled by default. Enabling this option removes the problem instantly. My Magic Trackpad now works flawlessly, even if I stand 6 metres from the machine. It now works just as well as under Mac OS. The setting can be found under:
    Control Panel > Device Manager > Network Adapters > Broadcom 802.11n Network Adapter (right click and choose "Properties". Under the "Advanced" tab, highlight the setting named "Bluetooth Collaboration", then change it to Enable. Then click OK.
    I narrowed the problem down to the wireless card by disabling ALL startup services and processes for Windows, then re-enabling one by one. As soon as I enabled the Windows Wireless Service, the problem came back. Similarly, disabling the Wireless Card inside the Network and Sharing Center (or Device Manager) removes the problem. This led me to believe it must be a driver issue with the wireless card, since the problem didn't occur with the Magic TrackPad under Mac OS, or on my mother's Windows 7 64-bit computer. So when I went into the Driver Properties to check for an update, I found this setting about Bluetooth Collaboration.
    I really hope this helps others trying to use Bluetooth devices under Boot Camp. All Apple notebooks use the Broadcom card (and have done for years), so this driver is installed for almost anybody using Boot Camp on an Apple notebook. I'd assume this problem would affect anybody using Boot Camp + wifi + a Bluetooth device.
    Cheers

  • After upgrading to Mountain Lion my 2009 (early 2010) iMac mutes audio when awaking or when it goes to sleep. Anybody else having the problem?

    After upgrading to Mountain Lion my 2009 (early 2010) iMac mutes audio when awaking or when it goes to sleep. Anybody else having the problem? My other iMacs are not having that problem. I'm not sure if I am missing an option somewhere or what is going on.

    http://www.reedcorner.net/understanding-upgrade-nightmares/ (Thomas)
    See if you have supported applications > http://www.roaringapps.com

  • On iOS 7 when I try to set a new wallpaper why can't I scale and move my photo? Anybody else having this problem?, On iOS 7 when I try to set a new wallpaper why can't I scale and move my photo? Anybody else having this problem?

    On iOS 7 when I try to set a new wallpaper why can't I scale and move my photo? Why does it chop off the heads? Anybody else having this problem?

    Hi CollBA,
    See More Like This to the right. This issue has been discussed several times on this forum.
    Cheers,
    GB

  • Has anybody else been seeing (Not Responding) at the top of the screen and having thier browser not respond to wheel scrolling and scrolling with the usual slider at the right part of the screen?

    I have noticed my Firefox browser is having way too many incidences where it is "Not Responding". The browser freezes up for a second quite often and the "Not Responding" message will appear at the top of the screen.
    The browser will also not scroll with either the scroll bar on the right nor with the mouse wheel. Both used to work in previous versions of Firefox, but it seems to have gotten worse since Firefox 5 0r 6. The same with the "Not Responding". It is happening more with Firefox 7 than in at least the past two versions.
    Anybody else having these issues? Seems like they are hand-in-hand. Thanks for any and all help or advice. It's making me pretty angry since I'm online all day for work.
    Just an FYI. At the bottom of my troubleshooting copy/paste is a suggestion to update the driver for my graphics. That was a no-go. I tried that.

    Thank you for this first reply! I'll have to give this a try later....the main laptop I experience this on crashed not more than an hour after I posted this issue. I'm on a tiny, slow netbook that hasn't had the same problem. Now I'm wondering if I picked up a Trojan on the main laptop and the "Not Responding" message is a side effect of a virus or Trojan.
    One of the system .dll files has been corrupted and I'm not being allowed to use recovery discs, previous disc images, or any recovery options. That was an all day sucker yesterday and from what I've read on forums and have researched, it appears I'm going to need to reload the operating system. If it is indeed a Trojan/virus, I'm surprised it made it through my antivirus and firewall. Anything is possible, really.
    Thanks again, I'll get back with results once I get the wounded laptop back up and running.

  • Anybody else having problems with airplay with ios 5.1 on iphone 4s

    So i bought an iphone 4s a few months back and it came with ios 5, i then tryed it with my airplay speakers and they kept cutting out so i googles about it and found there was a known problem with iphone 4s and airplay speakers.
    ios 5.0.1 then came out a few weeks later and the problem seemed to be fixed and i was happy as they worked fine after that
    ios 5.1 then came out so i updated my 4s to this and started playing music through airplay and they started to cut out again, i turned them off and on and it happened again, then i reset them to my wifi router and the problem still occured
    Is anybody else having this problem with airplay on there iphone 4s running ios 5.1?
    If so, apple really need to sort this out! I bought my iphone with high expectations and to pay all that money for it not to work is not good

    Try resetting your device by holding down both the home and lock buttons for ~10 seconds or until the device restarts, ignoring the power slider.

  • Hello everybody, is anybody else having problems exporting music to their iphone 4's from their itunes 10.6.1. (7)?

    hello everybody, is anybody else having problems exporting music to their iphone 4's from their itunes 10.6.1. (7)? i sure am. somehting is way differant. i used to be able to simply drag, and drop albums, artists, and entire genres to my phone without a worry. now i drag an album to my phone, and it will only add a couple of the songs. so i drag and drop again, and maybe even a third time to get all whole album on there. oh, and the album artwork is a no-show. i dont know what i'm missing. it's sure not what i'm used to. anyways, i'm new to this support community deal. thank you in advance for any help.
    much respect,
    tommy bravo

    After further testing, I noticed that iTunes not only becomes totally unresponsive but will start using all the CPU until I kill the process. After restarting, it works again for a while and then it dies again...
    Luis

  • HT1784 In iTunes my Apple tv (1st Generation) only shows Summary and photos so I can no longer load a movie and sync to the Apple tv. Anybody else experienced options now missing ?

    I used my Apple tv (1st generation) to load films on iTunes and then sync to my Aplle tv. In iTunes I now can only see Summary and Photos and therefore lost the ability to load a film and then sync to the Apple tv. Anybody else experienced this with ? Cannot find any options to resolve this.

    Welcome to the Apple Community.
    Your library has become a secondary (streaming only) library only (it is possible to turn syncing off by ctrl-clicking on the Apple TV listing in the device list and choosing 'Turn Off Syncing" from the contextual menu) and you need to reconnect your library as a primary library.
    Navigate to Settings > Computers > Your Library on the Apple TV, you may be told you will lose all synced content, but you can sync it back afterwards, you won't lose any purchased content that has yet to be transferred. Then select Settings > Computers > Connect To iTunes, note the passcode that appears on screen, click on the device in iTunes and enter the passcode when prompted.

  • Yosemite upgrade: function keys no longer work, no keyboard lights and have to sign in twice after sleep mode.  Anybody else having these problems?

    Hi,
    Since I did the Yosemite 'upgrade' last week I have been having problems with my MacBook Pro that never happened before.  The most frustrating problems involve my keyboard which doesn't light up (checked my settings and they are correct) and the top row of function keys don't do anything so I can't adjust the volume, brightness, etc.  Then if my screen goes into sleep mode, when I wake it back up I have to sign back in twice - I never had to sign in at all after sleep mode before.
    I'm finding that in order to get it working properly I am having to completely shut down and start up again but when the keyboard problems are happening I can't get anything on the apple dropdown to work either (i.e. shut down, restart, etc) so I can only shut down by pressing and holding the on/off button.
    I've never had problems with my Macbook before and feel like Apple have completely ruined it in one update!  I've had a look through other posts on here but can't find anybody else having these problems so I would be really grateful if anyone could help me and offer me some advice on how to sort it out.
    Thanks!

      Reset PRAM.   http://support.apple.com/kb/PH18761
    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".
    Best.

  • I installed the new version of iTunes today. It's 12.1.1. After completing the installation, including restarting my computer, I was no longer able to use Windows Internet Explorer. Has anybody else experienced this? If so, how did you fix Explorer?

    I installed the new version of iTunes today. It's 12.1.1. After completing the installation, including restarting my computer, I was no longer able to use Windows Internet Explorer. Has anybody else experienced this? If so, how did you fix Explorer? I was using Explorer 11 and Windows 7, installed on an HP Pavilion g series

    Never heard of that being caused by installing iTunes. Try asking on a Windows forum. This isn't a problem with iTunes or any other Apple product. If you believe it is, uninstall iTunes. If the problem persists, you'll have to seek advice on a Windows forum or contact Microsoft for support.

Maybe you are looking for