A problem happened in javabean

the following errors had appeared times. and i try many method to handle it ,but failed . i hope the genius can help me :
org.apache.jasper.JasperException: /ch13/blobtest.jsp(3,0) The value for the useBean class attribute com.jspdev.ch13.BlobBean is invalid.
     org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
     org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:376)
     org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:150)
     org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1217)
     org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
     org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
     org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
     org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
     org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
     org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
     org.apache.jasper.compiler.Generator.generate(Generator.java:3261)
     org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:461)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
     org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

I am a Java beginer. Your topic helped me with a little big problem I had running my first web application. I was trying to run a XPpetstore baseline, which is a web application developed by Rick Hightower for his book "Java Tools for eXtreme Programming, Mastering Open Source Tools, including Ant, JUnit and Cactus" published at John Wiley &Sons, Inc. 2002.
The problem which is still not 100% clear to me is that original jsp category_sys.jsp <%@page import='xptoolkit.petstore.model.*' %>
<jsp:useBean id='categorySystem' class='CategorySystem' scope='session'/>was throwing an jasper Exception
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /category_sys.jsp(2,0) The value for the useBean class attribute CategorySystem is invalid.
     org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
     org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:376)
...(very long and confusing tail for me )
after I've read this disscusion and changed the original category_sys.jsp into <%@page import='xptoolkit.petstore.model.*' %>
<jsp:useBean id='categorySystem' class='xptoolkit.petstore.model.CategorySystem' scope='session'/>everything wroks fine. Only thing I do not understand completly is that even if I have imported the package using <%@page import directive tomcat cannot find the CategorySystem class. Can somebody give me some explanation?
Anyway thanks for your help so far!
Karel

