This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of TensorFlow 2.0 in Action and have Thushan Ganegedara on-line!
See this thread for details.
Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

the returning message of Bean not work with JS?

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, im using jsp:usebean to get the file list on the server side,
however the returning message cannot work with the Javascript?


Solved!
i miss the ' .... :
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your usage of Hungarian notation makes me insane.

Isn't its functioness implied by calling it as a function?!
 
Lek Kin Wong
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

David Newton wrote:Your usage of Hungarian notation makes me insane.

Isn't its functioness implied by calling it as a function?!


Sorry for my poor English.
 
Rancher
Posts: 4686
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your English skills are not what he is referring to with "Hungarian notation". Rather that is a specific style of naming variables and functions that dates from very early Microsoft C days, where because C had such poor type checking the programmer used prefixes to indicate what a variable was. Rather than calling a Pointer variable Foo, you would call it pFoo.

Your code sample uses Hungarian notation, id$Bean1. The "id$" is unnecessary. Same with your function$

Hungarian notation is considered poor form by Java programmers. (and Python and most other modern languages).
We let the compiler detect type mismatches, rather than expecting the programmer's eyeballs to do it.

 
Is this the real life? Is this just fantasy? Is this a tiny ad?
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic