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
 
 
Hot Web Programming Job

 

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

Core Java
JSP
Servlet
JDBC
Hibernate
Struts 1
Struts 2
JSF
Spring
J2EE
J2ME
Web Services
Ajax
Dojo
MySQL
Latest Comments
Null pointer excep
swap program faile
hi.........
very good
navigaton mobile
  All Comments...
 

 

 
Struts Tutorials
*Stuts TOC
*Apache Struts Introduction
* Struts Controller
* Struts Action Class
* Struts ActionFrom Class
* Using Struts HTML Tags
*Struts Validator Framework    
*Client Side Address Validation    
*Struts Tiles
*tiles-defs.xml
*Struts DynaActionForm
*Struts File Upload
*Struts DataSource
*AGGREGATING ACTIONS
*Internationalization
Struts Resources
*Struts Books
*Struts Articles
*Struts Frameworks
*Struts IDE
*Struts Alternative
*Struts Links
*Struts Presentations
*Struts Projects
*Struts Software
*Struts Reference
*Struts Resources
*Other Struts Tutorial
Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Have tutorials?
Add your tutorial to our Java Resource and get tons of hits.

We offer free hosting for your tutorials. and exposure for thousands of readers. drop a mail
roseindia_net@yahoo.com
 
   

 
Join For Newsletter

Powered by groups.yahoo.com
Visit Group! Post Questions!

Developing Struts Application

                         

If we are asked to give a very brief outline of Struts, we can enumerate the following points.

  i) All requests are passed through a controller servlet, known as Action-servlet.

This is achieved by suitable 'url-mapping' in web.xml file.We have been doing  'URL-pattern' in Tomcat4,when using servlets.

And in j2ee webserver like Tomcat, this facilitates 'centralized-declarative change  management', by editing the concerned XML files, without touching the source or class files of the servlets.or Struts Actions...

  ii) All data submitted by user are sent to corresponding ActionForm.There are many actionforms but only one ActionServlet(because, it is the controller).

  iii) The ActionServlet, examines the source of request and   extracts the data from specified actionform and sends it to a specified instance of Action class.(as specified in struts-config.xml).

   iv) The action object carries out the business logic either directly or through helper classes , creates an instance of valuebean, populates this bean with data and sends the bean to the View JSP.( an instance of ActionForward).

 v) The important and distinctive feature of this arrangement is that the entire thing is done by 'Declarative-Management'.(and hence ActionMapping)

  vi) Sometimes, the data submitted has to be validated and error messages , generated. (ActionErrors).

 vii) We use tags in input side and also for output view.(The input form also belongs to 'view' category in MVC.)( Struts-tags)

 viii)  The details about the ActionServlet and other servlets if any ,in our application are given in web.xml

 ix) Details about various action classes,forms, action-forwards etc are given in struts-config.xml

---------------------------------------------  

It is now the right time ( & 'high time'  at that!)to take up a simple and practical example. Our focus in this tutorial is actual implementation. In an illustration,we should not introduce more than one 'unfamiliar' tool or concept. Many tutorials, bring in tools like 'Ant',  'Eclipse' etc, which have their own learning curve! Our aim is to avoid such things and yet develop a useful lesson.

--------------------------------------------

We use the following six files, in this demo, in that sequence too.

  i)  query.jsp

 ii) QueryForm.java(derived from ActionForm)

 iii)QueryAction.java(derived from Action)

 iv)  sqlbean.java ( a utility bean)

 v)  resultbean.java ( a value bean)

 vi)  result.jsp

 ( besides the web.xml & struts-config.xml files)


Where is the much-spoken-about ActionServlet?

That is provided by Struts Framework itself.

We do not subclass it, except for advanced work. It remains unobtrusively in the background , silently supervising things. As Ted Husted says, many developers leave it alone. The truth is that , we need hardly set our eyes on web.xml in this demo..or on  the sourcecode  of ActionServlet.

--------------------------------------------

In our example, the starting point is ' query.jsp', which is invoked by the URL,

'http://localhost:8080/sam/query.jsp'.The user fills up a form giving password and also an sql query.If the password is 'ADMINISTRATOR', the query is executed. Otherwise, the form is presented back to the user with the values already entered by him intact, so that he need not fill up the form again but needs to make only the required corrections. This is achieved by the FormBean. It is a Struts-specific class known as 'ActionForm'.

We provide, getter and setter methods for each of the controls in the form. In our example, these are 'password' and 'query'.We are also using struts-tags named as 'html' tags.

(for simplicity, we are using simple text rather than password control).Note the taglib directive. This is not JSTL but Struts Tag Library.We should note the following very carefully. The name of the form is given as

'queryForm'  & action is 'Query'. (the case is extremely important!).There is automatic conversion of action from 'Query' to 'Query.do'.

============================================

//    query.jsp

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<html>
<body     bgcolor=yellow>
This is query page <br>

<html:form  
action="Query"
            
name="queryForm"
            
type="demo1.QueryForm" >
Are you the Administrator?<br>
Your password  please!<br>

<html:text   
property="password" /> <br>
query <br>

<html:text   
property="query"  
                     
