For Programmers: Free Programming Magazines  


Home > Archive > Java Beans > June 2004 > Updating / Adding Beans!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Updating / Adding Beans!
k0nsl

2004-06-03, 7:13 pm

I've added a few variables to my bean, and gave them set,gets as
well,recompiled, and now my page will pull all the other fields except
those from the bean, they always show as blank. Someone told me to reboot
the machine running the webserver, but that didn't work.

Then I made a new bean and my pages can't seem to pull from that bean
either?

Any idea how to fix this problem?

I had the problem before and the bean randomly started working -- I don't
know what I did.

--C

John

2004-06-03, 7:13 pm

k0nsl wrote:

> I've added a few variables to my bean, and gave them set,gets as
> well,recompiled, and now my page will pull all the other fields except
> those from the bean, they always show as blank. Someone told me to reboot
> the machine running the webserver, but that didn't work.
>
> Then I made a new bean and my pages can't seem to pull from that bean
> either?
>
> Any idea how to fix this problem?
>
> I had the problem before and the bean randomly started working -- I don't
> know what I did.
>
> --C
>


The only way *I* can do it is by redoing the whole .ear. Apparently some
application servers are better than others for this (I'm using Sun AS8).

John
k0nsl

2004-06-03, 7:13 pm

Could you explain how I would do this?
I'm running Tomcat 4.1 I think with the bean.java/bean.class in classes
folder where it should be.

Thanks again
--C

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com