Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Custom UIComponent, cannot add servlet as stylesheets to head  RSS feed

 
Karsten McFlinn
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get only RES_NOT_FOUND at href-link
I use Glassfish with JSF2.1
here is the code:


Maybe I did not find the right url for servlet mapping in my web.xml. My servlet is working, when I make a manually request. Has anyone an idea?
 
Karsten McFlinn
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
-->Resolved

I only had to add an empty file and so it works. I think the mapping works only after rendering
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!