traansfer of files between jsp pages.
i am trying to create a dynamic web project which performs XOR operation on a file uploaded by a user by converting its contents to ASCII code.
i got the process to upload a text file and put it on the servlet.
this is the code ive been able to do:
<form name="formLogin" method="post" enctype="multipart/form-data" action="Encrypt1.jsp">
<table width="100%" border="0" cellspacing="5" cellpadding="2">
<caption> Upload file here </caption>
<tr valign="bottom">
<td class="smallgrey" valign="baseline">File:</td>
<td valign="top">
<input name="file" type="file" id="file" />
</td>
</tr>
<tr><td><input type="submit" value="submit"/><input type="reset"/><br /></td></tr>
</table>
</form>
now i dont know how am i supposed to retrieve this file in the next jsp page.
and moreover am i supposed to do anything more in order to make the file move via servlet?
View Answers
Ads
Related Tutorials/Questions & Answers:
traansfer of files between jsp pages.
traansfer of
files between jsp pages. i am trying to create a dynamic web project which performs XOR operation on a file uploaded by a user...
jsp page.
and moreover am i supposed to do anything more in order to make
passing data between the jsp pages ?
passing data
between the
jsp pages ? i developed a project... the roll number and when we press submit button on that page it moves a
jsp page .on that
jsp page it retrieve marks regarding the particular roll number
Advertisements
How to manage cookie in between two JSP Pages
How to manage cookie in
between two
JSP Pages How to manage cookie in
between two
JSP Pages
you can set cookies in response object e.g.response.addCookie(new Cookie("userName","Password")).
Chandraprakash Sarathe
jsp pages
jsp pages I am using 3
jsp pages in an application..
1.login.jsp
2.checkuser.jsp:is connected to databse..from this page im giving path to search.jsp
3.search.jsp:Here we need fetch data from data base..do u want to connect
Difference Between Servlet and JSP
Difference
Between Servlet and
JSP
In this section we will describe the Servlet and
JSP. We will compare the
both technologies. We will discuss the differences
between Servlet and
JSP.
Servlet
Servlet is a Java class that is usually
Java Server Pages(JSP)
Java Server
Pages(
JSP)
JavaServer
Pages (
JSP) technology provides... and
platform-independent. The JavaServer
Pages specification extends the Java
Servlet API
Uploading Multiple Files Using Jsp
Uploading Multiple
Files Using
Jsp
 ... to understand how you can upload multiple
files by using the
Jsp.
We should avoid to use
Jsp for performing any logic, as
Jsp is mainly used for the presentation
Upload and Download Large files in jsp
Upload and Download Large
files in jsp I am not able to download large
files (>200mb) from any server. I need a code to download and upload large
files (atleast 4 gb) to a server using
jsp page
get data between date using jsp with msaccess
get data
between date using
jsp with msaccess hi, urgently i need program for get data
between date using
jsp with MsAccess database.plz any one can help me.thanks for anyone replay with regards c.b.chellappa
regarding java files genarated by jsp
regarding java
files genarated by jsp Hi,...
I'm running a project in tomcat server,
It is showing the following error
"An error occurred at line: 233 in the generated java file
Syntax error, insert "}" to complete Block
JavaServer Pages (JSP) Roseindia
JavaServer
Pages (
JSP) is used to develop dynamic web content on the server
using HTML, XML templates, and Java code.
JSP is extensively used because...
pages
that get compiled into Java servlets the first time they are invoked.
JSP
JSP View Files
This section contains
JSP view
files of the Spring and Hibernate JPA integration application example
Writing jsp files in struts2.2.1
Writing
JSP files in Struts2.2.1
It is a struts2.2.1 database connectivity... Admission Form</title>
</head>
<body>
<
jsp:include page="header.jsp"></
jsp:include>
<h3 style="color: green
JSP - Java Server Pages
JSP
JSP stands for Java Server
Pages.
JSP is Java technologies for creating
dynamic web applications.
JSP allows the developer to embed Java code inside...
technologies.
Learn
JSP programming with the help of tutorials and example
Thumbnail creator for uploaded video files in jsp
Thumbnail creator for uploaded video
files in jsp i am working in
jsp..i need a thumbnail creator for the video that will be uploaded by the user of my website(like youtube)...Once the video has been uploaded,i wanna display
Java Server Pages (JSP)
Java Server
Pages (
JSP)
In this tutorial we are going to give you over view... Dynamic Elements in
HTML
Pages itself.
JSP are always compiled before it's..., JNDI, EJB,
JAXP etc.
Process of JSP -
To process the
JSP pages
Uploading Multiple Files Using Jsp
Uploading Multiple
Files Using
Jsp
 ... to understand how you can upload multiple
files by using the
Jsp.
We should avoid to use
Jsp for performing any logic, as
Jsp is mainly used for the presentation