Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JSP-Servlet we want to send requiest to server by html select tag

Have Programming Question? Ask it here!
 
 
 


hemlata
we want to send requiest to server by html select tag
1 Answer(s)      6 years and 3 months ago
Posted in : JSP-Servlet



Advertisement
View Answers

May 26, 2008 at 6:06 PM


Hi

<%@page contentType="text/html" %>

<html>
<body>
<p><h2><font size="5" color="#800000">Request Information In JSP</font></h2></p>

<div align="left">

<table border="1" cellpadding="0" cellspacing="0" width="70%" bgcolor="#EEFFCA">
<tr>
<td width="33%">
<b><font color="#800000">Request Method:</font></b></td>
<td width="67%">
<font color="#FF0000"><%=request.getMethod()%></font></td>
</tr>
<tr>
<td width="33%"><b><font color="#800000">Request URI:</font></b></td>
<td width="67%"><font color="#FF0000"><%=request.getRequestURI()%></font></td>
</tr>
<tr>
<td width="33%"><b><font color="#800000">Request Protocol:</font></b></td>
<td width="67%"><font color="#FF0000"><%=request.getProtocol()%></font></td>
</tr>
<tr>
<td width="33%"><b><font color="#800000">Content length:</font></b></td>
<td width="67%"><font color="#FF0000"><%=request.getContentLength()%></font></td>
</tr>
<tr>
<td width="33%"><b><font color="#800000">Content type:</font></b></td>
<td width="67%"><font color="#FF0000"><%=request.getContentType()%></font></td>
</tr>
<tr>
<td width="33%"><b><font color="#800000">Server name:</font></b></td>
<td width="67%"><font color="#FF0000"><%=request.getServerName()%></font></td>
</tr>
<tr>
<td width="33%"><b><font color="#800000">Server port:</font></b></td>
<td width="67%"><font color="#FF0000"><%=request.getServerPort()%></font></td>
</tr>
<tr>
<td width="33%"><b><font color="#800000">Remote user:</font></b></td>
<td width="67%"><font color="#FF0000"><%=request.getRemoteUser()%></font></td>
</tr>
<tr>
<td width="33%"><b><font color="#800000">Remote address:</font></b></td>
<td width="67%"><font color="#FF0000"><%=request.getRemoteAddr()%></font></td>
</tr>
<tr>
<td width="33%"><b><font color="#800000">Remote host:</font></b></td>
<td width="67%"><font color="#FF0000"><%=request.getRemoteHost()%></font></td>
</tr>
<tr>
<td width="33%"><b><font color="#800000">Authorization scheme:</font></b></td>
<td width="67%"><font color="#FF0000"><%=request.getAuthType()%></font></td>
</tr>
</table>
</div>
</body>
</html>


------------------------------------------
Read for more information.

http://www.roseindia.net/jsp/javaserverpagestutorial.shtml



