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.
22 questions
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, ...
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 ...
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 ...
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 ...
5
votes
1
answer
2k
views
Java login system using JSP and servlets
The system is pretty simple. Here is how the database looks:
...
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 ...
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,...
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 ...
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 ...
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 ...
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 ...
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 ...
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:
...
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:
...
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 ...