call a wep page using html

Ads

 
 

Share on Google+Share on Google+

Fathi
call a wep page using html
1 Answer(s)      8 years ago
Posted in : JSP-Interview Questions
Ads
View Answers

October 20, 2009 at 10:03 AM


Hi Friend,

Try the following code:

1)callJSP.html:

<html>
<form method="post" action="http://localhost:8080/examples/jsp/hello.jsp">;
Enter Name:<input type="text" name="name">
<input type="submit" value="View">
</form>
</html>

2)hello.jsp:

<%@page language="java"%>
<%
String name=request.getParameter("name");
%>
Welcome <%=name%>

Thanks

Ads









Related Tutorials/Questions & Answers:
call a wep page using html - JSP-Interview Questions
call a wep page using html  Dear, Please I want to call a jsp page using a HTML Button called View. When the user click on it, a new JSP web page will opened. Can you help me please. Thanks in advance  Hi Friend
call json object using url and represent in html tabular form
call json object using url and represent in html tabular form  how to call json object using url from html and represent in proper format it gives Json object after that i want to arrange the keys-values in table
Advertisements
call json object using url and represent in html tabular form
call json object using url and represent in html tabular form  how to call json object using url from html and represent in proper format it gives Json object after that i want to arrange the keys-values in table
coding for home page using html
coding for home page using html  coding for home page using html
how to call servlet from html page at anchor tag ?
how to call servlet from html page at anchor tag ?  I have a very different problem as i am using netbeans ide 6.9 ml to make a website in java... it is not working properly. I split and merge template. In the header part of my page i use
Create HTML page using java
Create HTML page using java   Hi, I need to create an html page to export some information. Currently, by using java, i've exported information to excel. But now, I would like to view it in HTML instead of excel. Is there any
View source code of a html page using java ..
View source code of a html page using java ..  I could find the html source code of a web page using the following program, http://download.oracle.com/javase/1.4.2/docs/api/java/net/URLConnection.html i could get the html code
problem in linking the html page using servlets
problem in linking the html page using servlets  i want to create a login page using html & servlets and as soon as i click the login button it should open my home page. and i have saved username and password in a database
web service call in jsp page
web service call in jsp page  I am wandering on internet for hours looking for a simple and good example on how to create a simple JSP page to call a web service when you have a WSDL. I am using tomcat web server and eclipse
divide html page
divide html page   how to divide html page into 3 parts without using frames
Hi how to transfer table data from html page to excel sheet by using javascript .
Hi how to transfer table data from html page to excel sheet by using javascript .  html page to excel sheet by using javascript and i dont want to transfer all rows in table, i want to hide some rows in excel sheet. Please send
passing textbox value from one page to another page using html n javascript
passing textbox value from one page to another page using html n javascript  on button onclick event pass text box value and i want to pass value... on the othe (next/prevoious)page please help me   1)page1.html: <html>
convert html to excel using jsp
convert html to excel using jsp   i want to convert a html page into mcrosoft excel page using jsp.how i do
remote procedure call using java - JSP-Servlet
remote procedure call using java  what is the romote procedure call... Call) is a mechanism that enables a remote procedure call from a client... services to call other applications or Web services. JAX-RPC provides a uniform
how to retrieve text and images from mysql database and show on html page using jsp servlet
how to retrieve text and images from mysql database and show on html page using jsp servlet  <%@ page language="java" contentType="text/html... {color:blue} <%@ page import="java.sql.*" %> <%@ page import
html login page with ajax
html login page with ajax  hi all... i want to create a login page using html and ajax for validation is must. please help me doing that with code... and password from the user and check whether the user is valid or not by using ajax
simplest HTML page
simplest HTML page  What is the simplest HTML page
Call the parent page(uses master page) from the child page
Call the parent page(uses master page) from the child page  how to call the parent page from child without refreshing the parent and my parent window uses the master page
Call the parent page(uses master page) from the child page
Call the parent page(uses master page) from the child page  how to call the parent page from child without refreshing the parent and my parent window uses the master page
Populate value into HTML page
Populate value into HTML page  Hi, How to populate values from one html page table to another html page..? Thanks
page breaks in HTML
page breaks in HTML  How do I specify page breaks in HTML
page breaks in HTML
page breaks in HTML  How do I specify page breaks in HTML
using xml and html in xcode project
using xml and html in xcode project  i want to use xml file and html in xcode instead of plist how can i do
Html form validation using jquery
Html form validation using jquery  Hi i am using form with html. Form elements like textbox, radio,checkbox,listbox i was used now how to validate the elements using submit jquery option
HTML form validation using jquery
HTML form validation using jquery  Is there any way for validating html elements common under a class by giving its class name in jquery validation code..that means validating all elements by using its class name if those
HTML login page code
HTML login page code  Hi all, I am writing my first HTML JavaScrip... the complete HTML JavaScript code for User Login Page. Thanks in Advance!   ...;td colspan=2><font size=3><center><b>HTML Login Page
html program to create home page
html program to create home page  html program to create home page
to upload a table from DB to the same html page
to upload a table from DB to the same html page  how to make this booklist table to be opened in the same html page itself using a third frame
How to redirect from a HTML page?
to redirect to another page using HTML code. You can use the following code: <meta...How to redirect from a HTML page?  Hi, Is it possible to redirect from HTML page to another page on the net? I have one page and I want to redirect
html page viewed on different os
html page viewed on different os  The colors on my page look different when viewed on a Mac and a PC
Show Hyperlink in HTML Page
Show Hyperlink in HTML Page   ... code show you a HTML page, that create a link to another page. The code begins...; On execution of html code, the page is displayed as  The web

Ads

 
Advertisement null

Ads