Servlet using Weblogic 8.1

Servlet using Weblogic 8.1

I am developing a simple application in servlet, Which will accept a name and after produce the name with Welcome Message.

I am using Weblogic 8.1.

My Html Page is

<html>
<head><title>WEb Application</title></head>
<body>
<form method="get" action="WelcomeServlet">
NAME :<input type="text" name="txtname"><br>
<input type="submit" value="SUBMIT">
</form>
</body>
</html>


And, My Servlet Page is

import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;

public class WelcomeServlet extends HttpServlet
{
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
{
String name=request.getParameter("txtname");
response.SetContentType("text/html");
PrintWriter out = response.getWriter();
out.println("WELCOME"+name);
out.close();
}
}

Please , tell me the complete procedure to it , its directory structure, and weblogic 8.1 configuration for it.

Thanks & Regards,,

View Answers









Related Tutorials/Questions & Answers:
Servlet using Weblogic 8.1
Servlet using Weblogic 8.1  I am developing a simple application.... I am using Weblogic 8.1. My Html Page is <html> <head>..., and weblogic 8.1 configuration for it. Thanks & Regards,,    
servlet with weblogic
servlet with weblogic  hi everyone.... When I'm running this program on weblogic server8.1 import java.io.*; import java.sql.*; import... javax.servlet.ServletException: Servlet class: 'DataInsertion' couldn't
Advertisements
Deploying Servlet in Weblogic 9.2 - Servlet Interview Questions
Deploying Servlet in Weblogic 9.2   Hi Friend thanks in advance, can u give me steps for deploying servlet using weblogic server 9.2
Servlet - WebSevices
Servlet  How to deploy servlet in weblogic 8.1
Deploying Servlet in Weblogic 9.2 - Servlet Interview Questions
Deploying Servlet in Weblogic 9.2  Hi Friends, I am new to web... in target server. I am using Struts framework,servlets and hibernate.Jsp for page..., a developer may be able to extend an FTP server or an SMTP server using servlets
HTTP 500 Internel server error in Custom tag program on Weblogic 8.1 - Java Beginners
HTTP 500 Internel server error in Custom tag program on Weblogic 8.1  Dear sir, Please attend my problem... I face the Error 500 Internel server error when I run the custom tag program on weblogic 8.1. My program Structure
servlets using weblogic server - Java Beginners
servlets using weblogic server  [J2EE:160043]Missing deployment... msg in weblogic server...rgv.war is wat i hav creaated. can u pls send me the detail procedure to deploy a web application module using weblogic..thnx
weblogic 9.1 - WebSevices
weblogic 9.1  How to working on weblogic server ??? how to deploy on weblogic server ???? how to retrieve data for te server ???? differt bettw weblogic 8.1 ,9.1 & 10
Login issue using Servlet
Login issue using Servlet  Hi all, I need a code for login using servlet where in I want to check and validate user name and password from database also I want to check candidate's class (for ex. FY, SY, TY) if candidate's class
download code using servlet - Servlet Interview Questions
download code using servlet  How to download a file from web to our system using Servlet
websphere vs weblogic
websphere vs weblogic  websphere vs weblogic Why you are using websphere instead of weblogic
Display helloworld using servlet in jboss
Display helloworld using servlet in jboss  import java.io.*; import...;servlet-name>Hello</servlet-name> <servlet-class>HelloWorld</servlet-class> </servlet> <servlet-mapping> <servlet
javascript for textbox or prompt using servlet - JSP-Servlet
javascript for textbox or prompt using servlet  Dear sir I am writing script in servlet,so prompt() is not working here so please help me...("document.attach.action=\"../servlet/del_files\";"); out.println("document.attach.submit
WebLogic Server Tools for Eclipse 3.3
Features Supports versions 10.0, 9.x and 8.1 of BEA WebLogic Server... applications. Includes tools for using WebLogic J2EE Libraries from Eclipse... WebLogic Server Tools for Eclipse 3.3   
javascript for textbox or prompt using servlet - JSP-Servlet
javascript for textbox or prompt using servlet  Dear sir, I am using a prompt(),when a delete is confirmed,its working fine ,but when...*; import javax.servlet.*; import javax.servlet.http.*; public class Servlet
How to upload files to server using JSP/Servlet?
How to upload files to server using JSP/Servlet?  How to upload files to server using JSP/Servlet
Pagination with condition using servlet or jsp
Pagination with condition using servlet or jsp  Hi, Thanks in advance. I have a requirement like this, In front-end page I have one text... I retrieved using "String name=request.getParameter("name of that text box
Weblogic - EJB
Weblogic  How can i download the weblogic sever of application develop could u provide the link for that.  Hi friend, Download the weblogic sever of application visit to : http://www.roseindia.net/javabeans
Deployment Steps in Weblogic Server - Development process
Deployment Steps in Weblogic Server  Hi Friends, Can anyone give me steps for Deploying application in web logic server ( both versions 8.1 and 9.2 ) with Eclipse IDE
online test software using jsp and servlet
online test software using jsp and servlet  online test software using jsp and servlet
Using insert update and delete in the same servlet
Using insert update and delete in the same servlet  How to write insert, update and delete coding in the same servlet
Using Scriplet in JSP - JSP-Servlet
Using Scriplet in JSP  Hi, I need to display suitable fields in my... on } IN HOME JSP ****** home.jsp **** Currently I am directly using... Can anybody please help me in using scriplets over here
Jsp using mvc - JSP-Servlet
Jsp using mvc  hi I have written using mvc2 architecture, i have written logic in java ,i want to print a message on the form stating the the values are inserted successfully.So can you tell me how i have to write the code
edit database using jsp and servlet
edit database using jsp and servlet  I am creating a website using jsp and servlets that is used to view houses from a database. I want to be able to edit the information of each house. showAll.jsp shows all the houses and beside
Crop image Using JQuery, servlet or JSP.
Crop image Using JQuery, servlet or JSP.  Hi sir I need the code of Cropping image using JQuery with the help of servlet or JSP. I need both the code Client side as well as of server side. Please Help me
Using a user defined non-packaged servlet class in jsp. - JSP-Servlet
Using a user defined non-packaged servlet class in jsp.  i want know that how to use a user defined java servlet function's, variables and methods of a user defined java servlet in jsp.if possible plz try to explain with a simple
weblogic server
weblogic server  as a java developer how much knowledge he has to know about the weblogic sever,if one know please give me reply   WebLogic is a server software application that runs on a middle tier, between back-end
Radio button validation using jsp - JSP-Servlet
Radio button validation using jsp  I had one jsp Page and servlet. I did my validations in servlet for my jsp page which contains the radio buttons.Here,the servlet acts as controller and if there is any null(i.e., not choosen
Creating and Initializing a Servlet using Annotation
Creating and Initializing a Servlet using Annotation In this tutorial you will learn how a servlet can be created using Annotation To create a servlet using... annotation holds metadata of the servlet is to be declared. The servlet which
how to display a table from database using servlet
how to display a table from database using servlet  how to display... the following link:ADS_TO_REPLACE_1 http://roseindia.net/jsp/servlet-jsp-data... the following link: http://roseindia.net/jsp/servlet-jsp-data-list.shtml ThanksADS
Insert Image into Database Using Servlet
Insert  Image into Database Using Servlet   ... image into database table using Servlet. This type of program is useful in social... the image from database using Servlet. After retrieving the image from database
Insert  Image into Database Using Servlet
Insert  Image into Database Using Servlet   ... of inserting image into database table using Servlet. This type of program is useful... to retrieve the image from database using Servlet. After retrieving the image from
code for password strength using jsp-servlet
code for password strength using jsp-servlet  hi.............. plz help me to give code for password strength using jsp-servlet for implementation in my project as soon as possible because i want to show this functionality in my
jsp page authentication panel using jsp/servlet?
jsp page authentication panel using jsp/servlet?  I have 10 jsp jsp forms and 7 users and i want to grant variour permission like edit,delete and save for users dynamically on forms.So please refer me code
weblogic
get info from mysql using jsp and servlet
the user to key in their email address from mysql database by using servlet and jsp too...get info from mysql using jsp and servlet  HELLO! I wanna create... (Exception e) { e.printStackTrace(); } } } 3)web.xml: <servlet-name>
Upload Excel into Database Table Using SERVLET - JSP-Servlet
Upload Excel into Database Table Using SERVLET  Hi i hava sitution... in database table are NAME,ID,SAL. please help me to upload that excel using SERVLET
Handle mail function using JSP & Servlet
appointment. I'm using JSP & Servlet and apache web server. I'm developing this using e-clips IDE. Please be kind to provide sample code for this requirement...Handle mail function using JSP & Servlet  Dear Sir, for my final year
Defining and using custom tags - JSP-Servlet
Defining and using custom tags  Hi Sir, I want to know... is translated into a servlet, the tag is converted to operations on an object called a tag... servlet is executed. TLD files deploys the custom tag libaries - encapsulated
Retail Point Of sales (using jsp and servlet)
Retail Point Of sales (using jsp and servlet)  Hi, i want to know how to add products using search module, i have a database and created a product module which you can list all the available products to process sales on new sales
upload a file and write it in JSP using servlet
upload a file and write it in JSP using servlet  Hello, I'm facing a problem here. I want to upload a file through abc.jsp and write the contents of file using a servlet in xyz.jsp. It is supposed to be a excel file which
Sorting data in a jsp using a servlet while implementing comparable - JSP-Servlet
Sorting data in a jsp using a servlet while implementing comparable  ... which is stored in the session scope of a servlet. Below is its code...) { this.price = price; } } Then there is a controller servlet bellow: /* * To change
Deployment steps in weblogic 102 - Development process
Deployment steps in weblogic 102   Hi Friends, can u give me d deployment steps in weblogic server 10.2(both jsp and servlet ..... how to export war file?) ..Thank u in advance
Servlet - Servlet Interview Questions
Servlet  How To WAR servlet programs and how to deploy in weblogic
WebServices deployment in Weblogic - WebSevices
WebServices deployment in Weblogic  Hi, I want to create a service using Axis2 and deploy the service in Weblogic, along with my application war file. What is the common practice? Thanks in Advance, VJ
how to connect j2me program with mysql using servlet?
how to connect j2me program with mysql using servlet?  my program...(); // Get the response from the servlet page... like db,user and pwd and pass to servlet */ public void connectDb(String
unable to retrive the data from mysql using servlet using jdbc driver
unable to retrive the data from mysql using servlet using jdbc driver  Hi, i have a servlet program..to verify the login and redirect to correct html page on verification. public class LoginServlet extends HttpServlet implements
Dynamic loading of Combo box list using servlet - JSP-Servlet
, retrive it in a servlet, By using this value communicate to the data base...Dynamic loading of Combo box list using servlet  I have the category...; Hi friend, dynamic bombobox in servlet
How to delete the row from the Database by using servlet
by using servlet program (Tomcat server). The given data is true...: Delete row from database using servlet   In that link solution...How to delete the row from the Database by using servlet  Dear Sir
Weblogic server - Java Beginners
Weblogic server  how can we create connection poolong in weblogic 9.1 application server

Ads