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
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
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
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
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