Home Tutorialhelp Comment Hi, I found this material simple and easy to us

 
 

Comment

sanjeev
Hi, I found this material simple and easy to us,
December 19, 2006 at 2:54 AM

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
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Java Beginners

material management system
material management system  hi frnds i need a mini project based on material management system if u have the project please post to me on java beginners 

Struts Questions

best Struts material - Struts
best Struts material  hi , I just want to learn basic Struts.Please send me the best link to learn struts concepts   Hi Manju, Read for more and more information with example at: http 

Development process Questions

hi
hi   i want to develop a online bit by bit examination process as part of my project in this i am stuck at how to store multiple choice questions options and correct option for the question.this is the first project i am doing 

Java Beginners

java material
java material  Please provide option for full materials download ... i dont have internet connection in my home. plz provide offline tutorial option 

Design concepts & design patterns Questions

SAP MM Study Material
SAP MM Study Material  Please let me know where can i get the SAP MM study material an ask queries as well 

JDBC Questions

class not found error - JDBC
soon.  Hi friend, I am sending you a link. I hope that this link...class not found error  thanks for your response. please clarify the following doubts. i am having the specified mysql connector jar file. where 

JSP Servlet Questions

Simple problem to solve - JSP-Servlet
Simple problem to solve  Respected Sir/Madam, I am R.Ragavendran.. Thanks for your kind and timely help for the program I have asked.... But in that I am facing a very very minute problem. The alert boxes are displayed 

Spring Framework Questions

Hi Rose India
Hi Rose India  Hi all, sorry if this is not the pright place to post this... im facing a trouble with constructor arguments, because i need to set 2...;/bean> when i run the web proyect, i get this message on the web: 2 

Java Beginners

Hi..
Hi..   what are the keywords available in simple HelloWorld program 

JSP Servlet Questions

javac complier not found - JSP-Servlet
javac complier not found  i am facing problem to run jsp simple page to run jsp page through tomcat error occured unable to find javac comlier or root of cause not find jdk i have set java_home as c:\program Files\java 

Java Beginners

Hi..
Hi..  diff between syntax and signature?   signature is a particular identity of a method in terms of its argument order ,type... give us the signature of that method. methods can be overloaded by differing 

Swing AWT

Getting ..Photograph.jpg not found - Swing AWT
...but not image for image it is comming Couldn't find file: Photograph.jpg .. why so?..I...; Hi Friend, Put image using ImageWrite class in the same folder where you 

Java Beginners

