Skip to main content

All Questions

Tagged with
0 votes
0 answers
18 views

Unable to load tag handler class [org.apache.taglibs.standard.tag.rt.sql.QueryTag] for tag [sql:query] [duplicate]

I am new to JSP pages. I am trying to use core Tags and sql tags in JSP using JSTL. But somehow I am getting the following error.Error 500 on Compilation My JSP file is as follows: <%@ page ...
Akshaj Srivastava's user avatar
0 votes
0 answers
65 views

How to display a list from database in a JSP page [duplicate]

Cannot display data from database: Page Image: ProductListServlet.java @WebServlet("/ProductServlet") public class ProductListServlet extends HttpServlet { @Override protected void ...
Владислав Карпенко's user avatar
0 votes
0 answers
24 views

Can't Iterate List Where Come From Servlet [duplicate]

I'm trying to get product list and iterate them into JSP. There's my tried: ProductsServlet.java package product.servlet; import java.io.IOException; import java.sql.SQLException; import java.util....
bgebes's user avatar
  • 115
-1 votes
1 answer
70 views

Using JSTL to compare strings keeps failing

Using JSTL to compare strings keeps failing. Environment TOMCAT 7.0.47 JRE6 I have already imported the taglib: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&...
jun's user avatar
  • 1
0 votes
1 answer
119 views

Java servlet request working correctly only for first of multiple auto generated html elements

unfortunately this is a project for school and most of the variables are in my native language, i'll translate any if needed, but leave the code as is, just in case that's somehow the problem. I'm ...
David's user avatar
  • 306
-1 votes
1 answer
1k views

Exception : [http://java.sun.com/jsp/jstl/core] cannot be resolved in either web.xml or the jar files deployed with this application [duplicate]

I have been trying to configure the build path of the JSTL jar file in each and every tomcat server from the 8.5 version to 9 to 10 after adding the JSTL zar file to the path when I add the JSTL core ...
Biswajit Sahoo's user avatar
0 votes
2 answers
417 views

How to calculate age from date of birth

I have a user registration form where all user data is stored in database. I am listing all user data in the UI in a member listing page. In there I have to calculate the age of the user based on ...
kiranaa's user avatar
  • 17
0 votes
1 answer
413 views

How to use setup menu(values) behavior of Semantic ui to populate a dropdown with values from database

So I have a form created by using JSP and Servlet in that form i have a dropdown which i am trying to populate with the values which are in my database by using semantic UI behavior [enter link ...
SnIpEr ReLoAdEd's user avatar
0 votes
1 answer
727 views

Checking the c:if condition in jsp with request.getAttribute in different jsp file

I am trying to set the attribute value in head.jsp using request.setAttribute("pageLib", pageLib); Now, while i try to check the condition in body.jsp using <c:if test="${...
pavan's user avatar
  • 1
0 votes
1 answer
97 views

How to use attributes from servlet in several HTML pages

I am learning web dev on my own and building a website to search for restaurants in your area using the YelpAPI. I've got the search working but I want users to be able to click on one of the results ...
TTT's user avatar
  • 186
-1 votes
1 answer
209 views

When submitting the form on the jsp page is running forever

When submitting the form on the jsp page below (cadastroPaciente.jsp), the System is running forever without returning any error. I've already tested the connection alone in a Test Class and the ...
Ivonei's user avatar
  • 1
2 votes
1 answer
796 views

Unable to execute JSTL XML ForEach statements

I am new to J2EE. I have created the Dynamic web project and created JSP files to use the JSTL XML tags to parse simple xml and reading the nodes using forEach loop. I am using Tomcat 9 version. I ...
Ram's user avatar
  • 21
0 votes
0 answers
16 views

jstl, retrieving arraylist of objects in jsp from servlet inside <script> tags [duplicate]

I have an arraylist of objects from my backend which arrives in my servlet. From there I send it to a jsp page where I want to use it from inside a <script></script>. I have tried using: ...
matthewjava's user avatar
0 votes
1 answer
192 views

Drop down list is causing an error on the jsp page

I was trying to create the drop-down list to delete the booktag value by retrieving the data and using the remove function from the DAO class but it made this error: "java.lang....
SolidAce's user avatar
0 votes
1 answer
278 views

How to iterate over a list of object and store data in onclick button in jstl? [duplicate]

I am extracting and printing a list of studentBean in my jstl page. Along with this also want to create a button beside each extracted object. When user clicks on that he/she gets directed to that ...
AATIF KHAN's user avatar

15 30 50 per page
1
2 3 4 5
29