| 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
17 comments so far (post your own) View All Comments Latest 10 Comments:i dont how to set the environment variable path to servlet.jar.please help me
thank you...
Posted by peter on Sunday, 10.5.08 @ 00:08am | #80900
sir
i have small problem,where can i run the servlets program i have Mysql&netbeans i just make a servlet now what i hav to doto run . i am fresher & learing java from ur site this site is enough to learn java.sequentialy tell me how to run servlets programs in html and jsp also how to run give me thats code deatils
rgds
sudhakar.s
Posted by sudhakar.s on Friday, 09.19.08 @ 13:25pm | #80486
firstly i want to tell you we can create servlet by two way:--
1- By extending GenericServlet class
2- By extending HttpServlet class
in 1 we will override service method
in 2 we override processRequest method
Posted by dinesh on Friday, 08.1.08 @ 22:48pm | #70365
hai
I have wrote in one program using java servlet,but i don't know familiar to run this servlet,how can i run? can u help me?........
thanks in advance
Posted by kala on Thursday, 06.19.08 @ 11:29am | #63834
hello,
sir,
can u explain how to run servlets,
with examples
Posted by shiva on Thursday, 12.20.07 @ 17:14pm | #43114
someone said its better late than never..roseindia..u r doing an awesome job to millions of ppl around d world..thanks a lot.
Posted by dj on Wednesday, 12.5.07 @ 05:20am | #41317
sir
i have small problem,where can i run the servlets program i have tomcat & ecllips 3.1 and i know working on ecllips, i just make a servlet now what i hav to doto run . i am fresher & learing java from ur site this site is enough to learn java.sequentialy tell me how to run servlets programs on ecllips
rgds
rajesh
Posted by rajesh on Sunday, 12.2.07 @ 05:41am | #41077
is that xml language necessary to know for the learning of servelts
Posted by ramya on Tuesday, 09.18.07 @ 17:02pm | #27487
sir
i have small problem,where can i complie the servlets program i have tomcat also but i dont know how to run the program plz tell me i am a fresher i am learing java from ur site this site is enough to learn java.sequentialy tell me how to run servlets programs.
Regards,
sujit kumar
Posted by sujit kumar on Tuesday, 09.18.07 @ 03:49am | #27444
sir
i have small problem,where can i run the servlets program i have tomcat also but i dont know how to run the program plz tell me i am a fresher i am learing java from ur site this site is enough to learn java.sequentialy tell me how to run servlets programs.
Regards,
rajani
Posted by rajani on Thursday, 08.9.07 @ 16:55pm | #23021
Great web portal. Have just one question on the
text in this page. The text says "As we know that the our servlet extends the HttpServlet and overrides the doGet() method which it inherits from the HttpServlet class. The server invokes doGet() method whenever web server recieves the GET request from the servlet".
Did you mean to say that goGet() method is invked by web server when it received the GET request from the client/user?? I don't quite understand what you mean by "GET request from the servlet". Please clarify
Posted by Vijay on Friday, 06.1.07 @ 00:55am | #17892
Why servlet is not having main method???
Posted by sankar prasad brahma on Friday, 05.18.07 @ 12:34pm | #16362
hi,
It's better to provide the digramatic prasntation of the folder structure from WEB-INF
Posted by Arun on Wednesday, 05.9.07 @ 19:50pm | #15512
sir
i have small problem,where can i run the servlets program i have tomcat also but i dont know how to run the program plz tell me i am a fresher i am learing java from ur site this site is enough to learn java.sequentialy tell me how to run servlets programs.
rgds
bhushan
Posted by indu bhushan on Friday, 04.20.07 @ 17:53pm | #14633
u have to download tomcat and install it.
then put the servlet class under the tomcat
install_dir\webapps\ROOT\WEB-INF\classes\YOURSERVLET_CLASS.. then make a web.xml file looks like following:
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"
version="2.5">
<display-name>hello</display-name>
<description>
Running YOURSERVLET
</description>
<servlet>
<servlet-name>YOURSERVLET</servlet-name>
<servlet-class>YOURSERVLET</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>YOURSERVLET</servlet-name>
<url-pattern>/YOURSERVLET</url-pattern>
</servlet-mapping>
</web-app>
then dump it under tomcat install_dir\webapps\ROOT\WEB-INF
please let me know if it is worked.
Posted by penny on Friday, 04.20.07 @ 14:38pm | #14621
How to run the servlet program
Posted by Irfan on Monday, 04.16.07 @ 11:33am | #14302
sir
i have small problem,where can i run the servlets program i have tomcat also but i dont know how to run the program plz tell me i am a fresher i am learing java from ur site this site is enough to learn java.sequentialy tell me how to run servlets programs.
rgds
raju
Posted by raju on Wednesday, 03.21.07 @ 13:04pm | #12336