problem in struts-config

hello everyone..

<action path="/EditCompanyInfo"

type="com.goldenembryo.company.CompanyInfoAction">

<forward name="success"

path="/pages/temp.jsp"/>

<forward name="error"

path="/pages/Error.jsp"/>

</action>

this is the struts-config.xml file of my web application...The problem is that when i click on the link in the jsp page the java file com.goldenembryo.company.CompanyInfoAction.java couldn't be called...neither i get any exception and neither i get and error in the tomcat...can anyone figure out what the problem can be?

my action class is

/*this is called */

package com.goldenembryo.company;

import javax.servlet.ServletException;

import javax.servlet.http.HttpServletRequest;

import javax.servlet.http.HttpSession;

import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;

import org.apache.struts.action.ActionForm;

import org.apache.struts.action.ActionError;

import org.apache.struts.action.ActionErrors;

import org.apache.struts.action.ActionForward;

import org.apache.struts.action.ActionMapping;

import java.io.IOException;

import java.util.List;

import java.util.ArrayList;

publicclass CompanyInfoActionextends Action

{

public ActionForward exceute(ActionMapping mapping,

ActionForm form,

HttpServletRequest request,

HttpServletResponse response)

throws IOException, ServletException

{

System.out.println("in the CompanyInfoAction");

HttpSession session=request.getSession(false);

System.out.println(session.getAttribute("CompanyID")+"");

try

{

Company company =new Company();

List list =new ArrayList();

list=company.viewCompanyInfo(session.getAttribute("CompanyID")+"");

if(session.getAttribute("CompanyID")==null)

{

ActionErrors errors =new ActionErrors();

errors.add(ActionErrors.GLOBAL_ERROR,new ActionError("errors.session.notpresent"));

saveErrors(request,errors);

System.out.println("error in sesion");

return mapping.findForward("error");

}

else

{

if(list.size()>0)

{

request.setAttribute("CompanyInfo", list);

System.out.println(list);

company.closeConnection();

System.out.println("in the CompanyInfoAction");

return (mapping.findForward("success"));

}

else

{

ActionErrors errors=new ActionErrors();

errors.add(ActionErrors.GLOBAL_ERROR,new ActionError("failure.retriveinfo.Companyedit"));

saveErrors(request, errors);

return (mapping.findForward("failure"));

}

}

}

catch(Exception e)

{

System.out.println("exception in CompanyInfoAction"+e);

}

return mapping.findForward("success");

}

}

[5157 byte] By [sabyasachi.roya] at [2007-11-27 8:52:19]
# 1
public ActionForward exceute(ActionMapping mapping,versuspublic ActionForward execute(ActionMapping mapping,can you spot the difference? Manuel Leiria
manuel.leiriaa at 2007-7-12 21:07:34 > top of Java-index,Java Essentials,Java Programming...
# 2
> exceuteMarie Antoinette would have been happy to have you around the time.
corlettka at 2007-7-12 21:07:34 > top of Java-index,Java Essentials,Java Programming...
# 3
ya ya i can now.....thanks a lot...
sabyasachi.roya at 2007-7-12 21:07:34 > top of Java-index,Java Essentials,Java Programming...
# 4
Which IDE are you using?:-)
achyuthba at 2007-7-12 21:07:34 > top of Java-index,Java Essentials,Java Programming...
# 5

i'm using easyeclipse 3.2...even i'm surprised why it didn't gave any error. before building the project..the easy eclipse is configured to build the project automatically but i also have a build.xml file in my project and i build it by running ant in eclipse..even i didn't get any error while building by ant....i don't know why ?

sabyasachi.roya at 2007-7-12 21:07:34 > top of Java-index,Java Essentials,Java Programming...
# 6

> i'm using easyeclipse 3.2...even i'm surprised why it

> didn't gave any error. before building the

> project..the easy eclipse is configured to build the

> project automatically but i also have a build.xml

> file in my project and i build it by running ant in

> eclipse..even i didn't get any error while building

> by ant....i don't know why ?

Because you are not obligated to override the execute method from Action. The only thing that happens is that nothing happens because there's no execute method in your action class.

manuel.leiriaa at 2007-7-12 21:07:34 > top of Java-index,Java Essentials,Java Programming...