Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error!!!! Need Help Urgent[INFO] PropertyMessageResources - -Initializing, config=

 
perry arora
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends need your help..

regarding my last problem iwoud like to thank who all drop theior suggestions it s was the problem of including the commoin-beanutils.jar in the lib folder..

now the problem which ia m facing is that , i am trying to run a web application based on struts
and every thing seems to be fine but what i except the application is that after invoking the
execute method of an Action service created my be it should forward to the sucess.jsp which
i have coded in the struts-config.xml file for that particular action
i have double checked every thing . when ever i try to request the service i get a blank page

i checked the log file to check whethere there was some problem while calling the service or what so ever but every thing is fine over there except ... i get the follwoing message in the dos windows which shos the running tomcat instance the message is

[INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.util.
LocalStrings', returnNull=true
[INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.actio
n.ActionResources', returnNull=true

========= my struts-config.xml is follows
?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>

<action-mappings>
<action
path="/delhi"
type="delhiAction">
<forward name="sucess" path="/sucess.jsp" />
</action>
<action
path="/bombay"
type="bombayAction"/>

<action
path="calcutta"
type="calcuttaAction"
/>
==================== and the delhiAction class is as follows
mport org.apache.struts.action.*;
import javax.servlet.http.*;

public class delhiAction extends Action
{
public ActionForward execute (ActionMapping actionmapping, Action action,HttpServletRequest request,HttpServletResponse response)
throws Exception
{
userInfo userinfo=(userInfo)getServlet().getServletContext().getAttribute("userinfo");
userinfo.setRegion("delhi");
getServlet().getServletContext().setAttribute("userinfo",userinfo);
return actionmapping.findForward("sucess");
}// end of the execute method
}// end og the delhi action
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic