Help coderanch get a
new server
by contributing to the fundraiser

Amritha Ganga

Ranch Hand
+ Follow
since Mar 06, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Amritha Ganga

Hi,

We use the old MVC frame work. Form goes to metadata (inside an xml)

Thanks.
14 years ago
JSP
Hi,

I have a doubt regarding Add Button in my page. If the Users do not belong to the group mentioned in the code and the status is say(63 & 64 ), I dont want them to see the add button. What changes do i need to make ? This is the code, but the Add button still shows up..




Please do help me..

Thanks,
Amrit
14 years ago
JSP
Hi Ranchers,

I passed SCWCD 5.0 with 92% today. Thanks goes to HFSJ authors and mock exams which i got from javaranch. Next preparation would be web services i guess.. But now, I need a break.. !!! Phew !!!

Amritha Ganga
SCJP 1.4,SCWCD 5.0
14 years ago
Thanks for the reply Priya. I saw from the forums that you were preparing for SCWCD. Are you done with the exam ? How long was your preparation time ?
Hi,

I have Marcus Green notes for 310-081. The exam I'm giving is 310-083. I went thru the notes and everything is almost similar. Does Marcus green have notes for 310-083 ?

Also, I have a doubt.. Is SCWCD 5 and SCWCD 1.5 the same exam , ie 310-083 ?

Please answer my Q's.. HIghly appreciated...

Thanks,
Amritha
Congrats Rachna..

Can you tell me how long it took for you to preparation ?

Amritha
14 years ago
what is the pass percentage for SCWCD 1.5 ?
HI All Ranchers,

I have started preparing for the SCWCD 1.5 exam and have brought the voucher for 310-083 . Currently I am reading HFSJ 2nd edition which covers J2EE 1.5

Am I reading the right book/edition ? I always get confused with SCWCD 5.0 ..

Also, HOw long does it take to study for SCWCD ? Is 2 months enough ? I heard SCJP is tougher than SCWCD...

Please throw some light to my queries.

Java ranch has been really very helpful to me when I did SCJP.. Love this site... Keep rocking !!!

Amritha
Thanks a lot.. That did help

Amritha
15 years ago
Hi All,

I had a question. In my application, if i select home address from a drop down menu and click "get home address" check box , the system autopopulates home address for me. If i select something else, abd tries to submit it, the system generates an error saying line 1 should be given if it is not the home address. I have created another checkbox for Office visit, which generates office address. But i have a problem with the following code (this is the one which generates error).
How can i include code so that the system will generate error if i select any other option from drop down other than home and "office". Basically i need to add office visit error also to this one (HOME_VISIT "or" OFFICE_VISIT")



Please help me friends..
15 years ago

Hi Ankit,

These are the relevant JSP and Servlet codes..



The servlet code is


Looking forward for your reply..

Amritha
15 years ago
JSP
Hi Friends,

I am trying to add functionality to a check box "Get Office Address " to try to make it autopopulate the office address. Right now , there is only one check box "Get Home address" and when the user clicks it , the home address is autopopulating . I want the same with the new checkbox that i added.

I can , right now submit, but the resulting page doesn't populate the address, the field is blank. should i add office address to the JSP page ?

Also, the page gives an error " Line 1 should be given if it is not home address " when i try to submit the office address. this is the code which generates the error. How can I add code in the following such that Line 1 gives the same error for Office visit also ?


Please help me ...

Looking forward for your inputs..

Thanks,
Amritha
15 years ago
JSP
Hi Friends,

I am trying to add functionality to a check box "Get Office Address " to try to make it autopopulate the office address. Right now , there is only one check box "Get Home address" and when the user clicks it , the home address is autopopulating . I want the same with the new checkbox that i added.

I can , right now submit, but the resulting page doesn't populate the address, the field is blank. should i add office address to the JSP page ?

Also, the page gives an error " Line 1 should be given if it is not home address " when i try to submit the office address. this is the code which generates the error. How can I add code in the following such that Line 1 gives the same error for Office visit also ?



Please help me ...

Looking forward for your inputs..

Thanks,
Amritha
If "Office" is selected as location of appontment,system should autopopulate the address rather than user having to type it in..

Right now, if "Home" is selected, system autopopulates home address if user checks the home visit checkbox..

I want to make the get address checkbox work for both home and office. The code for generating home address is

function checkForVisit()
{
if(document.AddAppointment.elements['appointmentType'])
{
if (document.AddAppointment.appointmentType.value == "5")
{
document.AddAppointment.getAddress.disabled = false;
}
else
{
document.AddAppointment.getAddress.disabled = true;
}
}
}

Can someone please help me how to change code so as to make office visit also prepopulate itself ??

(home visit value is "5" , office visit is "6")

Please help me friends..

Thanks,
Amritha
Hi Chintan,

Thanks for your help. I am just getting to know the SDLC and the different layers... I just started off and it has been only a week... I will write to you in detail soon.. These projects that i got are pretty simple , it is just a matter of time and understanding... Hope you will help..

Laters,
Amritha
15 years ago