Struts dropdown value
The value is retrieved from the database and assigned to the property user_type. My question is how to i assign that value to the drop down list. I have tried the belo...
Hi,
I'm having some problems implementing the examples on the display tag website for creating dynamic links using a table decorator.
I have the following setup:
I have a jsp p...
I have a sorting issue with a Hashmap. My constraint is that I MUST use the Hashmap and work with existing code. I do a database query and place the results in a Hashmap. When I iterate thr...
Can I use jsp:include or c:import in a jsp:attribute to set a tag fragment attribute and have it evaluate EL variables?
The following code does not work. The fragment EL variable to does no...
how do i convert string array to long array in java.
this is what i have
String[] IdsArray = Ids.split(",");
I want to convert this to have an array of long values
Hi there,
I am trying to export to excel using the display tag library.
The data displays fine. However, when I click "Excel" export, it creates an excel file with the html code for the ...
Hi I have a Boolean Object and have been trying to do a simple <c:when...> JSTL test.
In the following example user.hasprofilepicture returns a Boolean object(Boolean class not the primitive...
Hi Guys
From the databse I am getting four columns. One of the colums is of type CLOB. I am converting this data to a string. Now this String text has lot of nodes, now what I need is to s...
I'm trying to figure out how to specify a selected option value for <html:select> tag.
I have created a drop down list using <html:select> tag and then I have specified <html:options collecti...
Hello,
I have a form with multiple checkbox items (for easy deletes from the table), the checkboxes are all named "check", but each have different values assigned to them (corresponding to db...
Hello.
I'm trying to create some JSP tag files as described in J2EE tutorial (http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPTags5.html).
My question is: can I pass some non-string o...
I have below radio buttons ..I want the user to select one the other gets deselected. for instance, if he/she selects inbound..if he tries to select outbound ..the inbound should be unselect. ...
When creating a jsp page to call a javascritp passing in a dynamic value as follows, works in one place, but EXACT same code doesn't work in anohter.
Works -
CODE:
<select name="zoneList...
Hi, Im using Intellij IDEA and working through a JSTL book. When I try and add the <taglib> directive to my web.xml file to reference the jstl tags, Intellij highlights the directive as being ...
Hi Experts,
I want to implement pagination in jsp using tag library. Can you please provide me some source code to do the same.
Thanks in advance
Hi Guys
I need to get the actual host name of the website. I tried the following code
<%String host_name =request.getRemoteHost();
String port = request.getRemoteHost();
%>
Bu...
I get an error message when trying to trigger javascript function
<form:input size="8" onKeyUp="javascript:checkNumber(this);" cssClass="textinput" path="number"/>
error=
Attribute onKey...
Hi, I have the following:
<c:if test="${pgTitle == 'What's New?'}">
<p></p>
</c:if>
How do I escape the apostrophe in the string so it works?!
Convert string like "abc,etc,sdq,sds,dse" to an array of 5 strings using java?
How can I access request parameters in a spring webflow action. My URL is
http://localhost:9080/CustomerFacilities/webflow.htm?_flowId=customerCapture-flow&a=1779&b=001&c=001&d=ABC
My act...
Hello,
Using JSTL or a scriptlet how do I get a list of all the available form variables submitted to a jsp page? Or is there a isdefined() or exists() function to test if the variable is def...
Hi,
I have a checkbox field as one of the columns. I have pagination in the page.
The problem i have is, i will loose the status of the checkbox when i go to second page. If i select som...
I have a JEE application war that is inside of an ear file. Let's call this application.war and application.ear. This application is deployed under Weblogic Server 9.1 with a location of htt...
Hi guys
I need to to round up my column in jstl. In my table i fetch three columns using a for loop. I need to round up the third column to two decimal places. Would anyone know how can i d...
In JSTL, is there a method to automatically escape HTML characters like é and ü when inserting text into a database (MS SQL Server 2005)? If I enter characters like this into a database, they ...