Click here to Skip to main content
15,886,067 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Could not load file or assembly Pin
ArpitDubey28-Dec-12 8:50
ArpitDubey28-Dec-12 8:50 
QuestionHow should I measure scroll position in different browsers Pin
woomla17-Dec-12 21:52
woomla17-Dec-12 21:52 
AnswerRe: How should I measure scroll position in different browsers Pin
Zaf Khan19-Dec-12 5:46
Zaf Khan19-Dec-12 5:46 
QuestionBest Web Technologies Pin
emadns12-Dec-12 3:40
emadns12-Dec-12 3:40 
AnswerRe: Best Web Technologies Pin
David Mujica12-Dec-12 4:22
David Mujica12-Dec-12 4:22 
AnswerRe: Best Web Technologies Pin
achantayamini17-Dec-12 22:05
achantayamini17-Dec-12 22:05 
AnswerRe: Best Web Technologies Pin
jfmorgan33331-Dec-12 10:01
jfmorgan33331-Dec-12 10:01 
QuestionJSP and JSTL and so on ... Pin
SheraX11-Dec-12 6:20
SheraX11-Dec-12 6:20 
Hello,

got a big problem ...
We got a task we cant solve (Obviously, if we could i wouldnt ask here).
Unfortunately we are just allowed to use JavaScript, JSP and JSTL (and HTML of course, we are not allowed to write Java-Code into our HTML-Page.

Our task is:
A page with 2 Textfields and 1 Button.
You shall be able to enter nothing else than numbers in these Textfields (floats or ints, nevermind)
When you enter a value to the last Text Field, there should automatically appear a new Text Field under the others.
So that you can enter as many numbers as you want to.

The button shall sum these numbers.

BUT the sum shall be displayed on another page, and the sum itself shall be calculated on the first page and shall be saved in Beans class.

So, we made 2 pages and one bean.
Numbers.jsp, Sum.jsp and Add (this is the bean)

The Sum.jsp takes the bean and just displays the result.
Thats very easy ...

Our Numbers.jsp generates via JavaScript the new Text-Fields.

Our Problem is, we dont know how to write into the bean from dynamically generated textfields and without pressing a button, because the button shall redirect to Sum.jsp.
Right now we have a workaround ... we reload the page and take the "request.getParametersMap()" and write this into the bean.
But we dont like this idea very much ...

Can anyone help ?

Greetings,
Shera
AnswerRe: JSP and JSTL and so on ... Pin
fjdiewornncalwe11-Dec-12 6:28
professionalfjdiewornncalwe11-Dec-12 6:28 
GeneralRe: JSP and JSTL and so on ... Pin
SheraX11-Dec-12 6:32
SheraX11-Dec-12 6:32 
GeneralRe: JSP and JSTL and so on ... Pin
AnalogNerd11-Dec-12 7:03
AnalogNerd11-Dec-12 7:03 
GeneralRe: JSP and JSTL and so on ... Pin
SheraX11-Dec-12 7:12
SheraX11-Dec-12 7:12 
QuestionSMTP Programming Pin
Dominick Marciano9-Dec-12 13:49
professionalDominick Marciano9-Dec-12 13:49 
AnswerRe: SMTP Programming Pin
vbmike10-Dec-12 8:49
vbmike10-Dec-12 8:49 
GeneralRe: SMTP Programming Pin
Dominick Marciano10-Dec-12 13:30
professionalDominick Marciano10-Dec-12 13:30 
GeneralRe: SMTP Programming Pin
Richard MacCutchan10-Dec-12 21:36
mveRichard MacCutchan10-Dec-12 21:36 
GeneralRe: SMTP Programming Pin
Dominick Marciano11-Dec-12 9:40
professionalDominick Marciano11-Dec-12 9:40 
GeneralRe: SMTP Programming Pin
Richard MacCutchan11-Dec-12 10:26
mveRichard MacCutchan11-Dec-12 10:26 
GeneralRe: SMTP Programming Pin
Dominick Marciano11-Dec-12 10:44
professionalDominick Marciano11-Dec-12 10:44 
GeneralRe: SMTP Programming Pin
Richard MacCutchan11-Dec-12 10:58
mveRichard MacCutchan11-Dec-12 10:58 
GeneralRe: SMTP Programming Pin
Dominick Marciano11-Dec-12 11:20
professionalDominick Marciano11-Dec-12 11:20 
QuestionXSLT Transforms - how to get just some of in a for-each Pin
QuickBooksDev8-Dec-12 2:26
QuickBooksDev8-Dec-12 2:26 
AnswerRe: XSLT Transforms - how to get just some of in a for-each Pin
Chris Grove13-Dec-12 19:46
Chris Grove13-Dec-12 19:46 
GeneralRe: XSLT Transforms - how to get just some of in a for-each Pin
QuickBooksDev17-Dec-12 0:42
QuickBooksDev17-Dec-12 0:42 
GeneralRe: XSLT Transforms - how to get just some of in a for-each Pin
Chris Grove17-Dec-12 3:43
Chris Grove17-Dec-12 3:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.