Home Answers Viewqa JSP-Servlet JSP-Servlet Question and Answers


JSP-ServletAsk Questions?
Latest Questions for JSP-Servlet
Please explain this code as many packages and classes are unknown to me .!
print("code sample");package bluetooth; import java.io.OutputStream; import javax.microedition.io.Connector; import javax.obex.ClientSession; import javax.obex.HeaderSet; import javax.obex.Operation; import javax.obex.
November 23, 2014 at 12:37 PM

how to download the uploaded folder files using jsp
how to download the uploaded folder files using jsp
November 20, 2014 at 2:17 AM

Login Query
how to login with usertype in jsp page and redirect then whith user tyep here is my code <% Connection con=null; Statement stmt=null; ResultSet rst=null; String email=request.getParameter("username"); St
November 5, 2014 at 11:25 PM

image is display from path of mysql database
<%@ page import="java.io.,java.sql.,java.util.zip.*" %> <% String saveFile=""; String contentType = request.getContentType(); if((contentType != null)&&(contentType.indexOf("multipart/form-data") >= 0)){ DataInputStream in =
October 4, 2014 at 1:45 AM

please reply the code to store dynamic fields in database?
<%@ page import ="java.sql.*" %> <%@ page import ="javax.sql.*" %> <%@page contentType="text/html" pageEncoding="UTF-8"%> <title>Login User</title>
October 3, 2014 at 2:58 AM

Reloading issue in jsp
I wrote one jsp page with one submit button. If we click on button it will execute business logic, but I want to stop reloading page if user refreshed the link. how we do this.
October 1, 2014 at 4:24 AM

How to get Button Id ?
How to get Button ID instead of its value in Servlet. (I am not using jsp right now...)
October 1, 2014 at 3:04 AM

calling one jap page from another jsp page
i created a button in one jsp page i need to call another jsp page as an action to that button. so how can i call.. plz any one explain. its urgent.
September 24, 2014 at 5:53 AM

How to create login page in jsp?
September 23, 2014 at 12:12 AM

How to create login page in jsp?
September 23, 2014 at 12:12 AM

Problem to get connection from DAO class to JDBC
package controller; import java.sql.Connection; import java.sql.DriverManager; public class ConnectionProvider { private static Connection con=null; //static Connection con=null; static{ try{ Class.forName(
September 11, 2014 at 12:56 AM

Page Loading Time
I have a application which has a tab type structure in the JSP front end and Java backend. On clicking a tab, it opens the list by making ajax calls to server and then in the list after double clicking any row, a page opens(ajax calls to server) w
September 5, 2014 at 1:45 AM

Fix table's column's name row(1st row of the table) so that it does not move up when the table is scrolled up to view more rows below
HI, I have a table in which the data is fetched from database. The table has 20 columns and the total number of rows depends upon the user. The table has a vertical and horizontal scroll bar. Problem: When the vertical scroll bar is used to scroll
September 5, 2014 at 1:30 AM

Sending hidden values
how to send more than one hidden values through javascript function . Main purpose is to remove href link (Query string should not appear in url bar)
September 3, 2014 at 11:39 PM

I need jsp code for how to write text field value into property file.
Hi , I need to set the text field value into property file using jsp code. Example : Username : Valar , I have entered the value "Valar" in the text field ,then the value should be stored in the property file like Username = Valar
September 2, 2014 at 6:59 AM

SocketException incompatible with java.sql.SQLException
My application fails after sometime, if i login my application getting **java.net.SocketException incompatible with java.sql.SQLException** , but once i restart the Server, it'll get back application
August 25, 2014 at 3:50 PM

display image on jsp
how to display image from database which path is coming in string. i want to display image and its discription and price. image is like link. on jsp . i am trieving that image path by which image is downloading on jsp. show i can open it.
August 25, 2014 at 1:47 PM

Inserting id in place of name to database
Hello, I have a database department where I have "id" and "name". I am fetching this data to a jsp form in dropdown list displaying "name" there and Now I wanted to insert data from this form to another table and in place of "name" of department I
August 20, 2014 at 10:45 AM

Login modification
How can I invalidate a user once he goes back to login page without signing out,I have already tried using session but it doesn't work please help!
August 9, 2014 at 2:57 PM

Storing and retrieving data alongwith image in mysql db using jsp
I want to store and retrieve the whole data as shown below in mysql db. I've put in my all efforts for building this jsp but I'm not able to understand where's the exact flaw in my code. Can anyone guide me through all this and help me out as it i
August 9, 2014 at 12:32 PM

View all discussion for JSP-Servlet