User Comments for the tutorial:


Total comments: 11      View Tutorial    Discuss: SPRING ... A JUMP START



Can't seem to get servlet working ....
I've copied everything verbatim. The only questionable part may be the "Add entry to web.xml file". Can you please provide me with how the web.xml file should look like? I have it as: ... <servlet> <servlet-name>servletclient</s 

Great demo
Hi, Just wanted to say how well this works. Very quick demo apps. Esp delighted getting the servlet running in tomcat. Thanks, its been a great help. Des 

question in spring basic program
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lo gging/LogFactory at org.springframework.util.ClassUtils.<clinit>( at<init>(ClassPath 

how to add an entry in web.xml in this example
Could you please tell me how to add an entry in the web.xml file in this example...... 

HTTP Status 404 error
After I click on the Submit Query button, I get this error message: HTTP Status 404 - /servlet/servletclient The requested resource (/servlet/servletclient) is not available. I'm guessing it can't find the file servletclient.class under the c:\T 

Relevant web.xml entries
Here's the web.xml you need: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" ""> <web-app> <servlet> <serv 

can not run
Hi, I don't know why, But in Line: BeanFactory factory = new XmlBeanFactory(res); I get time out error and exception. this is the exception: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from cla 

Cannot setup classpath and use on ubuntu
javac -cp /home/user/Desktop/springdemo/spring.jar:/home/user/Desktop/springdemo/commons-logging.jar cannot find symbol symbol : class hello location: class helloclient hello bean1=(hello)factory.getBe 

Where should I place the hello.xml if I am developing a web application using eclipse IDE? 

parsign error
Hi There, Its not able to hello.xml in classpath , hence its giving IOException. In eclipse just point classpath to the folder in which the hello.xml is placed and it will work fine  

f:\springdemo>set path=c:\windows\command;g:\jdk1.5\bin (* Set path for jdk1.5 or jdk1.4.2 only. ) f:\springdemo>set classpath=f:\springdemo; f:\springdemo\spring.jar; f:\springdemo\commons-logging.jar I am having trouble with these things. 

Related Tutorial and Articles
Hibernate Questions

myJSF,Hibernate and Spring integration code is not working. - Hibernate
myJSF,Hibernate and Spring integration code is not working.  the code given in this url : i have... not able to get the proper page. so, plz help me out. plz give the steps to run 

Spring Framework Questions

Working Example for Spring AOP - Spring
Working Example for Spring AOP  Hi All, I need a complete working Java example /Code/Logic for Spring -Aspect Oriented Programming. Code provided will be highly appreciated. -- Deepak Lal 

Struts and Hibernate Integration Tutorial

Spring Context Loader Servlet
Spring Context Loader Servlet   ... with ContextLoaderListener. Else or if working with a Servlet 2.2 container, stick...; <!-- Spring context loading ends--> <!-- Standard Action Servlet 

Spring Framework Questions

ClassPathResource class is not working - Spring

JDBC Questions

mysql error 1042 can't get hostname for your address
mysql error 1042 can't get hostname for your address  Hi, I am not able to connect to MySQL database. Its giving following error: mysql error 1042 can't get hostname for your address How to solve this error? Thanks   

Spring Framework Questions

Questions on Spring - Spring
in Spring ? 3> what is Spring - Aspect Oriented Programming,Please explain with a working Example for Spring - Aspect oriented Programming Concept.?  ...Questions on Spring  1> what is Spring Framework ? why does 

Java Beginners

How to get UTF-8 working in java webapps?
How to get UTF-8 working in java webapps?  How to get UTF-8 working in java webapps 

Spring Framework Questions

spring   package bean; public interface AccountsDAOI{ double...); } } // when i'm trying this code in myeclipse it got executed. but its not working normally. i set the classpath=D:\java softwares\ST-IV\Spring\spring-framework-2 .5.1 

JDBC Questions

can't connect to MySQL Server(10060) - JDBC
can't connect to MySQL Server(10060)  Hii Sir, I am working with a jsp project with MySQL as server. Now i want to host my application. I am created a DB in the Hosting MySQL server and now i want to create a table By using 

JavaScript Questions

Datagrid not working
Datagrid not working  The code here is working fine, apart from the fact that that I'm using netbeans 6.5 and the servlet v2.5 and struts 1.1.... working. please help me out