Skip to main content

All Questions

Tagged with
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
1 vote
0 answers
222 views

JSP: Format date as "yyyy-MM-dd h:mm a" within a <form:input> field for datetimepicker

<div class="col-xs-12 col-sm-6 col-md-3"> <label for="appointment_date" class="required" style="margin-left:30px">Appointment Date: <span ...
Pv Chaitanya's user avatar
0 votes
1 answer
433 views

<select multiple> </select> set more values with val() method in jsp page

My jsp page <script type="application/javascript"> <c:forEach var="bs" items="${subjectOfBookList}"> $("#bSubjectU").val(${bs.subjects.id}...
Ulviyya Ibrahimli's user avatar
-1 votes
1 answer
219 views

Search Filter Logic on Select Tag in HTML

This is how my screen looks like. I want to use the Search text field to search across the list. I am unable to develop any logic for the same as the list is in the form of a select. Please let me ...
Rajiv Philip's user avatar
2 votes
1 answer
1k views

JSP/Spring MVC - How to populate list dynamically with elements added to model (javascript/jQuery)

First my apologies if the question is not clear enough. I will edit it if convenient to see if this can help someone else in the future. I have a form in a JSP binded to a Spring MVC model which would ...
Fithos's user avatar
  • 31
0 votes
2 answers
380 views

How to access forEach tag values of JSP in Script Tag of Javascript Dynamically.?

I am trying to fetch all the details of each track of album from controller(servlet) to jsp page using forEach tag.The values are getting fetched perfectly.For combining play/pause button and audio ...
Geetha's user avatar
  • 23
1 vote
0 answers
183 views

custom formatting display column tag

Guys I am using display tag in my jsp page and I am trying to use a format option in display column tag but it's not working, How can I format column tag?. For more info please check out the code ...
user10806781's user avatar
0 votes
2 answers
54 views

jquery .click() doesn't display the expected text while button (clicked) and text runs in a for loop. Both button and text is referred by their class

I'm using a controller (Spring-boot) and injecting the data into JSP page. TextONE and TextTWO are the data injected into JSP page from the controller. In Jsp I'm running a for loop within which both ...
Sandeep Amarnath's user avatar
0 votes
0 answers
91 views

Copy selected/checked checkbox values and display them in a different form/div as text

I am populating a div with checkboxes whose value fields are copied from a dynamic array. The div looks like this: <div id="services" class="servicefilterDiv"> <div class="card-header"&...
mahesh kumar's user avatar
0 votes
1 answer
130 views

Ternary operator is not working as expected

In my code, I am setting a variable called language via JSTL. This is how I do this. <%@ page pageEncoding="UTF-8" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> <...
PeakGen's user avatar
  • 22.7k
0 votes
0 answers
171 views

access javascript value in JSP hidden tag

I have a ajax call that returns me a JSON object, data. Ajax and JSP code below <script type="text/javascript" language="JavaScript"> //AJAX Start $.ajax({ ...
Geek's user avatar
  • 3,319
0 votes
0 answers
1k views

How to set value in c:set using jquery

I have use jquery & bootstrap in jsp page. I need to set value c:set tag using jquery/JavaScript. Here is my c:set tag: <c:set var="dialog_uomid_c" /> Here is my JavaScript function I ...
Enamul Haque's user avatar
  • 4,977
3 votes
1 answer
1k views

How do i refresh or redraw table rows

Below is the classical issue which I am facing during my app development. I have an array of JSONObjects in my spring controller that I have to iterate in the jsp; Also another status attribute ...
mantelinga r's user avatar
0 votes
1 answer
241 views

How do I merge the current request parameters with a new parameter in JSP/JSTL/JQuery?

I have the following URL: http://127.0.0.1:8080/admin/seller?email=tim%40example.com I have the following JSP: <a class="btn btn-primary ${page==pages||pages==0?'disabled':''}" href="?page=${...
Chloe's user avatar
  • 25.9k
0 votes
0 answers
35 views

How to transfer values on the same jsp in Jquery UI Tabs

How to transfer values on the same jsp in Jquery UI Tabs for tabs-2 receive value? I use el receive sqlserver data. After how to transfer value to tabs-2 in same jsp? Thank a lot in advance. ...
Felix's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
14