hi
hi  what are the steps mandatory to develop a simple java program? what is default value for int type of local variable? what are the keywords available in simple HelloWorld program? Class is a blueprint of similiar objects(True 

Java Beginners

Hi..
Hi..  what are the steps mandatory to develop a simple java program?   To develop a Java program following steps must be followed by a Java developer : First of all the JDK (Java Development Kit) must be available 

JDBC Questions

hi
hi   I have connected mysql with jsp in linux and i have used JDBC connectivity but when i run the program, its not working the program is displaying 

Java Beginners

Hi
Hi  I want import txt fayl java.please say me...   Hi, Please clarify your problem! Thanks 

Struts Questions

Hi
Hi  Hi All, I am new to roseindia. I want to learn struts. I do not know anything in struts. What exactly is struts and where do we use it. Please help me. Thanks in advance. Regards, Deepak 

JSP Servlet Questions

hi
hi   on clicking on button on 1st jsp page i want to display following options like friends,family,doctor etc.on next jsp page and also i want link to those options through which i can save the data from 1st jsp in different 

JSP Servlet Questions

hi
hi   on clicking on button on 1st jsp page i want to display following options like friends,family,doctor etc.on next jsp page and also i want link to those options through which i can save the data from 1st jsp in different 

Java Beginners

hi
* * * * * * * * * *print("code sample");   Hi Friend, Try... num=4; int p = num; int q = 0; for (int i = 0; i <= num; i++) { for (int j = p; j>= 1; j-- ) System.out.print(" "); p-=1; for (int k = 1; k <= i; k 

XML Questions

hi
online multiple choice examination  hi i am developing online multiple choice examination for that i want to store questions,four options,correct answer in a xml file using jsp or java?can any one help me?   Please 

Java Beginners

hi!
hi!  how can i write aprogram in java by using scanner when asking... to to enter, like(int,double,float,String,....) thanx for answering....   Hi...); System.out.print("Enter integer: "); int i=input.nextInt 

Java Server Faces Questions

hi
hi  sir i've a project on railway reservation... i need to connect netbeans and mysql with the help of jdbc driver... then i need to design the frame... aftr clickg run i need to enter data to ma frame and the data which i enter 

Java Beginners

hi
hi  sir i've a project on railway reservation... i need to connect netbeans and mysql with the help of jdbc driver... then i need to design the frame... aftr clickg run i need to enter data to ma frame and the data which i enter 

Java Beginners

hi.......
hi.......  i've a project on railway reservation... i need to connect netbeans and mysql with the help of jdbc driver... then i need to design the frame... aftr clickg run i need to enter data to ma frame and the data which i 

JSP Servlet Questions

hi
hi  how i get answer of my question which is asked by me for few minutes ago.....rply 

Java Beginners

Hi
Hi   I need some help I've got my java code and am having difficulty to spot what errors there are is someone able to help import java.util.Scanner; public class Post { public static void main(String[] args) { Scanner sc 

Ajax Questions

hi - Ajax
hi  hi, i am doing Web surfing project. i used start and end timepicker field.it works well. i want to display total hours by using start and end... and end time field....total hours another textfiled in that i have to display total 

Java Beginners

hi
hi  i want to use dropdown list(combo box) in html...it should contain name of country's i,e fetched from db...country names should come from db to html dropdown list...and when user selects perticular country it should go 2 db n 

Java Beginners

hi
hi  i want to use dropdown list(combo box) in html...it should contain name of country's i,e fetched from db...country names should come from db to html dropdown list...and when user selects perticular country it should go 2 db n 

Java Beginners

hi
hi  i want to use dropdown list(combo box) in html...it should contain name of country's i,e fetched from db...country names should come from db to html dropdown list...and when user selects perticular country it should go 2 db n 

Java Beginners

hi
hi  i want to use dropdown list(combo box) in html...it should contain name of country's i,e fetched from db...country names should come from db to html dropdown list...and when user selects perticular country it should go 2 db n 

JSP Servlet Questions

File not found
getting an error "emp_code.doc"(specified file not found)  Hi Friend 

Java Beginners

Hi
Hi   I have got this code but am not totally understanding what the errors. Could someone Please help. Thanks in advance! import java.util.Random; import java.util.Scanner; private static int nextInt() { public class 

Development process Questions

hi
storing data in xml file using jsp  hi i am storing data in xml file using jsp.in this when i enter data into xml file i am getting xml declaration for each specified data?can any one help me to prevent this?   < 

JSP Servlet Questions

hi..
hi..   I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read...); for(int i=0;i<arr.length-1;i++) { newstr=newstr 

JSP Servlet Questions

hi..
hi..   I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read...); for(int i=0;i<arr.length-1;i++) { newstr=newstr 

JSP Servlet Questions

hi..
hi..   I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read...); for(int i=0;i<arr.length-1;i++) { newstr=newstr 

JSP Servlet Questions

hi..
hi..   I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read...); for(int i=0;i<arr.length-1;i++) { newstr=newstr 

JSP Servlet Questions

hi..
hi..   I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read...); for(int i=0;i<arr.length-1;i++) { newstr=newstr 

JSP Servlet Questions

hi..
hi..   I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read...); for(int i=0;i<arr.length-1;i++) { newstr=newstr 

JSP Servlet Questions

hi..
hi..   I want upload the image using jsp. When i browse the file then pass that file to another jsp it was going on perfect. But when i read...); for(int i=0;i<arr.length-1;i++) { newstr=newstr 

Java Beginners

help us
help us  hai, i want org.jfree.* packages please help me to find out   Please visit the following link: Download JFreechart Download jfreechart-1.0.14.zip from the given link. Then on extracting the zip file, you 

JSP Servlet Questions

hi..
hi..  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional...=browsefile.split("/"); System.out.println("ARR is="+arr); for(int i=0;i<arr.length-1;i++) { newstr=newstr 

JSP Servlet Questions

hi..
hi..  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional...=browsefile.split("/"); System.out.println("ARR is="+arr); for(int i=0;i<arr.length-1;i++) { newstr=newstr 

JSP Servlet Questions

hi..
hi..  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional...=browsefile.split("/"); System.out.println("ARR is="+arr); for(int i=0;i<arr.length-1;i++) { newstr=newstr 

JSP Servlet Questions

hi..
hi..  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional...=browsefile.split("/"); System.out.println("ARR is="+arr); for(int i=0;i<arr.length-1;i++) { newstr=newstr 

JSP Servlet Questions

hi..
hi..  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional...=browsefile.split("/"); System.out.println("ARR is="+arr); for(int i=0;i<arr.length-1;i++) { newstr=newstr 

JSP Servlet Questions

hi..
hi..  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional...=browsefile.split("/"); System.out.println("ARR is="+arr); for(int i=0;i<arr.length-1;i++) { newstr=newstr 

JSP Servlet Questions

Hi
Hi  The thing is I tried this by seeing this code itself.But I;m facing a problem with the code.Please help me in solving me the issue. HTTP Status 500 - type Exception report message description The server encountered 

JDBC Questions

HI!!!!!!!!!!!!!!!!!!!!!
HI!!!!!!!!!!!!!!!!!!!!!  import java.awt.*; import java.sql....=con.createStatement(); int i=st.executeUpdate("insert into bankdata(name,pass...;Hi Friend, Try this: import java.awt.*; import java.sql.*; import javax.swing. 

Java Beginners

hi.......
hi.......  import java.awt.; import java.sql.*; import javax.swing.... from bank where branch='kannur'"); Statement st=con.createStatement(); int i...){ } } can anyone tell wts wrong with this code??   Hi, Check it: import 

JSP Servlet Questions

File not found
not found)  Hi Friend, Visit Here Thanks 

Hibernate Questions

mycustomer.hbm.xml not found
=q.list(); //s.getTransaction().commit(); t.begin(); int i=(Integer)s.save(mc...: org.hibernate.MappingNotFoundException: resource: p1.mycustomer.hbm.xml not found 

Hibernate Questions

mycustomer.hbm.xml not found
(); //s.getTransaction().commit(); t.begin(); int i=(Integer)s.save(mc); t.commit(); s.close...: org.hibernate.MappingNotFoundException: resource: p1.mycustomer.hbm.xml not found 

Ajax Questions

hi - Ajax
problem.if I select pirticular country display the all the states of that country.In ajax if I select particular country it is displaying empty list...); } Ajax Select One india UK US AUS   Raju 

Spring Framework Questions

spring3 mvc appliation bean definition not found error
spring3 mvc appliation bean definition not found error  hi deepak I executed the spring3 registration validation example from rose india. when I execute it shows index page, when I click on link it shows the following error 

Spring Framework Questions

spring3 mvc appliation bean definition not found error
spring3 mvc appliation bean definition not found error  hi I executed spring3 mvc with annotation example after clicking on the register page I got the following error, can you suggest me how to solve. The error message 

Java Beginners

A Simple program
A Simple program  Hi I have written the following code: class...); }//main }//class I want to add the area both rectangles and display them, but not getting how to do that. Please help me.   Hi Friend, Here is your 

JSP Servlet Questions

what are the jar files should i add to resolve the Exception(Class org.apache.jsp.index_jsp Not Found) ?
what are the jar files should i add to resolve the Exception(Class org.apache.jsp.index_jsp Not Found) ?  what are the jar files should i add... Tomcat/5.5.26 logs. Apache Tomcat/5.5.26   Hi Friend, Have you installed 

JSP Servlet Questions

i have got error while compiling simple tag handler
i have got error while compiling simple tag handler   javac.servlet.jsp not found! tell me what are the jar files required to run simple tag handler class   The package you have used javac.servlet.jsp does not exist 

JSP Servlet Questions

javax.servlet not found error
javax.servlet not found error  why iam getting javax.servlet error while running my servlet program...after setting the classpath also i am finding that problem 

Java Beginners

hi.. i hv few error. pls. - Java Beginners
hi.. i hv few error. pls.  hi sir, i have few error. can u pls help...(""); System.out.println("\t "+title[i]+"\t"+author[i]+"\t\t"+publisher[i]+"\t\t"+quantity[i]+"\t\t"+price[i]); break 

JSP Servlet Questions

no def found - JSP-Servlet
no def found  i have used the code of file upload from rose india but when i run no def found for fileupload exception although i have put jar file in lib folder code i get from D:\project\Uploading Employee Profile 

Hibernate Questions

hi i m new to hibernate..plzzzzzzzzzzzzzz help me.... - Hibernate
hi i m new to hibernate..plzzzzzzzzzzzzzz help me....  hi friends i m new to hibernate..& i m stuck in one positon in my pgm.. its a simple select...://www.roseindia.net/hibernate/selectclause.shtml Thanks.  hi deepak.. when i 

JavaScript Questions

CLASS NOT FOUND EXCEPTION
CLASS NOT FOUND EXCEPTION   I AM USING INTERNET EXPLORER VERSION 6.00 AND I WANT TO UPLOAD MY INCOME TAX RETURN ONLINE BY DIGITAL SIGN BUT WHEN I... NOT FOUND EXCEPTION AND THE BOX IS DISPLAYED AND I CLICK ON DETAILS BUTTON 

EJB Questions

Run a simple EJB code
Run a simple EJB code  I found the code this. However, as I have no idea with EJB, I can't understand how to run it. Can anybody help me by giving... is acceptable). Thanks.   Please visit the following link: Simple EJB 

EJB Questions

Run a simple EJB code
Run a simple EJB code  I found the code this. However, as I have no idea with EJB, I can't understand how to run it. Can anybody help me by giving... is acceptable). Thanks.   Please visit the following link: Simple EJB 

Java Beginners

Simple Java Projects
Simple Java Projects  Hi, I am beginner in Java and trying to find Simple Java Projects to learn the different concepts on Java. Can anyone tell me where to get it? Thanks 

Java Beginners

SQLException caught: No data found
SQLException caught: No data found  i m using ms office 2010, n when i run my source code it is giving error SQLException caught:No data found, plz help me why i am getting this exception, thanks alot, my source code 

Java Beginners

hi - Java Beginners
hi  hi sir,u provide a answer for datepicker,but i don't know how...); JOptionPane.showMessageDialog(null, "No Records Found", "No Records Found", JOptionPane.ERROR_MESSAGE 

Java Beginners

simple calculator - Java Beginners
simple calculator  how can i create a simple calculator using java codes?  Hi Friend, Please visit the following link: http://www.roseindia.net/java/example/java/swing/calculator-in-swing.shtml Thanks 

Hibernate Questions

Simple Example of Hibernate 4
Simple Example of Hibernate 4  Hi, As a new comer in the Hibernate programming, I want simple program of Hibernate to learn the basic concepts. Share me the best example. Thanks   Hi, Check tutorial: Hibernate 4 

JSP Servlet Questions

simple java search engine
simple java search engine  i have already downloaded the project simple java search engine.but i am not able to run it.can anyone help me.i have.... ABSTRACT Title : Simple Search Engine System Specification: The system on which 

Hibernate Questions

Simple application using hibernate
Simple application using hibernate  Hi, How to write a simple application using hibernate in Eclipse IDE? I would like to to learn: Process... and testing example program Thanks   Hi, I have given the links 

JDBC Questions

Simple Question - JDBC
Simple Question  Respected Sir/Madam, I am R.Ragavendran.. Can I know the following syntax is valid or not? while(rs.next()) { <% <... SQLException:No data found Exception.. Can u plz send me the other way or ways 

Java Beginners

hi - Java Beginners
) with column names,if i am using this table type table(rowno,colno) how i am set.../components/table.html Best Regards.  Hi Friend, Try the following... extends JFrame { public SimpleTable() { super("Simple JTable Test 

Spring Framework Questions

java spring simple application
java spring simple application  hai I have design a simple application in this I always found class not found exception. I am sendig code as follows... for this I have added lib files also StudentComponent.java: package 

EJB Questions

Simple EJB3.0 - EJB
Simple EJB3.0  Hi friends... I am new user for this roseindia.net.. i am new for EJB3.0 also.. >... bean on servlet/jsp. thanQ  Hi Friend, Please visit 

Java Beginners

simple code - Java Beginners
simple code  to input a number and check wether it is prime or not and print its position in prime nuber series.  Hi friend, Code... static void main(String[] args) throws Exception{ int i 

Development process Questions

Error:No Class Found Exception:org.postgresql.driver
Error:No Class Found Exception:org.postgresql.driver  Error:No Class Found Exception:org.postgresql.driver while connecting JDBC With PostgreSQL 8.4 I m running My Program with java 6.0 

General

Simple java program
Simple java program Hi this is the thing we got to do and i am totally confused on how to write this program it would be a great help i could be helped. For the part 1 i got it but the second part how do you start writing 

Travel

Latitude and Longitude of Virgin Islands (US)
Latitude and Longitude of Virgin Islands (US)  Hi, What is the Latitude and Longitude on Virgin Islands (US)? Thanks   Hi, Latitude of Virgin Islands (US) is:18 20' N and Longitude of Virgin Islands (US) is: 64 50 

Java Server Faces Questions

http 404 resource not found error
http 404 resource not found error   Sir, I have downloaded your... in tomcat manager. But when I try to run I am getting http 404 requested resource not found error. Kindly advise. ss 

Java Beginners

I don't found in Tomcat 7.0 's bin folder..
I don't found in Tomcat 7.0 's bin folder..  While making servlet using tomcat 7.0, i don't find startup.bat file in bin folder. My servlet is not working, what should i do ? Is it because of this my servlet is not working 

Java Beginners

Hi Friend..IS IT POSSIBLE? - Java Beginners
Hi Friend..IS IT POSSIBLE?  Hi Friend...Thank u for ur valuable response.. IS IT POSSIBLE FOR US? I need to display the total Number od days by Each month... WAIT I WILL SHOW THE OUTPUT 

Java Beginners

Hi ..doubt on DATE - Java Beginners
Hi ..doubt on DATE  Hi Friend...Thank u for ur valuable response.. IS IT POSSIBLE FOR US? I need to display the total Number od days by Each month... WAIT I WILL SHOW THE OUTPUT: --------------------------------- ENTER 

EJB Questions

Error in simple session bean ..................
Error in simple session bean ..................  Hi friends, i am trying a simple HelloWOrld EJb on Websphere Applicatiopn server 6.1. Can any one plz help me to solve this issue. here is the client code which i have 

Java Beginners

A simple question - Java Beginners
A simple question   Design a program to calculate either the square... the value 21.159999999 I know we need to use math function but cannot build the menu and ask user for option yes or no and continue.  Hi friend 

Java Beginners

File I/O - Java Beginners
File I/O  How to search for a specific word in a text file in java?  Hi Arnab, Please check the following code... BufferedReader(new InputStreamReader(new FileInputStream(fileName),"US-ASCII 

Spring Framework Questions

How a simple "Hello World" can be displayed using Spring 3.2 MVC?
How a simple "Hello World" can be displayed using Spring 3.2 MVC?  Hi, How a simple "Hello World" can be displayed using Spring 3.2 MVC? Thanks,   Hi, I found very useful reference site for Spring 3.2 MVC Hello 

JSP Servlet Questions

Simple problem to solve - JSP-Servlet
Simple problem to solve  Respected Sir/Madam, I am R.Ragavendran.. Thanks for your kind and timely help for the program I have asked.... But in that I am facing a very very minute problem. The alert boxes are displayed 

JSP Servlet Questions

simple bank application - JSP-Servlet
simple bank application  hi i got ur codings...But if we register a new user it is not updating in the database...so plz snd me the database also.... Thank you 

IDE Questions

Eclipse-launch failed binaries not found
Eclipse-launch failed binaries not found  I recently downloaded eclipse(eclipse-cpp-europa-winter-win32) to work on c++. I don't know how to launch a cpp program in eclipse. I will tell you the steps that I am performing 

Java Beginners

Simple Java Question - Java Beginners
Simple Java Question  [color=#0040BF] Dear All, I have a huge text file with name animal.txt, I have the following sample data: >id1 lion >id2 horse cat >id3 mouse tiger I need to save the contents 

Java Beginners

How to write a simple java applet
How to write a simple java applet   Hi, how can i write a simple java applet, displaying text in specific colors and font style. For example... in green color Help me pls :(   Hi Friend, Try the following code 

Ajax Examples

Simple Ajax Example, Developing Simple Ajax application
Simple Ajax Example       Simple Ajax Example In this tutorial we are going to develop a very simple Ajax Example. This simple Ajax example code will help you in understanding the core 

Java Beginners

I want simple steps to create Jar File of Java Project - Java Beginners
I want simple steps to create Jar File of Java Project  Hello Sir How I can Create Jar File of Java Project,plz Help Me  Hi Friend, Steps: 1. Start Command Prompt. 2. Navigate to the folder that holds your 

Struts Questions

Hi.. - Struts
Hi..   Hi Friends, I am new in hibernate please tell me.....if i am using hibernet with struts any database pkg is required or not.....without... me  Hi Soniya, I am sending you a link. I hope that, this link 

SQL Question

hi - SQL
hi  hi sir,i want to copy the mysql prompt queries to one text file,how to achieve this ,plz tell me Thanq 

Advertisements Advertisements
 

 

 

DMCA.com