This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
Hi Thank you for reading my post. My problem is about using a Chart library which works well in jsf application but it does not works in JSF portlets. I think i find the problem but i do not know the solution. to use this charting library we should add a servlet to web.xml
something like :
so , when we try to load a chart , it will make the chart image source something like :
in the above sample , adv is the name of web application which is deployed in a servlet container. and filter applied to make the chart render-able.
to use the chart library in jsf portlet , i add the servlet description as i did for web application , so i add
to my portlet web.xml file.
when we have portlet , the url to access that portlet (which indeed is a web application) changes for example url for a sample portlet with same web application name will be like http://localhost:28080/pluto/portal/Adv/
as you can see there are some prefix to web application name in the url , but when i use chart component to show same chart , it still look for the chart in url like :