English 中文(简体)
JSF 特立尼达图表没有显示
原标题:JSF Trinidad Chart does not display

环境: JSF2.0 + Myface + 特立尼达+ GlassFish, IDE:日食

我对JSF非常陌生, 目前我想在我的页面上显示特立尼达图, 但未能做到。 我可以展示特立尼达的其它组件面板FormLayout喜欢, 但在浏览器上显示错误 。

未标记引用错误: 未定义 ApacheCart

无法装入 4 重发 (404)

://.../adf/jsLibs/resources/LocaleElements_zh_TW2_0_0_beta_2.js; ://.../adf/jsLibs/resources/DebugLocale2_0_0_beta_2.js; ://.../adf/jsLibs/resources/DebugCoreFmt2_0_0_beta_2.js; ://.../adf/jsLibs/resources/DebugApacheChart2_0_0_beta_2.js;

我发现我的问题跟这个很像

http://mail-archives.apache.org/mod_mbox/myfaces-uss/2007077.mbox/%3Cfa024af007007161819h4f93034fj1ec2574f4f38918c@电子邮件.gmail.com%3E"rel="nofollow" >http://mail-archives.apach.org/mod_mbox/myfaces/myfaces-uss/200707.mbox/spanlele="[电邮]数据-cfemail="407303/26217072727212777077777777777178717928277973737373742662A257577747474727277474747472772772777747774778787827020202020202020202020202020202020202020202022992c62f2d]>[电子邮件保护]

But I still don t know how to make it work. Any suggestion will be appreciated

谢谢 谢谢

最佳回答

您的 web.xml 中似乎缺少 ADF 资源服务器 。

<servlet>
  <servlet-name>resources</servlet-name>
  <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
</servlet>

<servlet-mapping>
  <servlet-name>resources</servlet-name>
  <url-pattern>/adf/*</url-pattern>
</servlet-mapping>
问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签