Skip to main content

Questions tagged [jsp]

JSP (Java Server Pages) is a server side technology used for presentation layer for the web applications. JSP are available on the server machine which allows you to write template text in (the client side languages like HTML, CSS, JavaScript and so on) and interact with backend Java code.

1 vote
1 answer
103 views

Make a specfic message according to missing column value

When a user input employee_id and book_title check its existence before insertion employee_id from student_table and book_title from book_table. If employee_id is available but book_title is not, ...
ELYAS AYALEW's user avatar
8 votes
3 answers
382 views

Java Servlet & JSP simple login

I am currently learning Java Servlets and JSP at university. As a little practice I created a project where I want to be able to login into a protected area. Now, I got it working by using a ...
Moglash's user avatar
  • 588
2 votes
1 answer
126 views

Java web application for sharing temporary notes

I have this web application for sharing temporary notes. It supports HTML markup (<p>, <code>, etc.) along the TeX ...
coderodde's user avatar
  • 31.9k
5 votes
2 answers
2k views

Thread Safe Servlet

I am working on a JSP MVC web application. I am confused about Thread-Safe Servlet concept. Following is my code, please tell me is it thread safe or not. Also, tell me the reason that why it is ...
Waleed Khan's user avatar
5 votes
1 answer
2k views

Java login system using JSP and servlets

The system is pretty simple. Here is how the database looks: ...
Planet_Earth's user avatar
1 vote
1 answer
977 views

Span decimal point precision

In a JSP page I have a number of Span elements. Each of this span element will be floating point numbers. All these span elements has class ...
Deepan's user avatar
  • 65
3 votes
0 answers
374 views

JSP evaluation of Parameters

I was never really sure what the cleanest way would be to use JSP-Pages for receiving sent parameters. It's common knowledge to use as little JSP as possible - yet as some things have to be done there,...
Qohelet's user avatar
  • 151
2 votes
0 answers
199 views

Managing multiple forms with individual updates and batch delete with checkboxes

I have a JSP page with a table containing data from java.util.List. The items from the list are taken from the database. Each row has an edit button that will get all the values from that specific row ...
lightning_missile's user avatar
3 votes
0 answers
4k views

Authorization token from servlet filter stores user name

I'm having some difficulty with servlet and filter lifecycles. The intention here is to use the front controller pattern with a simple login; authentication is accomplished with the filter. Am I ...
Thufir's user avatar
  • 369
2 votes
1 answer
10k views

Shopping cart application in Spring MVC

I am creating a shopping cart application to learn Spring MVC. I want to display a list of all categories and subcategories in more than one page. i.e; Home Page, Products page, and Category page. In ...
Sai Upadhyayula's user avatar
2 votes
1 answer
390 views

Open source Pastebin tool made in JSP and servlet

I'm a student and still studying. I just made my own Pastebin tool to generate source code. I've also contributed this project as an open source. You could see this project from here. If you wish to ...
user3090104's user avatar
1 vote
2 answers
7k views

Servlet and JSP for user registration, with CAPTCHA and error handling

I have a form that submits to a registration Servlet, which inserts a new user to the database when they sign up to the web application. Depending on the erroneous user input, the Servlet will ...
k_rollo's user avatar
  • 478
4 votes
1 answer
2k views

Error Handling in Servlets and JSPs

I have an HTML login form that is processed by a servlet, which then redirects the user to a result page. login.jsp: ...
k_rollo's user avatar
  • 478
1 vote
3 answers
35k views

A Java Web App with Servlets, JSP and Session: shopping cart example

This is the only Servlet I have: ...
Koray Tugay's user avatar
  • 1,587
10 votes
2 answers
654 views

Super sophisticated game information web application

Considering I've got an exam on Spring tomorrow, I figured you could review a small example application I whipped together as preparation (and as such, I'd prefer the emphasis to be on Spring-related ...
Jeroen Vannevel's user avatar

15 30 50 per page