nizams uddin

Greenhorn
+ Follow
since Jul 31, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by nizams uddin

hi,
can anyone please help me in knowing how to handle onscroll event on iframe?

any help will be appreciated.
17 years ago
pass the object after storing in a HttpSession.getSession().setAttribute("anyname","Myobject");

In the next page (where ever you want to access)
MyObject myobj = (MyObject)HttpSession.getSession().getAttribute("anyname");
17 years ago
JSP
hi,
you are combining jspscript and jstl together.
either use entire jspscript or jstl and then check.
17 years ago
JSP
Hi Rusty,

i too was expected to say the same stuff what you have informed.
i think Chris got around the prob till now
17 years ago
JSP
hi,

i feel that you have many simple errors in code.
such as id yu have given as "currency" and you are accessing method with name
"orderBean" instead of "currency".
And also,
<jsp:useBean id="currency" classname="CurrencyConverter" />
has a class atribute and not classname attribute as you have specified.
make these changes and try to access.
17 years ago
JSP
hi,

not able to understand your question.

but think yu are talking abuot exception being thrown in jsp.
if this is thte qs, then pls check the code.
i think the str2 value might be null and you are doing a trim on str2.
pls check the value of str2 and then proceed.
17 years ago
JSP
Hi guys,

how do i remove maximmize/restore buttons from my portlet.
each and every jsp page has these 2 options and i'm having a big problem in removing these buttons so that the end user must not have these buttons and the portlet is allways in maximize mode.

Thanks in adv
17 years ago
i want to use a bean in jstl

in my servlet i set
session.setAttribute(SDFISearchResponseVO.class.getName(),sdfiSearchResponseVO);

now in my jsp i need to use this.
this bean has methods such as getA() , getB();
whose return type is arraylist.

i want to use something similar to <c:forEach items="${SDFISearchResponseVO.a}" var="emp">
<c:out value="${emp}" />
</c:forEach>
17 years ago
JSP
check whether the hidden variable is between form tags
17 years ago
JSP
i inserted my property files under i18 folder of my framework.
we are supposed to put these files under this folder.
anyways it is picking ApplicationProperties_en_CA file if i manually type <fmt:bundle basename="com.gmac.dsr.config.i18n.ApplicationProperties_en_CA"/> instead of
<fmt:setLocale value="en_CA"/>
<fmt:bundle basename="com.gmac.dsr.config.i18n.ApplicationProperties"/>
so it is confirm that it is picking the file.
but main thing is the locale setting.
17 years ago
JSP
it is en_CA.
but main stuff is that it should pick the file.
or is there any other settings that i had to do.
any idea how to know the locale that is being set to.
for ex,<fmt:setLocale value="fr_CA"/> sets locale to fr_CA.
but how to retrive that set value so that i could check the locale.
i tried request.getLocale() and it gave en_US.
i think it is not setting and taking en_US which is a default value.

any suggestions guys how to proceed fwd.
17 years ago
JSP
property files are under one of my folder.
but the problem is that it is not setting locale to pick the right property file.
if i use
<fmt:bundle basename="com.gmac.dsr.config.i18n.ApplicationProperties_en_CA"/> directly, then it works.
but i want to set locale using fmt:setLocale tag.

please let me know at the earliest.
17 years ago
JSP
Hi,

i'm trying to use internationalization in my application.
for this, i have 2 properties files(one for us and other for french)

when i use the below tag(<fmt:bundle>), ApplicationProperties_fr_CA.properties file should be called.
But it is not picking that,instead it is invoking ApplicationProperties.properties file
please let me know what to do.

<fmt:setLocale value="fr_CA"/>
<fmt:bundle basename="com.gmac.dsr.config.i18n.ApplicationProperties"/>

Thanks in adv.
17 years ago
JSP
Thank you for the suggestion.
but i had allready tried that and it was not working, so i posted to the gruop.
i tried with the sample code that you gave but it is still not responding.
i have inserted the tag lib for c


Originally posted by ni ni:
ArrayList allBusinessCenterList = new allBusinessCenterList();
allBusinessCenterList.add("1");
allBusinessCenterList.add("12");
allBusinessCenterList.add("13");

how to convert the below code using jstl
assume arraylist a normal list with values and does not contain any bean value.

<% for(int i =0;i <allBusinessCenterList.size();i++){%>
uot.println(allBusinessCenterList.get(i));
<% } %>

17 years ago
JSP
ArrayList allBusinessCenterList = new allBusinessCenterList();
allBusinessCenterList.add("1");
allBusinessCenterList.add("12");
allBusinessCenterList.add("13");

how to convert the below code using jstl
assume arraylist a normal list with values and does not contain any bean value.

<% for(int i =0;i <allBusinessCenterList.size();i++){%>
uot.println(allBusinessCenterList.get(i));
<% } %>
17 years ago
JSP