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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to