shiju nair

Ranch Hand
+ Follow
since Jul 18, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by shiju nair

Thanks to both of you .
I have solved my query using your code.
16 years ago
hi,
Please have a look at the code.

Now here how should i use the else statement that if rows are not found then
this is the structure of my database i am using ms-access.


Please help me .
thanks in advance.
16 years ago
hi bear,
sorry i was just in a hurry to get things done.i will wait till the ranchers find a solution and by the mean time ,even i am trying from my side to get the solution.
thank you
hello everyone,
I am asking for help from when and no body is responding to me .
there is no one in this forum who could help me out.
atleast just guide me what has to be done.
its very urgent .there are hardly any days left out.
please guys help
Is there no one to help me out .
As amit stated that there is a problem with the update statement it might be true but unless and until we get the values how can we get the exact result using proper update statement also because as i said i am getting only one value from the code when i try to get values from the jsp page.

if any problem please refer the first coding and help me out with some suggestion as to how to get all the values.
please its very urgent.
thanks in advance.
hi amit,
but i dont understand one thing as i have stated above that when i retrieve the values from the database in the jsp page i get all the rows but when i retrieve the values from the page using

why does it give me only one value or is it that i have not placed te list box properly .is there any other way to get all the values from the page.
please suggest me.
thanks in adavance.
hello,
please anyone help me out of this problem.I have to get this done as soon as possible.
thanks in advance.
hi sagar,
when i changed the code as you suggested it is updating the database related to its first entry i.e when i select approved for 1002 and cancelled for 1004 it is updating both as approved.
i think the values which i am retrieving is a single value ,used in the above code in update.jsp.

because when i use
it gives me only one value else it should give me both the values.so there is problem with retrieving values but i am not able to find it, or else the coding is not proper in the first jsp above.
please find a solution
thanks in adavance.
hi sagar,
when i changed the code as you suggested it is updating the database related to its first entry i.e when i select approved for 1002 and cancelled for 1004 it is updating both as approved.
i think the values which i am retrieving is a single value ,used in the above code in update.jsp.

because when i use
it gives me only one value else it should give me both the values.so there is problem with retrieving values but i am not able to find it, or else the coding is not proper in the first jsp above.
please find a solution
thanks in adavance.
hi,
I am badly stuck into this problem.Please look into it and find a solution.
I am using ms-access and jsp.
my database structure is as given below:

----------------------------------------------------------
m_emp_no|from_date|to_date|approver|status|
___________________________________________
1002 | 22/9/2008 | 23/9/2008|1003 |pending
1004 | 29/9/2008 | 30/9/2008|1003 |pending
2044 | 15/9/2008 | 16/9/2008|3076 |pending

------------------------------------------------------
now this is exactly a leave apply scenario where a page is displayed and the user has to fill in the details to apply leave.then the approver has to approve that leaves so even, he should get the details in his account.
for example here 1003 has to approve leaves for 1002 & 1004.i am able to fetch data from database for the particular approver here is the coding:

------------------------------------------------------------
but the problem is that how do i approve leaves individually because when i use the coding given below i am able to approve only the first row data.
i want to approve leaves for everyone but based on m_emp_no.
update.jsp:


please help me out .
thanks in advance.
hi,
so you mean to say if it is not int then i need to convert both of them into int and then validate with the same condition.
please suggest.
16 years ago
JSP
when i am using

but it is giving me error such as


I am trying to do it but i am not getting it.
16 years ago
JSP
hi,
I am using ms-access as backend and jsp.
I am facing a problem in this scenario.I have a page which is displaying the leave balance such as ok.there are two textboxes for dates.i have taken the difference of the two dates in days which is in string value.now what i want is when i click on submit button it should validate the leave balance with the days applied .when a leave is applied for the particular pl,sl,cl the figures goes on decreasing.so when it reaches the person who is applying for leave more than the days in balance it should give him an alert box stating that "you do no have sufficient balance".
please help me .
thanks in advance.
16 years ago
JSP
Please tell me how to forward the arraylist to the jsp.
thanks
16 years ago
JSP
hi sreesnath,
Actually i am totally confused with this problem,so not able to think anything.can you please provide me with an example which will guide me to the solution.please help me
thanks in advance
16 years ago
JSP