Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

JSP Que.

Ads

 
 

Share on Google+Share on Google+

Dhaval B Leuva
JSP Que.
1 Answer(s)      6 years and 4 months ago
Posted in : JSP-Servlet

How to pass string one jsp to another jsp without using input tag????

Ads
View Answers

March 16, 2011 at 4:26 PM


1)jsp1.jsp:

<%
String st="Hello";
%>
<a href="jsp2.jsp?st=<%=st%>">Pass String Value</a>

2)jsp2.jsp:

<%
String str=request.getParameter("st");
out.println("String is: "+str);
%>

Ads









Related Tutorials/Questions & Answers:
JSP Que.
JSP Que.  How to pass string one jsp to another jsp without using input tag
que 2 - Java Beginners
que 2  WAP to input a string & print out the text withthe uppercase & lowercase letters reversed,but all other characters should remain the same. eg: input:WelComE TO School output:wELcOMe to sCHOOL  Hi Friend
Advertisements
que 1 - Java Beginners
que 1  WAP to enter a sentence & count the no. of times a particular word occurs in it.Display the frequency of the searched word. eg- input:the quick brown fox jumps over the lazy dog. word to be searched:the output
QUE 50 ...please show output also...
QUE 50 ...please show output also...  Q1. Write a program to find maximum and minimum of 3 integers using nested if-else. Read numbers as a command line argument. Q2. Write a program that prints the prime no between 0
jsp solution
jsp solution  Can you tell me i am ri8 now develop application eclipse where i suppose to create java file i know that jsp file will be put in web content folder... 2 nd que i had show many demo in you tube package (like folder
jsp
jsp  how jsp translated into servlets
JSP
JSP  How to run jsp program in eclipse
jsp
jsp  how to create jsp page
Jsp
Jsp  Can I implement interface in jsp
jsp
jsp  how to include two jsp page
JSP
what is JSP forward tag for  what is JSP forward tag for   It forwards the current request to another JSP page. Below is the syntax for the same:- <jsp:forward page="...url..." /> We can also forward parameter
jsp
jsp  how to create a table in oracle using jsp and the table name is entered in text feild of jsp page
jsp
jsp  write a code for jsp file generator to generate a jsp page automatically taking html page as input
JSP
JSP  Hi, What is JSP? What is the use of JSP? Thanks   Hi, JSP Stands for Java Server Pages. It is Java technology for developing web applications. JSP is very easy to learn and it allows the developers to use Java
jsp
jsp  how to connect the database with jsp using mysql   Hi Friend, Please visit the following links: http://www.roseindia.net/jsp/connectjspwith_mysql.shtml http://www.roseindia.net/jsp/Accessingdatabase-fromJSP.shtml
jsp
jsp   what is the basic necessities reguired for running jsp using JDBC bridge?? and how to write a jsp code to access the detail present in microsoft access pls send link regarding above
jsp
jsp  how to include google map in our jsp page
JSP
JSP   How to create CAPTCHA creation by using JSP? I need an code for CAPTCHA creation by using JSP...   You can create a captcha validation using jsp. Have a look at the following tutorial: Captcha Creation
jsp
jsp  how to write a servlet and jsp program for user login form
jsp
jsp  how to write a servlet and jsp program for user login form
jsp
jsp  how to pass jsp variable to an html page
JSP
JSP  relevant difference between servlet and jsp in 1 line
jsp
jsp  why jsp is translated into servlet?pls describe precisly
jsp
jsp  code for jsp automatic genration using html
jsp
jsp  how to write hindi in jsp and store in database as unicode