tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Paul <antonypau...@gmail.com>
Subject Re: newbei
Date Thu, 03 Mar 2005 09:41:58 GMT
You put the struts.jar and related files in WEB-INF\lib directory of
your application ?. Added mapping in web.xml for ActionServlet ?.
Better you you use Struts blank application which is bundled with
Struts download.

rgds
Antony Paul


On Thu, 03 Mar 2005 14:43:46 +0530, VTR Ravi Kumar <vtr@bhelhwr.co.in> wrote:
> Hello all,
> 
> I am getting a error message as follows
> 
> 2005-03-03 14:26:51 StandardWrapperValve[action]: Servlet action is
> currently unavailable
> 2005-03-03 14:27:25 StandardWrapperValve[action]: Servlet action is
> currently unavailable
> 2005-03-03 14:27:30 StandardWrapperValve[action]: Servlet action is
> currently unavailable
> 2005-03-03 14:28:17 StandardWrapperValve[action]: Servlet action is
> currently unavailable
> 2005-03-03 14:28:30 StandardWrapperValve[action]: Servlet action is
> currently unavailable
> 2005-03-03 14:28:33 StandardWrapperValve[action]: Servlet action is
> currently unavailable
> 2005-03-03 14:28:34 StandardWrapperValve[action]: Servlet action is
> currently unavailable
> 2005-03-03 14:28:36 StandardWrapperValve[action]: Servlet action is
> currently unavailable
> 2005-03-03 14:28:36 StandardWrapperValve[action]: Servlet action is
> currently unavailable
> 2005-03-03 14:28:36 StandardWrapperValve[action]: Servlet action is
> currently unavailable
> 2005-03-03 14:28:37 StandardWrapperValve[action]: Servlet action is
> currently unavailable
> 2005-03-03 14:30:30 StandardWrapperValve[action]: Servlet action is
> currently unavailable
> 2005-03-03 14:35:08 StandardWrapperValve[action]: Servlet action is
> currently unavailable
> 
> I am trying to execute a small struts example given in "Mastering tomcat
> developement" by Perter Harrison.
> /********ListDepartmentsAction**********/
> package action;
> import bean.Dept;
> import org.apache.struts.action.*;
> import javax.servlet.http.*;
> 
> public class ListDepartmentsAction extends Action {
>    public ActionForward execute(ActionMapping mapping,
>            ActionForm form,HttpServletRequest request,
>            HttpServletResponse response) throws Exception{
> 
>        request.setAttribute("departments",Dept.getDepartments());
>        return mapping.findForward("listing");
>    }
> 
> }
> 
> My jsp....
> <%@ taglib uri="logic" prefix="logic"%>
> <%@ taglib uri="bean" prefix="bean"%>
> <html>
> <body bgcolor=yellow>
> <table>
> <logic:iterate id="dept" name="departments">
> <tr><td><bean:write name="dept" />Herro</td></tr>
> </logic:iterate>
> </ body>
> </html>
> 
> Any help in this regard will be greatly helpful..
> 
> thanks
> 
> --
> ---------------------------------------------------------------
> VTR Ravi Kumar, Sr.Engineer,ITX, BHEL, Hardwar - 249403, India
> Fax no. 0091-1334 - 223948, Ph. No. 0091-1334-285260 / 285405
> ---------------------------------------------------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message