Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

The JSF infrastructure makes calls to the jsf-ibm.jar library.

843842Nov 21 2005 — edited Jun 5 2006
Hi, I have a little problem, and would be appreciate it, if you could help me resolve this problem.

The JSF infrastructure makes calls to the jsf-ibm.jar library. This translates to HTTP calls like so:

"GET /DM/.ibmjsfres/hxclient_v2.js HTTP/1.1" 200 304671,
the URL is:
/DM/.ibmjsfres/hxclient_v2.js

and I WANT to get the URL likes:
/DM/dotibmjsfres/hxclient_v2.js.

I want change the web.xml file to re-direct these internal JSF calls. I think, it is about "JS Resource Servlet" and I need to change web.xml like:

<servlet>
<servlet-name>JS Resource Servlet</servlet-name>
<servlet-class>com.ibm.faces.webapp.JSResourceServlet</servlet-class>
<load-on-startup>-1</load-on-startup>
</servlet>
...
<servlet-mapping>
<servlet-name>JS Resource Servlet</servlet-name>
<url-pattern>/dotibmjsfres/*</url-pattern>
</servlet-mapping>

and I am pretty sure, that I need to put some name and value for
<context-param>.

The <param-value> should be:
<param-value>/dotibmjsfres/*</param-value>

Do you have any ideas about <param-name>?

Thank you so much,

Paul
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 3 2006
Added on Nov 21 2005
2 comments
202 views