we want to send requiest to server by html select tag

we want to send requiest to server by html select tag

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... using the tag <s:select> that creates an HTML input tag of type select
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
html:select in struts - Struts
html select in struts  What is the HTML select in struts default value
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
struts2 select tag multiple
struts2 select tag multiple  struts2 select tag multiple
select gender html
select gender html  Hi, How to create select gender combobox in html...;/select> You have to use the <select> tag in HTML for creating...: <p> Select Gender:</p> <select name="gender"> <option
select gender html
select gender html  Hi, How to create select gender combobox in html...;/select> You have to use the <select> tag in HTML for creating...: <p> Select Gender:</p> <select name="gender"> <option
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
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
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
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
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
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
meta tag in HTML
meta tag in HTML  Explain meta tag in HTML
anchor tag in HTML
anchor tag in HTML  Explain anchor tag in HTML
formatting tag in HTML
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
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
how to send html email from dreamweaver
how to send html email from dreamweaver  how to send html email from dreamweaver
text formatting tag in HTML
text formatting tag in HTML  What are the various text formatting tag in HTML
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 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="
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 - 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 - 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"  "
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
ModuleNotFoundError: No module named 'send_html_email'
ModuleNotFoundError: No module named 'send_html_email'  Hi, My... named 'send_html_email' How to remove the ModuleNotFoundError: No module named 'send_html_email' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'send_html_email'
ModuleNotFoundError: No module named 'send_html_email'  Hi, My... named 'send_html_email' How to remove the ModuleNotFoundError: No module named 'send_html_email' error? Thanks   Hi, In your python
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> <
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>
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 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
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
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
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
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
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
JSF selectItem Tag
about the selectItem tag. It can be used with any select tag of JSF html tag...JSF selectItem Tag          This tag is used to add a child component
working of a div tag in html
working of a div tag in html   !DOCTYPE html PUBLIC "-//W3C//DTD....dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows
HTML div tag
HTML div tag  I have created a webpage using the div tag. The webpage has the header and the footer. the middle area is divided into left and right parts. The left side has a list of link. The right side part basically shows

Ads