| 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
|
|
||||||||||||||||||||||||||||||
|
Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs |
||||||||||||||||||||||||||||||
Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.
Copyright © 2007. All rights reserved.
Current Comments
6 comments so far (post your own) View All Comments Latest 10 Comments: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 class path resource [hello.xml]; nested exception is java.net.ConnectException: Connection timed out.
I think it is not able to parse "hello.xml".
can you help me with that.
Posted by hossein on Monday, 10.13.08 @ 17:07pm | #81045
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"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>servletclient</servlet-name>
<servlet-class>servletclient</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>servletclient</servlet-name>
<url-pattern>/servlet/servletclient</url-pattern>
</servlet-mapping>
</web-app>
Posted by LJS on Monday, 10.6.08 @ 16:06pm | #80926
Where should I place the hello.xml if I am developing a web application using eclipse IDE?
Posted by Murali on Saturday, 09.27.08 @ 01:50am | #80731
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:\Tomcat 6.0\webapps\ROOT\WEB-INF\classes
Could it be that it doesn't like the space in "Tomcat 6.0"?
Thanks,
Patrick
Posted by Patrick on Wednesday, 08.6.08 @ 09:38am | #71249
Could you please tell me how to add an entry in the web.xml file in this example......
Posted by Shobhana Katukuri on Wednesday, 07.30.08 @ 01:29am | #69850
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</servlet-name>
<servlet-class>servletclient</servlet-class>
<servlet-name>org.apache.jsp.index_jsp</servlet-name>
<servlet-class>org.apache.jsp.index_jsp</servlet-class>
</servlet>
...
but it does work.
Thanks for your assistance.
Posted by Robinson on Wednesday, 04.30.08 @ 01:58am | #58150