• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP newbie

 
Ankit Pedro
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am new to JSP, and i am developing a web application( Employee's TimeSheet).

My problem is that i have a window 'A' with a text field 'AA' and a button 'BB', upon pressing on 'BB' a popup window appears. what i am unable to figure out is how i can upon selecting a certain value from the popup window, that value is dynamically placed in 'AA'.

I figured it out using javascript, but is there any way to do it in JSP.

Any help would be appreciated.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64620
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. That is entirely client-side manipulation and must be performed with Javascript.
 
Mallesham Karnati
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How does this situation work if someone uses JavaServerFaces technology? Does JSF solve this problem without resorting to javascript?
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mallesham Karnati:
How does this situation work if someone uses JavaServerFaces technology? Does JSF solve this problem without resorting to javascript?


No. It actually saves you from all the code writing, but on the client-side/browser it renders javascript. Thats what I think, because no other way around. I haven't grabbed the JSF as a whole. I'm relatively new to JSF. You may want to post this question on JSF forum for a more reliable answer.

thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic