• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Script error in jsp

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I got a script error in my jsp page.
I am new to struts 2.
My coding in jsp page is:

In my action class, i have the following attributes.

Method in action class is :

In my jsp page my combobox is populated with the database list, when i try to change the value in combo box i got script error,while calling the function 'displayDBDetails'.
Now what i need is when i change the value in combo box i need to populate the port in textfield.
Can anyone help me ?
[ March 14, 2008: Message edited by: angelin precilla ]
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The function displayDBDetails is a JavaScript function that is expected to be in your JSP. Since you haven't posted that function, there's no way we can help you figure out why it's not working.
 
A magnificient life is loaded with tough challenges. En garde tiny ad:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic