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
1 vote
1 answer
45 views

JSP: "object cannot be resolved to a variable" when used in nested tag

I am trying to build app pages via JSP, using nested tags within an outer tag ("page"). All of the tags need access to the same object, which is passed in from the controller. But I can't ...
xormar's user avatar
  • 103
0 votes
0 answers
21 views

what this signifies <%@ taglib prefix="c" uri="jakarta.tags.core" %> in jsp file under src root folder src/webapp/WEB-INF/jsp/home.jsp? [duplicate]

I'm following a video where tutor added the above line to see result on jsp from controller after writing model.addAttribute("", ); and mentioned JSTL tags and jasper for rendering in ...
venkat's user avatar
  • 1
0 votes
0 answers
35 views

Servet and JSP tag have different results from request.getRequestURI() [duplicate]

I use Spring MVC for a web site. I need to access a JSP page with the following url http://127.0.0.1/passwordReset In the controller for this page, HttpServletRequest request.getRequestURI() produces ...
curious1's user avatar
  • 14.5k
0 votes
1 answer
64 views

Cannot be resolved to a variable, expression tag is giving me an error

I'm writing JSP Code for the first time. when I'm declaring an expression statement it's giving me an error; sum cannot be resolved to a variable. Here's my code for your reference: <%@ page ...
Usama Bagwan's user avatar
0 votes
1 answer
40 views

Get value of display:column property JSP page in JS

I don't know how to get the value of a display:column in a JSP page to check in a JS function. JSP Page: <display:table> ... <display:column property="surnameName" title="...
crmaidev's user avatar
0 votes
0 answers
225 views

Use Json Object as Spring MVC view model directly without converting it to Java object

I am working on a spring MVC project and currently making a new API call to a backend service to get response and use it as the viewModel of Spring MVC ModelAndView. However, unlike traditional flow, ...
BiaoGe's user avatar
  • 21
-1 votes
1 answer
137 views

Why my custom tag is appearing multiple times in jsp?

I am using a custom tag in my code to take user input but the jsp page has multiple inputs. What is the reason for it? Also please suggest me a proper documentation or any resources to learn about ...
ni9khil's user avatar
  • 13
0 votes
1 answer
110 views

Any taglib to read a text from the txt file with Markdown and render it into a jsp in Liferay

I am using liferay 6.1.1 and I want to put a text file with Markdown in the product and want to read the text from the file and needs to display the text in the terms_of_use.jsp The Markdown in the ...
user18781702's user avatar
0 votes
1 answer
168 views

How to use JSP page templates in my custom tag library

I have custom tag library project (using maven) and have user project that uses my custom tag library. I want to add jsp template to custom tag library project so that jsp tags would be generated ...
Humoyun's user avatar
  • 21
0 votes
0 answers
117 views

How to pass all URL parameters through a <jsp:include> tag?

I have a JSP page which is called with various URL parameters like this: http://myserver.com/page_A.jsp?paramA=hello&paramB=you This page however doesn't do anything with the URL parameters; it's ...
halloleo's user avatar
  • 9,924
0 votes
1 answer
142 views

Why forEach var doesn't work as a parameter? JSP/JSTL

<c:forEach var = "i" begin = "0" end = "${List.size()}"> <option value="2" selected> ${List.get(i).getName()} </option> </c:forEach&...
Raúl Peñate's user avatar
1 vote
1 answer
203 views

How to write a generic JSP Template for Dropdowns etc.?

I want to create JSP templates, i. e. JSP files that contain e.g. a dropdown or input field, to keep the styling of the elements in one place. Now these templates should be used in different UseCases. ...
Kleinstein11's user avatar
0 votes
2 answers
456 views

How can I sort an array with JSTL?

For example if a have this: <form method="post"> <c:forEach var = "i" begin = "0" end = "5"> <input type="text" name="...
Raúl Peñate's user avatar
0 votes
0 answers
104 views

How to pass literal String array to jsp:attribute

I have a a JSP attribute in a JSP Tag file and I'm trying to pass it a literal String like {"Something", "Something else"} Is there anyway to do it? This is the closest I've come ...
Kerdos Media's user avatar

15 30 50 per page
1
2 3 4 5
73