Skip to main content

All Questions

Tagged with
0 votes
0 answers
28 views

Dynamic Code Evaluation: Code Injection in JSTL <c:out value="${searchVal != null ? searchVal :''}"/> [duplicate]

I have Jsp and Struts 2 based application where we have used jstl to render the output. Now if in any of the get APIs i am giving the request param as jsp expression. For eg : http://localhost:8090/...
viv kumar's user avatar
  • 262
0 votes
0 answers
170 views

Conversion Struts2 tags to SpringMVC using JSTL TAGS

Due some security reasons needs to convert Struts2 tags to Springmvc. There is any utility to do this conversion?we are going to use JSTL tags?The Struts Developer may not be define in one line.How ...
MQ Beginner's user avatar
0 votes
1 answer
1k views

Is it possible to overwrite a variable? [duplicate]

Im trying to create link to an object based on it's id. In order to do that I've created list of ID's that I compare to ID of an attribute. I've tried adding attributes ID to variable, and then ...
Pepsko's user avatar
  • 63
0 votes
1 answer
911 views

How to show drop down result based on selected radio button | JSP

I'm trying to write a JSP page where it needs to display a drop-down list of states based on the select country radio button on the same page. When I run the page it is displaying c:otherwise dropdown ...
kumar's user avatar
  • 1
1 vote
0 answers
436 views

How to access configurable properties in JSP files

I want to be able to access some properties in jsp files without repacking the project but I'm not sure what is the most elegant way. I'm using spring 4.0.9 and struts. I am already using a ...
nrad0's user avatar
  • 43
0 votes
1 answer
445 views

Struts2 properties not populated in JSP

I have a Struts 2.5.10.1 application that isn't populating any EL or OGNL variables. I've verified with a debugger that the variables are being set on the action class. The error is "The class 'com....
khhaaannnnn's user avatar
0 votes
0 answers
37 views

How to display field as empty when there is no value in JSP?

I'm trying to resolve a bug, CashFlow + CashOutFlow = Net Cash Flow It's correct till 3rd row. But, not sure why the remaining rows are populated with the value of (.007) when it should be empty. &...
AppSensei's user avatar
  • 8,370
1 vote
1 answer
830 views

Struts Upgrade to 2.5.5 ( from 2.5.3)

I tried to upgrade from struts 2 version 2.5.3 to 2.5.5... I face an strange issue. We have a tag as below: <%@tag description="Rensders an ajax link" pageEncoding="UTF-8"%> <%@attribute ...
Alireza Fattahi's user avatar
3 votes
2 answers
2k views

Why <s:text> tag name does not support runtime expressions?

I need to print out a text within the current year, my code: <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib prefix="fmt" uri="http://java....
Emaborsa's user avatar
  • 2,696
1 vote
1 answer
798 views

EL in struts 2 not working

I have a search form(name = studentForm) that is submitted to struts2 action which fetches data from db and returns to a JSP with a form (name = studentListForm). When I use s:property, I'm able to ...
Cybermonk's user avatar
  • 524
0 votes
0 answers
214 views

Displaying Map keys on struts2 autocompleter tag

I've been struggling for a while with the autocompleter tag using struts2 jquery plugin. I've been able to use it on a simple way, just retrieving String lists from a database, but now I wondered if ...
JorgeGRC's user avatar
  • 1,032
2 votes
2 answers
753 views

How to get an array from the controller using struts, JSP and Java

I want to know if anyone here knows how to get an array from a controller using Struts? showTeams.jsp <%@page import="java.util.ArrayList"%> <%@page import="nl.***.controller.TeamController"...
hunteroooox's user avatar
1 vote
1 answer
1k views

Struts 2 ognl.SecurityMemberAccess warning

In an struts 2 project I get the ognl warning while doing a loop like this: <c:set var="unitArray" value="${fn:split(unit, ',')}" /> <c:forTokens items="${key}" delims="," var="name" ...
Alireza Fattahi's user avatar
1 vote
1 answer
608 views

Evaluating a Struts value within a JSTL tag

I'm currently developing a language pack for an application built on Struts 2. The language pack is defined in a properties file which will be accessed by the frontend JSP via JSTL (FMT tags). I'm ...
Brenda Nicole Tan's user avatar
-1 votes
1 answer
99 views

Application responds very slow

I built a web application using Struts 2, Hibernate. Has jQuery, html for the view part. I used the include directive to add header and footer templates. I am not sure which part is making to respond ...
Tesfa Zelalem's user avatar

15 30 50 per page
1
2 3 4 5