aspose file tools*
The moose likes JSF and the fly likes Jsf common Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Jsf common Error" Watch "Jsf common Error" New topic
Author

Jsf common Error

mano ranjan
Ranch Hand

Joined: Jul 12, 2007
Posts: 102
Hi.
I do get this error quit often in my jsf page but it doesnt affect my page navigation.. Can anybody help me in the issue..

Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Could you have an HtmlGraphicImage component on your page where you set the value to something that is not an actual image, so that when it tries to cast it to an image it would get a ClassCastException?

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
mano ranjan
Ranch Hand

Joined: Jul 12, 2007
Posts: 102
HI,
Thanks for your comments.How do i generate images dynamically using JSF.Is there any possibility to generate images dynamically....


Thanks
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Originally posted by mano ranjan:
HI,
Thanks for your comments.How do i generate images dynamically using JSF.Is there any possibility to generate images dynamically....


Thanks


I am confused, do you want to figure out why you get that error, or do you want to know how what JSF Component renders Images on a page and how to use it.

Mark
mano ranjan
Ranch Hand

Joined: Jul 12, 2007
Posts: 102
Hi,
Sorry for the confusion.I need to figure out the error.Can you guide me please

thanks
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Originally posted by mano ranjan:
Hi,
Sorry for the confusion.I need to figure out the error.Can you guide me please

thanks


OK, so to fix the error, what is the answer to the question I raised in my first reply.

Mark
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jsf common Error