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



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


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


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


Advertisement
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);
%>


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 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  Can I implement interface in jsp
jsp
jsp  how to create jsp page
JSP
JSP  How to run jsp program in eclipse
jsp
jsp  how jsp translated into servlets
JSP EL
JSP EL  hi! i am developing web app of online exam system. I want... attribute and than i wrote EL for that attribute on jsp page.But somehow i dont... to use scriptlets.Pls help me to get this solved. jsp: <%-- Document
jsp
jsp  write a code for jsp file generator to generate a jsp page automatically taking html page as input
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  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   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 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  how to upload image through csv format in jsp
jsp
jsp  I Want complete note on JSP servlet
jsp
jsp  how to delete data from database using jsp
JSP
JSP  FILE UPLOAD-DOWNLOAD code USING JSP
jsp
jsp  how to write hindi in jsp and store in database as unicode
jsp
jsp  code for jsp automatic genration using html
jsp
jsp  why jsp is translated into servlet?pls describe precisly
JSP
JSP  relevant difference between servlet and jsp in 1 line
Advertisements
 

 

 

DMCA.com