• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Is there onBlur in JSP?

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hiii
Is there similar command in JSP to that of "onBlur" in javascript.

Actually my requirement is, if i enter a value in one textbox
that should get multiplied by some "x" and the result should
be displayed in another text box. The problem here is im not allowed
to use javascript and there is no action i can perform. Just if enter
values in one text box the result should be automatically displayed.

can you people guide me with some function in JSP which will solve my problem, or some logic i should implement.

With Regards
Badrinath
[ May 06, 2006: Message edited by: Bear Bibeault ]
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moved to the JSP forum.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That makes no sense.

JSP is a server-side templating technology used to format and send an HTML page to the client browser. Once the page gets to the browser, it doesn't matter what server-side technology generated it.

To control a page in the browser requires JavaScript.

The problem here is im not allowed to use javascript



Let me guess... pointy-haired boss?
 
badri nath
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bear
yeah you have guessed right, my boss is pointy haired

but can you please suggest me any alternative for javascript
so that i can retrieve values from text box without performing
any action in the given page.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Without JavaScript, you'll need to submit the page back to the server to make any changes there, then reload the page.

However, without JavaScript, the user will need to click a button to initiate that action.
 
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
applets would do the trick. No Javascript required
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If Mr. Pointy Hair has an issue with JavaScript, I can't imagine how he'd react to Applets or even flash!
 
badri nath
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Joroen

applets would do the trick

Hmm thanks for your suggestion, i havn't thought about that.
I just checked the API and found getParameter() method in
Applet class. If this is function required for my solution,
can you please sugggest me how to use it, or provide me
with guidance or logic.

With regards
Badrinath
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So your boss won't let you use JavaScript, but would be ok with applets? That's crazy. What's his/her beef with JavaScript?
 
badri nath
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So your boss won't let you use JavaScript, but would be ok with applets? That's crazy. What's his/her beef with JavaScript

Hi Bear
Dont know what is the problem with him, actually he will not specify complete details of the requirement but only specifies what
is to be done.
coming to what jeroen said, can you please suggest me the
right kind of approach to complete the task.

With Regards
Badrinath
reply
    Bookmark Topic Watch Topic
  • New Topic