I have got the Hashmap to JSP. The hashmap object contains two Key-Value pairs. Each value inturn contain collection object. Now my requirement is to iterate through each collection object and...
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 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,
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...
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 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...
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 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...
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...
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
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. ...
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...
Experts,
I have a question about formatting the rupee currency.
Typically a value like 450500 is formatted and shown as 450,500 but for some reason in India - the same value is displayed a...
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 ...
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...
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...
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 am setting a property in a useBean
and I need to convert String to Long
I tried this but it doesn't work
<c:set target="${orderShippingModeList}" property="orderId" value...
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...
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 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...
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...
Hi
I have a jsp page that contaion div tag ,( see my code where attached)
i have a list that contain some value that is prestent in the that jsp page
i want to enable that list value ...
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...
Im familiar with JSP but im struggling to pull off this OR statement in JSTL:
<c:choose>
<c:when test="${whatever}" || test="${whatever}">
Not linked
</c:when>
...