size="60"  />  <br>
<html:submit />
</html:form>
</body>
</html>

==============================================

Usually, in normal html forms, the control has a 'name' attribute. But in  html:text, it is known as 'property'.
The corresponding formbean is given below.

=========================================

All actions with extensions of '*.do', are automatically directed to the StrutsServlet(ie) ActionServlet. In the default web.xml file provided by the Struts application, the actionservlet is given 'URL-pattern' as '*.do'.( see web.xml)as  given below.)

-------------------------------

( We need not type even a single line of web.xml. It is already available in the Struts application.) If the full file is printed here, it will only look forbidding. So, the relevant portion alone is shown here.ActionServlet configuration mentions the name of the servlet as 'action' and gives the fully qualified class-name of servlet.

This is followed by init-parameters section.

where the 'config' param is indicated as

'struts-config.xml in WEB-INF folder of the application.(shown in bold).This is followed by servlet-mapping, as already mentioned.

Finally, we have tag-library descriptors for struts custom-tag-libs  like 'html','logic', 'bean' etc.

It is worth mentioning again that we do not have to type this file.It is equally important that we should not corrupt this file carelessly!

It is best left alone.

-------------------------------

 web.xml 

===========================================

<?xml version="1.0" ....."?>
.......
.......
........  

<!-- Action Servlet Configuration --
>
 
<servlet>
   
<servlet-name>action</servlet-name>
   
<servlet-class>

       org.apache.struts.action.ActionServlet  
 
</servlet-class>

   <init-param>
     
<param-name>config</param-name>
     
<param-value> /WEB-INF/struts-config.xml</param-value>
   
</init-param>
........
........
........
 
<!-- Standard Action Servlet Mapping -->
 
<servlet-mapping>
   
<servlet-name>action</servlet-name>
   
<url-pattern>*.do</url-pattern>
 
</servlet-mapping>
 
.....
........
........

  <!-- Struts Tag Library Descriptors -->
 
<taglib>
   
<taglib-uri>/tags/struts-bean</taglib-uri>
   
<taglib-location>
    
/WEB-INF/struts-bean.tld
    
</taglib-location>
 
</taglib>

  <taglib>
   
<taglib-uri>/tags/struts-html</taglib-uri>
   
<taglib-location>
    
/WEB-INF/struts-html.tld
   
</taglib-location>
 
</taglib>
 
<taglib>
  
<taglib-uri>/tags/struts-logic</taglib-uri>
   
<taglib-location>
   
/WEB-INF/struts-logic.tld
   
</taglib-location>
 
</taglib>
....
.....
</web-app>

==============================================

-When the user submits the query.jsp, the formbean is automatically filled up with the values from the jsp-page and the flow goes to the ActionServlet.  

// QueryForm.java 

package  demo1; 

import javax.servlet.http.*;

import org.apache.struts.action.*;

 public class QueryForm extends ActionForm

{

     String        password   =null;

     String        query      =null;

  //------------------------------

     public  String   getPassword()

     {

     return  password;

     }

         public void setPassword(String b)

         {

         password=b;

         }

  //-----------------------------

 public String  getQuery()

 {

 return  query;

 }

      public void setQuery(String  a)

      {

      query=a;

      }

 //---------------------------   

  public void reset(ActionMapping  mapping,

              HttpServletRequest  request)

     {

     password=null;

     query=null;

      }

}

==============================================

 

In the struts-config.xml file, we make two entries. One entry is for the instance of QueryForm  bean and the other entry is for the instance of QueryAction class.As the entry for 'query action' makes a reference to 'query form', let us first see the details of the entry for 'query form'.The struts-config.xml

file in WEB-INF folder is created by us and is the nerve-center of  customized functionality.

------------------------------------------

( this is the part dealing with the formbean)

 

  <form-beans>

   <form-bean  

    name="queryForm" 

   type="demo1.QueryForm"   /> 

   </formbeans>

------------------------------------

This means that our formbean is named 'queryForm' and is available in demo1 subfolder of classes folder.

(WEB-INF\classes\demo1\QueryForm.class)

Carefully note the name of the bean. It is the same name given in the instance of QueryForm

class,as it appears in QueryAction.java,given separately.(all the authors follow uniform pattern of naming the bean.The class name begins with capital letter and the instance begins with lowercase).Since all these are inter-dependent, unless we are careful, we can never even get started with invoking the form!

-------------------------------------

The next segment of mapping in

struts-config.xml deals with the action mapping for the instance of Action class, (ie) QueryAction.

----------------------------

<action-mappings>

  <action    path="/Query"

                  type="demo1.QueryAction"

                  name="queryForm"

                  scope="session"

                  input="/query.jsp" >

 <forward    name="success"

                    path="/result1.jsp" />

  <forward    name="failure"  

                    path="/query.jsp" />

  </action>

  </action-mappings>

-------------------------------------

It means that the request comes from the path "/Query.do", the corresponding action class is QueryAction  class in demo1 subfolder

of classes folder of webserver.The input is coming from query.jsp. Finally, it says that the matching form to be used is 'queryForm'.

