Servlet using Weblogic 8.1

Ads
 

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

Ads









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
download code using servlet - Servlet Interview Questions
download code using servlet  How to download a file from web to our system using Servlet
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
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
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
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
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
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
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
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
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
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
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
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
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>
fetch record from oracle database using jsp-servlet?
fetch record from oracle database using jsp-servlet?  how can i fetch data from oracle database by using jsp-servlet. i'm using eclipse, tomcat server and oracle database and creating jsp pages and also using 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
How to display image in jsp from database using Servlet?
How to display image in jsp from database using Servlet?  Hi, How to display image in jsp from database using Servlet? Thanks   Hi, You will find code and example program at Retrieve image from database using Servlet
How to browse excel file and stored the contents into the database using jsp/servlet?
How to browse excel file and stored the contents into the database using jsp/servlet?  Hi.. I want to browse excel file and stored the file data into the My-sql database using jsp/servlet
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
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
how to store data in other table using servlet and jsp
how to store data in other table using servlet and jsp  pls can anyone tell how to store data in other table using servlet and jsp and want to display that data too.and the data in first table must be same.pls help
how to store image in oracle express edition using servlet
how to store image in oracle express edition using servlet  strong text how to store image in oracle express edition using servlet?   Please visit the following link: Servlet Insert image into MySQL database
How to retrieve image from database using jsp and servlet?
How to retrieve image from database using jsp and servlet?  Hi, I am trying to find code for displaying the image from database in a JSP page. How to retrieve image from database using jsp and servlet
how do i upload a file by using servlet or jsp?
how do i upload a file by using servlet or jsp?  hi plz tell me the write java code

Ads