struts-1 Questions
6
Solved
i got error because am using placeholder attribute in struts tags....
<html:text property="name" styleClass="form-control" placeholder="some text"/>
how can resolve the problem,pls help me....
Bergen asked 26/11, 2013 at 5:51
3
I have a legacy banking application coded in Struts 1 + JSP
Now requirement is to migrate the backend (for now MVC) to Springboot (MVC).
Later UI (JSP) will be migrated to angular.
Caveats
1.) Ba...
Footprint asked 24/7, 2019 at 15:42
4
I have a requirement to retain the curly brackets from properties file in my rendered JSP code. Is it possible?
I have tried options like: \{, '{, {{, '{', /{, but no help.
At runtime, I get an...
8
Solved
We have migrated our Oracle database to 12c from 11g.
We have a legacy application running in Java 1.5 and using ojdbc14.jar.
Our application is not able to create connection to database error say...
2
I more or less know the difference between <%! and <%, but I can't seem to find the difference between <%= and <%. I'm trying to avoid a null value error by introducing some logic into ...
4
Solved
I have a HashMap object that I am getting on a JSP page.
HashMap<Integer,Gift_product> gift_hm = new HashMap<Integer,Gift_product>();
gift_hm.put(17,new Gift_product("doll",67));
Now...
2
In my jsp i have a html:file like this, and in the form i have the getter and setter. but when running i got
Caused by: java.lang.IllegalArgumentException: Cannot invoke com.app.app.struts.forms....
Silky asked 10/1, 2013 at 15:29
1
I am working on some legacy Struts 1.x applications that use Struts html tags instead of standard html tags. I am trying to modernize the UI without making functional changes.
For example:
The inp...
Meitner asked 29/6, 2017 at 7:56
1
Solved
Are Spring MVC and Struts MVC are alike? and in Spring MVC is it only presentation layer like struts MVC? Does Spring core is used in Spring MVC. could you please elaborate on how Spring Core is us...
Mayapple asked 4/4, 2017 at 17:38
3
Solved
I just tried to include a textbox in jsp page with struts provided tags. But it's behaving every typical.
Working
<html:text property="name" value=""></html:text>
Not Working
<ht...
Cheeseburger asked 29/12, 2012 at 16:54
4
Solved
I had been using struts 2, but for few reasons i am shifting (back) to Struts 1 . I would like to know major diffrences between them like about programatic availabilities and general flows.
Tristan asked 4/11, 2011 at 9:26
3
Solved
I have needed to maintain a Struts 1 application. I know, EOL almost two years ago, no new releases in six years. Whatever, we have 100k lines of working code in a Struts 1 app, and it's not ...
Celandine asked 20/1, 2015 at 13:26
4
I have two or three i18n files in my struts application. I am able to switch between these by setting the Global.LOCALE_KEY variable in the session.
Is there a way to set a default locale for the ...
1
Solved
I am a noob to Struts framework. I am trying to understand how action-mapping works exactly. Suppose I have a JavaScript file that sends an AJAX request:
$("button").click(function(){
$....
Prosenchyma asked 6/4, 2016 at 17:35
3
Solved
I’m using Struts1.2 with AngularJS to POST some data and want to get the data in Java.
I’m able to retrieve the data from the server and able to display it in the screen.
Now I’m trying to POST som...
6
I made one jasper report using iReport 3.7.4 version, now i have to use that or call that report in my java application where i am using servlets, jsp and struts framework, apache tomcat as server....
Leeleeann asked 19/9, 2010 at 17:12
3
Lets say I have a form with method=POST on my page.
Now this form has some basic form elements like textbox, checkbox, etc
It has action URL as http://example.com/someAction.do?param=value
I do u...
Unesco asked 25/4, 2012 at 6:49
1
We have a legacy application that uses Struts 1.2.9. The app is currently internationalized the standard way - .properties files for all UI labels, errors, messages, etc; <message-resouces> d...
Gauger asked 18/10, 2015 at 16:12
6
I want to extract decimal number 265.12 or 0.0 from alphanumeric string (say amount) having value $265.12+ or $265.12- or $0.0+ or $0.0- and use it apply struts logic tag in JSP. Not sure how to ex...
Definitely asked 2/5, 2012 at 10:22
1
Solved
Im using ExtJS and Struts1 for an application, when user uses this app in english and displays the combobox (inside form), the selection is in another language (spanish) but not in english. After s...
3
I have a JSP page with a number of questions and an ActionForm with a Map of input names and values.
When I load the page, the values (checked attribute) of the radio inputs aren’t set, but the ch...
Needful asked 28/4, 2015 at 17:6
8
Solved
When user decides to leave the field in the form empty the Apache Struts binds empty String as value for properties in the ActionForm. Is there any way to modify the behavior globally and opt for n...
Emigration asked 1/6, 2011 at 11:31
4
Solved
In struts 1 tags for html:textarea here
I do not see a maxlength attribute. How can i restrict the user from entering more than 100 characters? Also why did struts 1 omit such a basic attribute?
0
I have a java web app with Tomcat as servlet container.
I would to use different configuration files for different build configurations, i.e.
1) demo.properties
2) real.properties
3) tes...
Unstrap asked 27/10, 2014 at 13:47
2
Solved
I'm using Struts 1.3.10 in a web application, and I want my textfields to have a placeholder. Unfortunately, the current Struts taglib doesn't recognize this attribute, and I would like to avoid us...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.