Results 1 to 13 of 13

Thread: Can't figure out this JasperException

Hybrid View

  1. #1
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Can't figure out this JasperException

    If it is not too much trouble. Care to tell us what you had to do? So we can refer to it next time (if evere) it is asked.



    Thanks
    ØØ

  2. #2

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418

    Re: Can't figure out this JasperException

    I thought i had it working at first but it seems i have to recompile my bean from the command line then resave the jsp page in order to see if any changes i make to the bean work or not. Jsp is starting to get annoying.

  3. #3
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Can't figure out this JasperException

    It never catched my eye at all... Never found the use for it.

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Can't figure out this JasperException

    And you worked the capitalization thing out? Beans are very simple. You have a bean property called "abcDefGhi", the setter is called "setAbcDefGhi" and the getter "getAbcDefGhi". I believe this capitalization is important, but it's also dead simple to remember, so there should be no problems.

    The other steps are quite clear, too. Nowhere does JSP claim that it compiles beans. It only processes and compiles the JSP pages themselves.

    *shrug*
    I suppose it depends on the way you approach the whole thing. I wish I could get the Manager servlet working for virtual hosts.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418

    Re: Can't figure out this JasperException

    Posted by CornedBee

    And you worked the capitalization thing out?
    Yeah it was just odd though. For instance i just came back to my computer. The bean was the same bean i ran before with no errors.
    Code:
    private String output = "Brandon Rohlfs"; 
    public String getOutput(){return output;}
    I changed the bean
    Code:
    private String name = "Brandon Rohlfs"; 
    public String getNameoutput(){return nameoutput;}
    everything works. Now change back to the old bean
    Code:
    private String output = "Brandon Rohlfs"; 
    public String getOutput(){return output;}
    org.apache.jasper.JasperException: Cannot find any information on property 'output' in a bean of type 'com.TestBean'

    I think it has to do with the memory within the server. Check out number four "Turn on servlet reloading". http://www.coreservlets.com/Apache-T...0-and-4.0.html

  6. #6

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418

    Re: Can't figure out this JasperException

    I scaned the server.xml file for <Host name="localhost" debug="0" appBase="webapps" ...> and added this line right after it <DefaultContext reloadable="true"/> Seems to have worked.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width