Therefore, the action class extracts the properties from queryForm and does some validation according to our code. If the user had correctly entered the password as 'ADMINISTRATOR', processing goes on.

(the code snippet from QueryAction.java

is as given below).

---------------------------------------------

QueryForm   queryForm =(QueryForm) form;

  String       a = queryForm.getPassword();

  String       b = queryForm.getQuery();

  if(a.equals("ADMINISTRATOR"))

  {

 -------------------------------------

( Though, at first, the Struts code looks unfamiliar and frightening,on repeated reading and familiarity, it sounds like a song! Perhaps, the reason, why, users get addicted!)

Otherwise,

the returned ActionForward in the action class is "failure" and we have mapped this string to query.jsp (ie) going back to the opening form itself! We must admit that , this declarative manipulation , is  a really clever and inspired innovation,in flow management.By simply changing the entry in this struts-config file, the behaviour of the program can be easily changed.

 RequestDispatcher class instances are NOT explicitly mentioned anywhere, but the same effect is obtained.

The full code for QueryAction has been

given below..

------------------------------------------

-

//  QueryAction.java

package   demo1;

import java.io.*;

import java.util.*;

import javax.servlet.*;

import javax.servlet.http.*;

import org.apache.struts.action.*;

public class QueryAction extends Action

{

  public ActionForward   execute(ActionMapping  mapping,
                     
ActionForm     form,
                    
HttpServletRequest request,
                    
HttpServletResponse response)
           
throws IOException, ServletException {

  QueryForm   queryForm =(QueryForm) form;
 
String       a = queryForm.getPassword();
 
String       b = queryForm.getQuery(); 

  if(a.equals("ADMINISTRATOR")) {

   System.out.println (" now in QueryAction ========");
    sqlbean   bean1 = new sqlbean();
  
//  business delegation
   
System.out.println("bean1 ready");
   
String   r= bean1.getresult(b);
  
 System.out.println ("function invoked on bean1");
   
System.out.println("value is..."+r);

    resultbean   mathew = new resultbean();

    System.out.println("mathew bean created");

    mathew.setValue(r);

    System.out.println  ("value set for mathew");

    String  m = mathew.getValue();

    System.out.println("verifying the value");

    System.out.println(m);

    System.out.println ("--------ok -------------");

    HttpSession  session=request.getSession();

    session.setAttribute("result",mathew);         

    System.out.println("attribute for 'result' set as   mathew");

    resultbean   bean=(resultbean)session.getAttribute("result");

    System.out.println(bean.toString());

    String  v=bean.getValue();

    System.out.println("verifying...."+v);

    System.out.println ("now sending mathew to result.jsp");

    return  (mapping.findForward("success"));

   }else{

      return  (mapping.findForward("failure"));

  }

 }

 }

========================================

If the password is correct, the processing proceeds to create an instance of 'sqlbean'.

This type of delegating the work to a functionbean is the recommended practice. We are advised not to let the Action class itself do any business-processing directly. Instead we create an instance of functionbean and just invoke a method on it by passing the parameter and getting the return value.We illustrated the same method in the tutorial on MVC in the last edition too and so it should not be difficult to follow.

-------------------------------------

//  sqlbean.java

package   demo1;

import java.io.*;

import java.sql.*;

public class sqlbean {

  public   String  getresult(String sql)  {

     String   r = "";

    try

    {

    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

    String  url = "jdbc:odbc:dbdemo";

    Connection connection=DriverManager.getConnection(url);

    Statement   statement=connection.createStatement();

    ResultSet  rs =   statement.executeQuery(sql);

    while(rs.next())  {

       String a = rs.getString(1);

       String b = rs.getString(2);

       r=r+a+"<br>"+b+"<br>"+"---------"+"<br>";

    }

     }catch(Exception e1)   {System.out.println(""+e1); }

    return   r;

    }

}

 ==============================================

After getting the result from the utilitybean, the code creates an instance of valuebean known as 'resultbean'. This has just one property (ie) value. The name of this bean has been given as 'mathew'., just to make it standout from the crowd.And mathew's value is set as 'r'.

---------------------------------------

//   resultbean.java

package   demo1;

public class resultbean

{

  String        value;

   public resultbean(){

   value=" ";

   }

 

   public String   getValue(){

       return value;

   }

 

   public void  setValue(String   v){

       value=v;

   }

}

===================================

We now create a session context( though, some authors frown upon it ), and set the session-attribute of "result" as mathew!

Thus, we are passing the bean itself to the destination (ie) result.jsp

In result.jsp, we have used just jsp-tags like <jsp:useBean....> and <jsp:getProperty..>

Carefully note the syntax. especially the 'id' and 'name'. The 'id' is NOT 'mathew' but 'result'!.

We just extract the value and automatically display it.Thus, we have met the stringent requirement that our view pages should be absolutely free from 'scriptlets'.

------------------------------------------

//  result.jsp

<html>

<body    bgcolor=orange>

<jsp:useBean   id="result"  scope="session"  class="demo1.resultbean"  />

<jsp:getProperty   name="result"   property="value"       />

<br>

ok here

</body>

</html>

=====================================

                         

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

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

Current Comments

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

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

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

  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
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.