Related Tutorials/Questions & Answers:
we want to send requiest to server by html select tag - JSP-Servlet
we want to send requiest to server by html select tag  how we can send requiest to server using html select tag. and pass the value also ... type: Server name: Server port: Remote user: Remote
Select Tag (Form Tag) Example
; In this section, we are going to describe the select tag. The select tag is a UI tag that is used to render an HTML input tag of type select. Add...;s:select> that creates an HTML input tag of type select. This tag contains
Advertisements
dynamic generation of html:select tag from textbox value
dynamic generation of html:select tag from textbox value  Hi, I am a newbie to java and struts. In my application, I have a requirement like when i... to a dropdownlist or an unordered list and also i have to send this data to struts
dynamic generation of html:select tag from textbox value
dynamic generation of html:select tag from textbox value  Hi, I am a newbie to java and struts. In my application, I have a requirement like when i... to a dropdownlist or an unordered list and also i have to send this data to struts
JavaScript validate select tag
JavaScript validate select tag In this tutorial, you will learn how to validate html select tag. Here, we have used two select tags to select numbers in order to calculate addition of two numbers. If the user does not select any
select tag multiple values
select tag multiple values   I want to insert multiple values in database which i have selected from select tag
Select Tag&lt;html:select&gt;:
html:select Tag : Creates a HTML <select> element, associated with a bean property specified by our attributes. Select Tag<html... the Struts Html <html:select> tagWe will cover an example
struts2 select tag multiple
struts2 select tag multiple  struts2 select tag multiple
About Select tag
About Select tag  hello Sir I am using select tag in jsp page and i want to change the background color of label which I have given to the select... in select tag please give me the solution my code as follows : <s
The select tag
In this section, you will learn about the select tag of Spring form tag library
Validate <select> tag Items
Validate select tag Items  Hi, How to validate addition of two numbers of two different "select" tag items in JavaScript..? Thanks in advance
Validate <select> tag Items
Validate select tag Items  Hi, How to validate addition of two numbers of two different "select" tag items in JavaScript..? Thanks in advance
html:select in struts - Struts
html select in struts  What is the HTML select in struts default value
struts <html:select> - Struts
in the Struts HTML FORM tag as follows: Thanks...=db.getDbConnection(); PreparedStatement ps=con.prepareStatement("select Dealer_Code from op...) org.apache.jsp.jsp.editDealerNo_jsp._jspx_meth_html_options_0(editDealerNo_jsp.java:442
about select tag
about select tag  Hi, i have a doubt regarding the usage of select tag,that is,suppose i am having two dropdown boxes,based on the selection of one dropdown item another dropdown item will be displayed without interacting
nested select tag
nested select tag  My requirement is as follows suppose combobox to select country whenever i select a country it will show corresponding states...; </head> <body> <select name='country
send HTML Email with jsp and servlet
send HTML Email with jsp and servlet  Can You please show me how to send html Email using JSP and Servlet thank you
validate select tag items in javascript
validate select tag items in javascript  Hi, How to validate addition of two numbers from two different <select> tag items in JavaScript..? Thanks in advance
HTML line break tag
. In this example we will show you how to use the <br> tag. It is a html tag...HTML line break tag. The HTML Line break tag <br> is used to add a line... web page. Its very easy you just have to write <br> tag in your html page
formatting tag in HTML
formatting tag in HTML  What are the various text formatting tag in HTML
anchor tag in HTML
anchor tag in HTML  Explain anchor tag in HTML
meta tag in HTML
meta tag in HTML  Explain meta tag in HTML
Doubleselect Tag (Form Tag) Example
; In this section, we are going to describe the doubleselect tag. The doubleselect tag is a UI tag that renders two HTML select elements with second one... <s:doubleselect> that renders two HTML select elements with second
Tag Inside Table in HTML
in HTML.In this code we define a HTML page and show you to create a tag inside a Table in HTML. The following tags used in code to create tag inside table in HTML... Tag Inside Table in HTML     
HTML -- form tag.
HTML -- form tag. Description : HTML provides a form tag. It takes user... within form tag. Code : <!DOCTYPE html PUBLIC "-//W3C//DTD... language</title> </head> <body> <h1>HTML form tag
HTML audio tag
HTML audio tag  Hi, I have written a simple html page to play audio file, I m using audio tag as shown below: Your browser does not support the audio tag. when I open the page using Chrome, it works fine(plays audio
Html tag inside out implicit object
Html tag inside out implicit object          In this program we are going to use a html tag inside a out object. out object is used to display the content
text formatting tag in HTML
text formatting tag in HTML  What are the various text formatting tag in HTML
HTML text tag
HTML text tag   How to wrap text in HTML code without changing the text format
how to send html email from dreamweaver
how to send html email from dreamweaver  how to send html email from dreamweaver
HTML marquee tag
HTML marquee tag  What is Marquee Tag in HTML?  Marquee Tag in html rolls the text horizontally or vertically based on the parameters. A simple syntax to use marquee is as follows: <marquee>Hello World<
HTML - base tag example.
HTML - base tag example. Description : The base tag is a HTML tag...;title>HTML is a markup language</title> </head> <body> <h1>HTML -- base tag. </h1> &nbsp;<a href="
Send E-mail in HTML
Send E-mail in HTML       The Tutorial describes you a code that help you to send Email... to send email from HTML page. In this page user can enter Name, Email -id
struts html tag - Struts
struts html tag  Hi, the company I work for use an "id" tag on their tag like this: How can I do this with struts? I tried and they don't work
HTML - Image tag.
HTML - Image tag. Description : HTML supports two type tags. 1-Singular tag... and end tag. The img tags is used for embedding image in HTML page...;h1>Example of HTML image tag.</h1> <img src="RI
HTML - textarea tag example.
HTML - textarea tag example. Description : It is a input tag. You can enter...; <head> <title>HTML is a markup language</title> </head> <body> <h1>HTML -- textarea tag Example. </h1>
img tag of HTML
img tag of HTML  How to pass a variable as a source(src) in img tag? I'm using <% %> to call variables of servlet on a JSP page. And want to pass one of the variables called as a src for img tag. How can This be done
PHP Escaping HTML Tag
PHP Escaping Html Tag: During the parsing of a file by PHP, it looks.... The parser ignores the coding outside of the tag. In general we use <?php ?>... the time, unless you need to embed html or any other scripting tag
JSF selectItem Tag
about the selectItem tag. It can be used with any select tag of JSF html tag... for the option rendered by this tag. This value is used at server when option...JSF selectItem Tag      
Struts2.2.1 updownselect Tag Example
Struts2.2.1 updownselect Tag Example The updownselect tag is a UI tag that creates a HTML select component with buttons to move up and down the elements in the select component. When the containing form is submitted, its elements
HTML - Q (quotation) tag.
HTML - Q (quotation) tag. Description : It generates a quotation over the text. Code : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...;/head> <body> <h1>HTML -- q&nbsp; tag.</h1> <
HTML - I tag example.
HTML - I tag example. Description : It is a text formatting tag. It display...>HTML -- I tag Example. </h1> <p> Roseindia Technology Pvt...;head> <base href="http://roseindia.net"> <title>HTML
HTML - menu tag example
HTML - menu tag example Description : The <menu> is a tag of HTML...>HTML -- menu tag.</h1> <p>Creates a menu list... html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "
HTML - bold tag.
HTML - bold tag. Description : The bold tag is also a font tag. Which... within bold tag will be display as bold. Code : <!DOCTYPE html...; <h1>Example of HTML image tag.</h1> <span style="font
select tag in Struts2 to handle Enums - Struts
select tag in Struts2 to handle Enums  I have an java enum in my object. I am trying to set its values from struts2 select tag. I tried with "#list... to handle enums in struts2 select tag ?   Hi friend, Code to solve
HTML font tag.
HTML font tag. Description : It is a HTML tag, which is used for changing... : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...;html xmlns="http://www.w3.org/1999/xhtml"> <head> <
JSP:select image for db and display in image tag
image, but i am not able to use this in img tag of html...JSP:select image for db and display in image tag  Hi, i am new to this forum. My query is that, i am trying to display image in image tag but i am
JSP:select image for db and display in image tag
, but i am not able to use thin in tag of html...JSP:select image for db and display in image tag  Hi, i am new to this forum. My query is that, i am trying to display image in tag but i am
JSP:select image for db and display in image tag
, but i am not able to use this in tag of html...JSP:select image for db and display in image tag  Hi, i am new to this forum. My query is that, i am trying to display image in tag but i am
Send email as html with embedded images as background
Send email as html with embedded images as background  Hi, I am developing a PHP mailing application. I have to send image in the email as attachment. Give me solution for sending image in the email data. Thanks
Advertisements
 

 

 

DMCA.com