473,657 Members | 2,707 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

procedure for excecuting and writing the Servlets program

13 New Member
Sir! thanks i got reply for my last posting.

now please tell me the procedure for excecuting and writing the Servlets programs and please also explain the procedure for seting the path for my computer .............. if possible with an example.
Sep 5 '07 #1
4 1608
JosAH
11,448 Recognized Expert MVP
Sir! thanks i got reply for my last posting.

now please tell me the procedure for excecuting and writing the Servlets programs and please also explain the procedure for seting the path for my computer .............. if possible with an example.
Please don't ask you question in the Java Articles section; I'll move your question
over to the Java Forum section.

kind regards,

Jos
Sep 5 '07 #2
Nepomuk
3,112 Recognized Expert Specialist
Sir! thanks i got reply for my last posting.

now please tell me the procedure for excecuting and writing the Servlets programs and please also explain the procedure for seting the path for my computer .............. if possible with an example.
If you want to run a Servlet, you'll need a Java Server. A good choice would be Tomcat, maybe connected with Apache.

Using this isn't that easy, when you're a beginner, but you can find tutorials online - both on handeling Servlets and on using Tomcat. I would suggest, you download and install Tomcat, have a look at a few Tutorials and if you have questions, ask here! As I said, it isn't that easy, so don't worry if you don't manage directly.

Greetings,
Nepomuk
Sep 5 '07 #3
ttamilvanan81
35 New Member
hai, please refer the following link, you will get the solution for your problem
In this link also provide to download option for the Tomcat server

http://www.roseindia.n et/servlets/index.shtml

Please visit the link above

Regards

Tamilvanan
Sep 6 '07 #4
javafriend
1 New Member
For servlet purpose you have to import javax package. we can write servlets in two ways. 1. implements servlet interface. 2. extends Generic Servlet. First u install Tomacat keep your programme WEB-INF/classes. write web.xml
Sep 7 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
1779
by: mark1822 | last post by:
Hi, I am trying to figure out if I should learn C and C++ to write CGI programs, or if I should just use PHP for my web site. I want to write a high traffic website that would call executibles a lot dealing with text. Are CGI programs written in C faster then PHP script programs?
3
6530
by: Jose Munoz | last post by:
Hi all, I want to share some data for all my applications (servlets and jsps). For this i am using a JSP to set the variables with scope=application. When i get this data from some JSP all is o.k, i can see the data that i saved, but when i get access with my servlets, i can't see data saved prev. My request is simple: save data with a JSP and read this data with servlets.? please if you send me a small sample to do this. or tell me...
2
3142
by: Michael | last post by:
Running DB2 v7 UDB ("DB2 v7.1.0.93", "n031208" and "WR21333") on Windows XP, I am unable to find out why the "Build for Debug" option within Stored Procedure Builder is not enabled on Java stored procedures. It is enabled for SQL stored procedures. It is possible to "Build" and "Run" the Java SPs, it just isn't possible to click on the "Build for Debug" option. Thanks for any help in advance. Michael
9
15407
by: Leedrick | last post by:
Hi, In the past I have been dealing mainly with sql server, and recently been given the task of supporting software that uses db2 on as400. Simple tasks such as executing a stored procedure from a query window have proven more troublesome than I expected. The procedure I'm trying to call has an output argument. I can't seem to declare a variable to pass outside of a procedure or function, and
11
4370
by: c676228 | last post by:
Hi everyone, I am just wodering in asp program, if there is anybody writing store procedure for inserting data into database since there are so many parameters need to be passed into store procedure(assume there are many columns in the table). I need to insert data into two separate tables, the relation between these two tables is 1 row of data in table1 could have multiple rows in table2 related to table1, but if the data insertion into...
3
1959
by: Bit Byte | last post by:
I have written a custom servlet engine (and "wrapper" servlets) for some legacy code (C/C++) that I have. The servlets contain the bulk of my 1st 2 layers in a 3 tier architecture - i.e. data layer and business logic layer respectively. Is it technically possible to use my servlets for the first two layers and then use ASP.Net for the presentation layer (i.e. using webforms etc)? The obvious "bridge" would be SOAP, but I want a more...
14
2051
by: abctech | last post by:
Helo experts, I'm working on my first ever web application and I have some basic questions related to servlets if I may, I have 5-6 Java statements and preparedstatements in my servlet to execute a number of MySQL queries for different tables, do I need to open a new connection to the database for each query or can I just create one connection and use it for all the queries? Also, if I'm using a preparedstatement and resultset for a...
0
1988
by: ank99 | last post by:
hello...i m trying to run servlets(using GET) from wml page..... using apache tomcat 5.5 server and WinWap for Windows(version 3.2.1.28.)....its working fine as far as just to display wml form page... but when i enter the data within wml page(i.e. compname) then address within browser gets to http://localhost:8080/servlets-examples/servlet/portsam?compname=abc-b39ea2eee69 as per required but it says it could not get required URL(HTTP Error...
1
2779
by: ank99 | last post by:
hello...i m trying to run servlets(using GET) from wml page..... web server : apache tomcat 5.5 server WAP Browser: WinWap for Windows(version 3.2.1.28.).... its working fine as far as just to display wml form page... but when i enter the data within wml page(i.e. compname) then address within browser gets to http://localhost:8080/servlets-examples/servlet/portsam?compname=abc-b39ea2eee68 as per required but it says it could not get...
0
8392
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8305
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8825
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7324
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6163
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.