Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML


 

Java Tutorials


 

 

Struts Tutorials

Struts Resources

Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Strutstutorial Developingapplication

User Comments
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl
  Blink   Furl   Simpy   Y! MyWeb 

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

16 comments so far (post your own) View All Comments Latest 10 Comments:

Hi
your program is very effective
thank you

Posted by satya on Wednesday, 03.17.10 @ 01:56am | #95621

Hi,

Artcles are good and am regular visitor.
Pls. provide page print view.


Regards,
Anwar

Posted by Anwar on Wednesday, 03.10.10 @ 16:49pm | #95455

<html:form action="Query"
name="queryForm"
type="demo1.QueryForm" >
Here Query refers to what?
in brower will it be displayed as Query.do then how ??? thanku..

Posted by veeresh on Thursday, 02.25.10 @ 15:46pm | #95120

Here the problems is that name of the actionform class is not matched in action mappings tags in Struts-config.xml

Posted by Murthy on Friday, 10.24.08 @ 12:58pm | #81290

This material is easy to understand new peoples to struts like me. Thank so much for your effort and dedication.

Thanks & Regards,
Ramesh Kumar.K

Posted by ramesh on Monday, 09.29.08 @ 18:01pm | #80779

1.when we click on an option to open a screen then when the screen appears default value sholud be shown in the dropbox and when we change the drop box dynamically other(dropbox and text box) have to change.
2. afetr amending this please tell me how to update data to the database.

Posted by sandeep on Friday, 03.14.08 @ 12:43pm | #52683

hi, this is a problem that i face when i write
<%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %> in my index.jsp

javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
org.apache.jsp.index_jsp._jspService(index_jsp.java:86)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


root cause

javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:858)
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:543)
org.apache.jsp.index_jsp._jspx_meth_html_form_0(index_jsp.java:151)
org.apache.jsp.index_jsp._jspx_meth_html_html_0(index_jsp.java:126)
org.apache.jsp.index_jsp._jspService(index_jsp.java:77)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

Posted by AjaySharma on Friday, 08.31.07 @ 11:13am | #24585

i am getting the following errorwhen i load query.jsp on Tomcat5.0


javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
org.apache.jsp.query_jsp._jspService(query_jsp.java:79)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:711)
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:419)
org.apache.jsp.query_jsp._jspx_meth_html_form_0(query_jsp.java:96)
org.apache.jsp.query_jsp._jspService(query_jsp.java:68)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Posted by Namrata on Monday, 07.23.07 @ 15:38pm | #21770

hi,
your tutorials are so useful.i am leaning j2EE and i am less confident in core java.plz send me useful guidance

Posted by kavita on Friday, 07.20.07 @ 12:43pm | #21622

I want to do java certification.can any one tell me online free java certificate guides which helps me to write the exam

Posted by Ashwini on Monday, 07.2.07 @ 12:53pm | #20578

Good one!!!!

Posted by Akanksha Nevrekar on Wednesday, 12.20.06 @ 17:14pm | #1352

Here is real example of struts application using datababse Login and User Registration Application

and

Struts Hibernate Integration Tutorial


Thanks

Posted by Deepak Kumar on Wednesday, 12.20.06 @ 14:51pm | #1327

hi
Matrial is ver y gud . i followed the instructions as given above but getting following exception

org.apache.jasper.JasperException: /query.jsp(8,0) TLDによると、タグ form の属性 name は無効です
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


原因

org.apache.jasper.JasperException: /query.jsp(8,0) TLDによると、タグ form の属性 name は無効です
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:234)
org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:989)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:710)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
org.apache.jasper.compiler.Validator.validate(Validator.java:1489)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:166)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Posted by Bhupinder on Wednesday, 12.20.06 @ 14:42pm | #1325

Hi,

i want struts data base application will write on eclipse. so could u help me what steps
have to follow and give one sample example

Posted by ranjit on Wednesday, 12.20.06 @ 14:13pm | #1322

Hi,

I found this material simple and easy to use. I am beginner with respect to Struts framework.
I followed the instructions as provided. But when I tested, I got the following exception. I am unable to figure out what is causing this exception. Any help would be greatly appreciated.

org.apache.jasper.JasperException: Cannot retrieve mapping for action /query
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

javax.servlet.ServletException: Cannot retrieve mapping for action /query
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:843)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:776)
org.apache.jsp.query_jsp._jspService(query_jsp.java:84)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Thanks
Sanjeev

Posted by sanjeev on Tuesday, 12.19.06 @ 02:54am | #1208

Good explanation Regards Nagaraju

Posted by nagaraju.g on Friday, 12.1.06 @ 14:11pm | #314

Ask programming questions?

 

 

Back to Tutorial

 

  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name

 

 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright 2007. All rights reserved.