dcsimg
Strut error
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   rocio_arce
Posted On:   Wednesday, January 22, 2003 04:41 AM

I'm doing an application with tomcat 4.0, struts 1.0 I'm using jbuilder 8 when I try to execute, tomcat says: type Exception reportmessage Internal Server Errordescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.exception javax.servlet.ServletException: Must specify type attribute if name is specified at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471) at org.apache.jsp.Insertar$jsp._jspService(Insertar$jsp.java:1012) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$Jsp   More>>

I'm doing an application with tomcat 4.0, struts 1.0
I'm using jbuilder 8
when I try to execute, tomcat says:
type Exception reportmessage Internal Server Errordescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.exception javax.servlet.ServletException: Must specify type attribute if name is specified
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
at org.apache.jsp.Insertar$jsp._jspService(Insertar$jsp.java:1012)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)


Can you help me?
Thanks!!

   <<Less

Re: Strut error

Posted By:   Christopher_Koenigsberg  
Posted On:   Wednesday, January 22, 2003 07:22 AM

...Must specify type attribute if name is specified...



Well, like it says, you apparently have given a "name" attribute to some Struts tag, where it would also need "type".



Maybe you meant to give it a "property" attribute instead? If the tag is a form field, which is tied to a property on your ActionForm, it needs "property", not "name".

About | Sitemap | Contact