Meaningless Drivel is fun!*
The moose likes JSP and the fly likes JSP newbie Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP newbie" Watch "JSP newbie" New topic
Author

JSP newbie

Ankit Pedro
Greenhorn

Joined: Mar 23, 2005
Posts: 12
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

Joined: Jan 10, 2002
Posts: 60741
    
  65

No. That is entirely client-side manipulation and must be performed with Javascript.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mallesham Karnati
Ranch Hand

Joined: May 11, 2005
Posts: 40
How does this situation work if someone uses JavaServerFaces technology? Does JSF solve this problem without resorting to javascript?
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP newbie
 
Similar Threads
Aomic Integer
Instance variable initiating
passing value to and from popup window
passing the values from popup window to jsp
Convert from integer to array of bytes