• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown


Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi my intension is to refresh the same page..so that that (iterated values)listed value are picked up from diff tables... according to the value selected ...from html:select
jsp page looks like..
first html:select(combo box)
then logic iterate

any help
<html:select property="id" onchange=""> //onchange what should i do
<html ptions collection="colroles" labelProperty="name"
//onchange what should i do
i tried to put some javascript but did not work
any help......
code piece will be helpful
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am doing somewhat similar to this in my JSP . I mean i have a combobox which is having borrowerCodes .According to the borrowercode i select i am submitting the page in the onChange event of the combobox
so code part will be like as follows
<bean efine name="borrowerCode" id="duplBorrowerCodeList" scope="request"/>(This data is coming from Data base thats why bean define)
<html:select property="duplctBorrowerCode" onchange="JavaScript:getDuplicateBorrowerDetails()" tabindex="2">
<html ptions collection="duplBorrowerCodeList" labelProperty="borrowerCode"
onchange of this combobox i am submitting the page using java script which is like as follows
function getDuplicateBorrowerDetails()
alert("You are going to Retrieve Duplicate BorrowerDetails");
document.crmsMergeBorrowerForm.action = "<%=request.getContextPath()%>/crms/jsp/crms/MergeAction.do?option=getDuplicateBorrowerDetails";
if you are not using any formname you can give forms[0] instead of 'crmsMergeBorrowerForm'
While i reload the page i will have one list of data which will be populated in the JSP
Hope this will help you
lee anthony
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks yaar !!!
This looks like a job for .... legal tender! It says so right in this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic