All Questions
Tagged with jstl model-view-controller
54
questions
0
votes
0
answers
32
views
Property [fname] not found on type [com.modelimpl.Modelmvcimpl]
I am trying to display all data which is stored in database to admin.jsp page but due to some reason I am getting this error. Property [fname] not found on type [com.modelimpl.Modelmvcimpl]
My Admin....
0
votes
0
answers
186
views
JSTL JSP Include Servlet Makes JSP Blank
I'm writing a section of code to display a list of organizations that come from a MYSQL database. I'm using JDBC Realm form authentication so I know my database can be queried and runs properly. My ...
1
vote
1
answer
152
views
Any reason as to why passing an object using jsp:include tag into another jsp isn't working in this scenario?
I have an index.jsp that contains an object named event that I wish to access in another jsp named event.jsp. However, using a jsp:include tag like some have suggested doesn't seem to be working?
Can ...
0
votes
1
answer
199
views
JSTL Spring MVC Recursive Form JSP
I am trying to build a dynamic form generator getting a json as an input. The json comes from an AWS device shadow and I want to build a form which allows the user to manipulate the desired state of ...
3
votes
0
answers
515
views
Jstl not working on Spring 5
I created a simple Spring MVC example, and I am having problems translating model attributes on the jsp file. Here is the code:
public class WebMvcConfig implements WebMvcConfigurer
@Configuration
@...
0
votes
1
answer
352
views
Spring MVC dropdown retain the value based on form action
I have a JSP page with few submit buttons with in a Spring MVC application. It has few dropdown boxes and I need to retain the application predefined value (example, 'getInfo') for few submit button ...
0
votes
1
answer
652
views
JSP Tag Handler accessing context parameters
I'm trying to retrieve values from my context parameters in the web.xml file from my Tag Handler class.
<context-param>
<param-name>driver</param-name>
<param-value>...
0
votes
1
answer
1k
views
How to get column name and elements in array by columns in JSTL
Assume I implement MVC model, there is List object which contains data from database where I get by using JPA in session bean and pass to servlet. The List object then pass to jsp from servlet. Since ...
1
vote
3
answers
3k
views
JSP and MVC Best Practices
I am new to JSP programming and am writing a web app for a family member. As I study, I hear a lot about how JSP's are supposed to be used for presentation and servlets are for business logic. My ...
-1
votes
1
answer
97
views
select box using jstl spring 4 MVC, mongodb
I am trying to make a select box using jstl throgh model view and i am a pure noob, someone i have gone through this and created this can anyone help me to get the monngodb values in select box
here ...
0
votes
3
answers
44
views
Is this MVC structure right to comply the pattern? [duplicate]
I'm making a project based on MVC pattern, but I have doubts about the location of the methods (insert, update and delete), I don't know if it is in the Model classes or is in another part (please ...
-1
votes
1
answer
1k
views
Tags in JSP Page
I am trying to understand an existing Spring MVC application, in a JSP page I found the below code
<c:forEach items="${responseData}" var="data">
<li>
<c:...
0
votes
1
answer
1k
views
JSTL cannot print a list of objects
I am trying to print a List objects in Jsp page using JSTL but i am getting some Exception. Below is the model class for my App
public class ItemMaster implements Serializable {
/**
*
*/
private ...
0
votes
0
answers
313
views
Spring MVC, jsp rendering taking time
We have a page hosted on Spring MVC based stack. Part of the code parses a json structure which defines the set of html elements to be rendered, like dropdown, checkbox etc.
There are dynamic includes ...
1
vote
3
answers
5k
views
how to load values in dropdown using jstl
I am searching a way to populate a dropdown using jstl. I need to do this when page is loading. I tried some code. But it is not working.
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/...