thanks a lot everyone. Sorted it out now. Since I need to manipulate the data in order to create a report, I created a class and passed it the request object. From here I looped through the parameterNames, getting all the values and, since they were originally from select controls, putting all...
yeah. I'm using the getParameterNames method to retrieve all the options in numerous select controls. Can you suggest any other way to get all this data? regards, Simon
Hi all. I've got a jsp class handling the display of a load of post data variables. In the previous page, I've got about 6 select controls each with data.
I've got to the stage where, when the form is submitted, the next page retrieves all the post data and displays the select control data in...
the session variable has been stored simply by setting it to the value of a text field from a previous page like this:
session.setAttribute("value1",request.getParameter("previousTextField"));
Is this a problem?
Hi all. I'm trying to call a jsp function from a jsp page. The jsp function resides inside a class held in another location. At the top of the jsp page i've used the line:
<jsp:useBean id="liSummary" scope="session" class="mm.mmLifeInsSummary"></jsp:useBean>
to instantiate the class and be...
Hi all. What I'm trying to do is get the contents of a select control from a previous pages form and then populate a new select control using all the options in the previous one (using jsp)
Its for a life insurance calculator. The user puts in details of all previous eplans they have in place...
stuck with developing on mac I'm afraid. I'm used to working in flash. Didn't realise that if any part of the js file was wrong it would stop it working.
In flash, does'nt matter if other functions are wrong as long as the one your calling is ok.
ok. sorry. the link to the file is
http://www.money-minder.co.uk/finance-navigator/validation/checkAmount.js
and the file I'm working from is
http://www.money-minder.co.uk/finance-navigator/life_insurance/life_insurance_q3.jsp
I tried changing the language="javascript" to type="text/javascript" but no effect. I tried using an absolute path from the root but no effect.
The thing is, up until about 12 o'clock today, all the function calls were working fine. I haven't changed a thing since then about the paths or...
the js file is in the directory
finance-navigator/validation/checkAmount.js
the jsp files are in the directory
finance-navigator/life-insurance/files.jsp
the line calling the js file from the jsp file is
<script language="javascript" src="../validation/checkAmount.js"></script>
I've tried...
sorry. My mistake. I have put the call to the function in the form method onSubmit as follows:
<form name="theForm" action="nextFile.jsp" onSubmit="return checkAmount(formElement);">
the file names are correct and the path is correct. I've tried putting the validation file in the same...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.