cancel
Showing results for 
Search instead for 
Did you mean: 

error page hosting for error 500 scenario

Former Member
0 Kudos

I was implementing the default error 500 handling in webstore.

from storefront web.xml

     <exception-type>java.lang.Exception</exception-type>
     <location>/WEB-INF/pages/error/serverError.jsp</location>
 </error-page>
 <error-page>
     <error-code>500</error-code>
     <location>/WEB-INF/views/desktop/pages/error/**serverError.jsp**</location>
 </error-page>

and found that it is a static HTML page. No Dynamic content is allowed.

can any one guide me how i can implement internationalisation for the same page.

thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

if you are allowed to use jstl you can use this approach. http://stackoverflow.com/questions/4276061/how-to-internationalize-a-java-web-application

Answers (3)

Answers (3)

Former Member
0 Kudos

thnx CJ n Vinay.

Former Member
0 Kudos

Hi Harald,

The page you mentioned is a cms managed page rendered in defaultPageController. but this page is some how different. I already checked the way but it is not working.. Thanks for the input.

thanks Bikram

Former Member
0 Kudos

Hi Bikram,

You can use JQuery i18 bundles for this static HTML. (jquery.i18n.properties.js)

Sample usage : http://css.dzone.com/articles/internationalization-using

JQuery will pick your default browser language and select appropriate language bundle.

Thx, CJ

Former Member
0 Kudos

Did you look at errorNotFoundPage.jsp as another errorPage example?

 <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
 ...
 <spring:theme code="${errorMessageCode}" />