Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

getLocaleResolverInstance No LocaleResolver configured. - error in display table

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="" prefix="html"%>
<%@taglib uri="" prefix="bean"%>
<%@taglib uri="" prefix="logic"%>
<%@taglib prefix="display" uri=""%>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">


<body bgcolor="DDDDDD">
<h1> Struts logic:iterate tag</h1>

<html:form action="/searchClient">
<html:text name="ListClientForm" property="keyword" size="30" maxlength="30" />
<input type="submit" name="ClientSearch" value="ClientSearch">

<display:table id="listclient" name="sessionScope.ListClientForm.listclient" requestURI="/" pagesize="10" >
<display:column property="clientId" title="client Id" href="/" sortable="true" />
<display:column property="clientName" title="client Name" sortable="true" />
<display:column property="clientAddress" title="client Address" sortable="true" />
<display:column property="clientSince" title="client Since" sortable="true" />
<display:column property="clientEmail" title="client Email" sortable="true" />
<display:column property="clientPhone" title="client Phone" sortable="true" />


<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<p> This is a get client.jsp </p>



import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;
import org.apache.struts.action.ActionMessages;

* @version 1.0
* @author
public class GetClientAction extends Action

private final static String SUCCESS = "success";
private final static String FAILURE = "failure";
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {

ActionMessages errors = new ActionMessages();
ActionForward forward = new ActionForward(); // return value

try {

// do something here
return mapping.findForward(SUCCESS);
} catch (Exception e) {

// Report the error using the appropriate name and ID.
errors.add("name", new ActionMessage("id"));


// If a message is required, save the specified key(s)
// into the request for use by the <struts:errors> tag.

if (!errors.isEmpty()) {
saveErrors(request, errors);

// Forward control to the appropriate 'failure' URI (change name as desired)
// forward = mapping.findForward("failure");

} else {

// Forward control to the appropriate 'success' URI (change name as desired)
// forward = mapping.findForward("success");


// Finish with
return (forward);



<action path="/getClient" type="">
<forward name="success" path="/JSP/GetClient.jsp"/>

error while clicking the value of client id present in display table in listclient.jsp:

[11/05/11 20:20:43:586 IST] 00000021 TableProperti I getLocaleResolverInstance No LocaleResolver configured.

Please let me know where the mistake is. I have included the itext jar file too.
[Thumbnail for displaytable.JPG]
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic