You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by VTR Ravi Kumar <vt...@bhelhwr.co.in> on 2005/03/03 10:13:46 UTC

newbei

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
---------------------------------------------------------------



Re: newbei

Posted by Antony Paul <an...@gmail.com>.
You have to download the first file(jakarta-struts-1.2.4.zip) which
contains docs and examples.

rgds
Antony Paul


On Thu, 03 Mar 2005 16:08:06 +0530, VTR Ravi Kumar <vt...@bhelhwr.co.in> wrote:
> Yes
> 
> I have put struts.jar in the WEB-INF\lib and also added the mapping for
> action in web.xml
> I had downloaded the jakarta-struts-1.2.4-lib.tar.gz but it did not
> contain any blank application as you have mentioned.
> Please tell me where i can find the blank application ....
> 
> 
> vtr
> 
> Antony Paul wrote:
> 
> >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 <vt...@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
> >
> >
> >
> 
> --
> ---------------------------------------------------------------
> 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


Re: newbei

Posted by VTR Ravi Kumar <vt...@bhelhwr.co.in>.
Yes

 I have put struts.jar in the WEB-INF\lib and also added the mapping for 
action in web.xml
I had downloaded the jakarta-struts-1.2.4-lib.tar.gz but it did not 
contain any blank application as you have mentioned.
Please tell me where i can find the blank application ....


vtr

Antony Paul wrote:

>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 <vt...@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
>
>  
>


-- 
---------------------------------------------------------------
VTR Ravi Kumar, Sr.Engineer,ITX, BHEL, Hardwar - 249403, India
Fax no. 0091-1334 - 223948, Ph. No. 0091-1334-285260 / 285405
---------------------------------------------------------------



Re: newbei

Posted by Antony Paul <an...@gmail.com>.
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 <vt...@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