-
as seen on Stack Overflow
- Search for 'Stack Overflow'
hi all.
I want to pass a textbox value from source JSP file to the destination JSP file on a href click event withour using javascripts. can anyone help me out in this?
i tried using the following method but iam getting error like "End tag is required"
<a href="/destinationFile.jsp?sDate=<%='+txtDate…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm retrieving values from database to table in jsp.(to a column)
I want to insert that value into another table in database. To do that i'm using another jsp table to insert that value in db and i call that jsp page in my previous jsp's page form action tab.
I use request.getParameter() method…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
How should I access the ServletContext from a .jsp? For example, how can I call the getRealPath method from inside a .jsp.
Here's a Servlet, which works fine:
protected void doGet(
HttpServletRequest req,
HttpServletResponse resp
) throws ServletException, IOException…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I want to upload a zip file in a jsp page and the user is sent to another jsp page after he selects and uploads the file.
In this second page I want to
1.)extract the uploaded zip file.
2.)read some content from the extracted file(s) and allow the user to change/edit them
3.)save the user changes…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
What happens when headers are repeated in a .jsp you include in another .jsp?
For example if example.jsp starts with this:
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page">
<jsp:directive.page contentType="text/html; charset=UTF-8"…
>>> More