Similar Messages

  • I used to use SpeedBit Video Downloader with Mozilla Firefox, but suddenly a problem happened, I can not download with it now at all as there is an code error appears in the bar of SpeedBit like "XML Parsing Error: unclosed token Location: chrome://browse

    I used to use SpeedBit Video Downloader with Mozilla Firefox, but suddenly a problem happened, I can not download with it now at all as there is an code error appears in the bar of SpeedBit like "XML Parsing Error: unclosed token Location: chrome://browser/content/browser.xul Line Number 1, column 8702:....................."
    I did evrey thing, but the same problem
    reinstall SpeedBit, reinstall Mozilla Firefox.
    So what can I do!
    == This happened ==
    Every time Firefox opened
    == 4 days ago

    look people, i may have a solution for this. This happened to me a few times before and resolved alone, but last time it happened was when i turned off my router and back on while my comp was running and appeared when i tried opening firefox after that. so wat i did was i shutdown the computer and the router and tried turning both on again, and it resolved.
    Therefore, Summary: Shutdown computer then turnoff router then turn both back on
    Hope this helps anyone.

  • Someone else's Notes appearing on my iPhone. I'm using version 5.0.1. I assume there is some type of over-the-air sync problem happening?

    Someone else's Notes appearing on my iPhone. I'm using version 5.0.1. I assume there is some type of over-the-air sync problem happening?

    Doing a restore will more than likely resolve the problem. Plug the phone into iTunes, select your phone under DEVICES, and press Restore. This will restore your phone to factory settings. Now, after the restore is complete, you have two options:
    1) Restore from Backup
    This will let you restore all of the content you had on your phone but may also restore the other person's notes and their ability to sync notes to your phone.
    2) Set Up as New iPhone
    Your data will not be restored, but you can always sync content back later as long as it is in iTunes. On the positive side, this would positively remove any setting that would allow someone else's notes to appear on your phone.
    You will be presented with these two options after the restore. I recommend restoring from a backup first so you won't lose your data, but if it doesn't solve the problem, proceed to restore as a new phone.

  • Actually I have problem in adding music to be played across all folios, the problem happened when I just lock the ipad and open it, the publication is still opened and i can navigate it but the music is stopped, and cann't be continued. how can I fix it t

    Actually I have problem in adding music to be played across all folios, the problem happened when I just lock the ipad and open it, the publication is still opened and i can navigate it but the music is stopped, and cann't be continued. how can I fix it to be continued after opening the ipad and continue navigating the digital publication.

    yes,thank you for ur answer,  but the owner of the publication which I working on said for  me that this is a problem, and we can't submit the digital publication if I can't fix it.
    Is their any solution to make the audio run after the device is unlocked.

  • Hi I have iPhone 4 with iOS 6 and a week ago I stop ressiv or send SMS. I tried everything but I still can't send.. I erase the version and all the data on the iPhone and now I can send SMS. But when I'm downloading my buck up the problem happened againI'

    Hi I have iPhone 4 with iOS 6 and a week ago I stop ressiv or send SMS. I tried everything but I still can't send.. I erase the version and all the data on the iPhone and now I can send SMS. But when I'm downloading my buck up the problem happened again
    Please help me cuse I don't know what to do and my cellular company don't have an answer
    Thank u

    I have to ad that its not an easy problem I did all the action in the book.
    It's something with my back up

  • HT4623 Apple IPhone is not accepting my security code on my credit card unable to make purchases on my IPhone anymore. Please advise already called my bank so it is a apple problem happening.

    Apple IPhone is not accepting my security code on my credit card unable to make purchases on my IPhone anymore. Please advise already called my bank so it is a apple problem happening. I was trying to purchase poker chips from world series of poker app.

    My download speed during this test was 6.63 MB so fast enough for the App Store.
    This youtube movie shows what happens: http://m.youtube.com/#/watch?v=jPa_W0PrL5c
    The App Store is generally very slow.
    Sean

  • We have 3 iphones in my family. With the new upgrade 5.1 all the batteries last for just half day in normal use. The same problems happens to a lot fo friends after the upgrade! Is it possible to remove the problem?? Thanks. Mauro, Italy.

    We have 3 iphones in my family. With the new upgrade 5.1 all the batteries last for just half day in normal use. The same problem happens t a lot of friends of mine after the upgrade. Is it possible to remove the problem??? Thanx!

    We have 3 iphones in my family. With the new upgrade 5.1 all the batteries last for just half day in normal use. The same problem happens t a lot of friends of mine after the upgrade. Is it possible to remove the problem??? Thanx!

  • Account not in account list.  - Major problems happened to my account

    Intro
    I installed a program that really messed up my main account. I have "fixed" most of it. I will ask my specific question first since most people will not want to read a ton. I will also write what happened since that knowledge may be needed. I have multiple issues which I will post as separate threads in their relevant forum, all with this this header.
    Problem:
    When starting my machine, my main account no longer shows in the list of accounts to log into. "Other" appears and I can use that, enter my username and pword and log in that way. How can I get my account added back to the list?
    Background:
    I installed a FTP server called MySecureShell. It had a setting for the initial ftp dir which was set to /home/$user. I set it to /home/jedherzog (jedherzog is the account shortname that I use). After restarting my machine everything in my account was broken. The dock and desktop were the OSX defaults. None of my apps would run, they returned a permission error. In finder "jedherzog" was in the sidebar like I was logged into that account but if I tried to access it or the desktop I got permission errors. I ran terminal but instead of seeing the prompt jedherzog: I saw -MySecureShell(265) malloc: and a long error message and I could not use it. I ran disk utility and repair permission but it did not help. I created a new account called temp and everything worked fine in it. So I was convinced OSX was fine, it was just the account jedherzog that was messed up. So using terminal I sudo(ed) to root and looked at the /Users/jedherzog dir. The owner was set to 501 not jedherzog. So I changed it back (recursively) to jedherzog. Now, back in the jedherzog account, things look much better. My dock and desktop are restored. My apps run but all act like they are running for their first time. From what I can tell I have access to all of my files (although I got "operation not permitted" messages on a lot files when I changed the owner back to jedherzog). But my terminal still does not work (will post in a different thread). My account is not in the account list at start up). That is all that I have found wrong so far.
    Thank you for your help

    The Apple id that you created do you remember if you created with your region sellected as Canada or US. If so you can change Region directly on your device by clicking on App Store icon, Scroll to bottom and tap your app is, click view acct and change region

  • My 2nd mini iPad in a year and same problem happened,it stopped working. what's wrong with mini iPads?!

    I got a replacement to my daughter’s iPad mini in September b/c her 1st one stopped working and now it happened again. I took it to the Apple store and  i was told that there's  nothing they can do. What's wrong with the iPad minis?

    I have an iPad mini and it works great, so do many other people.
    Is it possible your daughter abused the device?   If it gets dropped, even in a damage proof case, it is a shock to the iPad.   Most survive, but if it happens often, it might be a problem.
    Charging often, not completely, leaving in charger while in use a lot?
    Leaving the iPad in a hot car, or freezing the iPad?

  • WMV Rendering problems happened out of nowhere

    I've had no problems with AE before. I'm using a photo slideshow template with some nice transitions and effects. Worked just fine when I exported it to WMV for months. In fact I've rendered the same eact file several times. However I wanted to make one final picture change and now all of a sudden when I render it to WMV, the footage is slow, choppy and very distorted. I tried rendering it to Quicktime and it seemed to work. So did H.264 but it was low quality.
    I even opened up other AE projects and they all now render choppy, distorted video when output to WMV (it never did that before!). Not sure what happened because I didn't change anything in the settings at all. I've even tried uninstalling and re-installing, and it still renders out the same slow, choppy, distored video for WMV. I'm at a complete loss!
    Please help

    Either a Windows Update changed some Media Player components or you updated/ changed the graphics driver. Verify the files on another system. If they play fine there, then investigate these things on your own system.
    Mylenium

  • Problem when using Javabeans in ADF?

    Hi,
    I encountered a problem when using ADF.
    Please look at the following 2 classes :
    public class Person
    private String name;
    private String city;
    private int age;
    public Person(String name, int age, String city)
    this.name = name;
    this.age = age;
    this.city = city;
    public Person()
    public void setName(String name)
    this.name = name;
    public String getName()
    return name;
    public void setAge(int age)
    this.age = age;
    public int getAge()
    return age;
    public void setCity(String city)
    this.city = city;
    public String getCity()
    return city;
    public class PersonFactory
    public PersonFactory()
    public List getPersons()
    List list = new ArrayList();
    list.add(new Person("peit", 18, "dalian"));
    list.add(new Person("robin", 22, "shenyang"));
    list.add(new Person("Joe", 30, "York"));
    list.add(new Person("Edi", 23, "Beijing"));
    return list;
    public List getNames()
    List list = new ArrayList();
    list.add("Peit");
    list.add("Robin");
    list.add("Joe");
    list.add("Edi");
    return list;
    public void commit()
    System.out.println("Data commited");
    I created the PersonFactory class as DataControl, so I can use the getPersons() and getNames()(just for test, so they are simple), I drag the names from
    the DataControl palette as Table in a JClientPanel, good luck, it works and displays the 4 Strings in a table, but when I drag the persons from
    the DataControl palette as Table in the same JClientPanel, it does not work and raises exception :
    java.lang.NullPointerException
         at javax.swing.JTable.prepareRenderer(JTable.java:3731)
         at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:1149)
         at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1051)
         at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:974)
         So, I confused why? How to edit it properly?
         Thanks.
    Message was edited by:
    [email protected]

    Hi, Frank
    Thank you for your reply.
    I am sorry for not explaining well. I mean that the getNames() works fine, but getPersons() does not. The only diferenece between them is the former is simple string and the latter is javabean, but when I made the PersonFactory as DataControl, I set the bean class Person for the getPersons()(list of persons) bean class.
    I debuged the class, the exceptions raised when the table for getPersons() setModel() method called.
    So, where is the problem?
    Thanks.

  • Firefox corrupted the file I download. Upon fix with reset or uninstal, more problem happened

    This all started 5 hours ago, when I tried to download a .doc file from my school website but Microsoft Word opened it with "file conversion" options and the preview is filled with unreadable codes. I was using Nightly 64-bit on a newly installed Windows 8.1 64 bit system (about a week ago after I upgrade my ssd).
    1. I tried open other .exl file from the same website, but Microsoft Excel could not open it at all saying the file is corrupted. I used IE 11 to download the same files and it worked perfectly. Problem with Nightly it looked like.
    2. I reset Nightly then tried to download the same file again, not working. Tried safemode disable all addons and try to download the .doc file. It surprisly worked!. So it seems like an addon problem. Then I disabled all addons manually restarted again but tested not working. I was really frustrated at this point so I believe my Nightly was hacked by malware or some hidden plugins.
    3. Uninstalled Nightly then I cleaned all files left with Ccleaner. I checked full scan with Windows security essential; downloaded malware cleaner "Malwarebytes". Yes a few malware like files were detected and cleaned up.
    4. Downloaded waterfox 64-bit but now more problems appeared. It still cannot download the .doc or exl file now. The right click menu is not showing up at any webpage, image or highlighted texts. Ctrl+click link to open link in new tab is not working, just nothing happens. I try to reset or safemode restart, Nope! the help menu is gone, perfectly clear!
    In brief, I would not like to reinstall my OS for this issue. I wish I could find some software remover that detects firefox virus pluggins. I don't want to try the 32-bit version of firefox for this issue.
    Thank you.

    Thanks for the fast reply.
    I deleted everything, and download the official firefox 32-bit and tried your advice disable everything. Yes it worked! it brought up the help menu.
    And the word document is working as well after I could 'help-troubleshoot-rest firefox'.
    Thank you very much. I think it was the Nightly setup naturally not compatible with .doc links. It also messed up the settings for my waterfox/firefox which I downloaded later.
    However the right-click menu is still not normal. nothing shows up nor I could open up link in a new window. This did not happened in Nightly as I stated in the original question. Any suggestions?
    Btw. After this I might stay with the official firefox 32-bit for now. is there any performance difference with 64-bit or compatible issue with Windows 8.1? I know that 64 bit firefox is not released yet.

  • Problems using Enhanced JavaBean Support

    I'm extremely new to extending Forms using JavaBeans, and clearly am doing something wrong. I've created a fairly simple class that exposes a single method. The class performs as expected, when run from my IDE, but I've had no luck extending a form with it. Here it is:
      package test;
      import oracle.forms.ui.VBean;
      import com.jacob.activeX.ActiveXComponent;
      public class MailMerge extends VBean {
        ActiveXComponent word;
        public MailMerge() {
        public void launchWord() {
          word = new ActiveXComponent("Word.Application");
          word.setProperty("Visible", true);
      }I have created a JAR containing this class, signed it, and placed it in <ORA10G_HOME>\forms\java. I created a simple form, with a single button and a bean area. Here is my code:
    WHEN_NEW_FORM_INSTANCE
      FBEAN.REGISTER_BEAN('MERGE_BEAN', 1, 'test.MailMerge');
    WHEN_BUTTON_PRESSED
      BEGIN
        FBEAN.INVOKE('MERGE_BEAN', 1, 'launchWord');
      END;The form loads without errors, but when I press the button, nothing happens. Part of my confusion is owing to the fact that my bean is intended to present no graphic output. For this reason, I did not implement the IView interface -- I've merely extended VBean (which implements IView, albeit presumably with stubs.)
    I've appended the JAR to the CLASSPATH entry in DEFAULT.ENV, and also tried appending MailMerge.jar to the ARCHIVE_JINI entry in FORMSWEB.CFG. I am left to conclude that I'm missing something more fundamental, despite having read what's available in Form Builder's Online Help. Most of the other relevant instructional information I've found is locked up in viewlets that seem always to crash (if they run at all.)
    Could anyone spare a clue, because I'm obviously clueless on this occasion!
    Eric Adamson
    Lansing, Michigan

    I've found some information that looks helpful, in the form of a blog entry found at:
    http://forms.pjc.bean.over-blog.com/article-3234108.html
    The entry mentions that the bean cannot be registered immediately within the WHEN_NEW_FORM_INSTANCE trigger, and shows how to delay this slightly using a timer.
    Special thanks to Francois Degrelle for the blog entry linked above, and to Frank Nimphius, for the blog entry that pointed me there! :)
    Eric Adamson
    Lansing, Michigan

  • I bought my iPhone 5, black and 32 GB 3 months ago in China and I am staying  here in Philippines now. Last week, a serious problem happens in my phone. It is not able to start or boot. So I can not use it. I do not know what happened in the phone. HELP

    hello guys. I need your help. I had an phone. iPhone5, bought last June of this month in China. I am a filipino, now I am here in Philippines. The problem has just started last week. Everytime I open my phone, there's a green color at center's screen bigger than my thumb. I tried to turn it ON/OFF for several times but the problm is still the same. Next, I open the "Erase All Settings" and finally delete all the files and the phone restarted. It keep on asking me to activate it but the phone can not be activated, it always appear like this " Were sorry, we are unable to continue with your activation at this time. Please try again later". Please help me

    Read the article below:
    iPhone: Troubleshooting activation issues

  • Hi all, i'm new and facing a problem while creating a new file for Xcode. I can't select the box "with XIB for user interface" if the subclass is "UIViewController".this problem happen after i upgrade Xcode to 4.6 version.Appreciate for any help rendered.

    Hi all, i'm new to Mac book & Xcode. I'm learning and facing problems while creating a new file for Xcode. Before i upgrade the software, i have no issue to create simple steps in apps. After upgrade Xcode to 4.6 version, i'm facing lot's of issue eg.
    1) "the identity "iphone developer" doesn't match any valid certificate/ private key pair",
    2) can't select the box "with XIB for user interface" if the subclass is "UIViewController"..
    Appreciate for any help rendered.

    Mikko777 wrote:So what is the best?
    I wouldn't judge. I've been to Arch for a week, you know? But as said, it's VERY close to it.
    What I dislike after a week is makepkg not handling dependencies automatically (which would be overhead, so probably not appropriate).
    Mikko777 wrote:Also theres KDEmod for modular kde, dunno if its for 64 bits tho.
    Don't actually need that as said ... I see no real benefit of having that other than not beeing a KDE user or having Gentoos useflags.
    Mikko777 wrote:PS:You produce a lot of text and welcome smile
    Yeah. Wonder why I'm still employed? So do I ...

Maybe you are looking for