File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jsf common Error

 
mano ranjan
Ranch Hand
Posts: 102
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
mano ranjan
Ranch Hand
Posts: 102
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 102
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Sorry for the confusion.I need to figure out the error.Can you guide me please

thanks
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic