Anjana Ravindran

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

Recent posts by Anjana Ravindran

I am into J2EE stream for the past 5 years. Now i need to get transfer to another city due to personal reasons. I got a project from Apple relating with their technolgies like Web Objects, etc. Till this time, i was working on open source j2ee stuff. Is it a wise decision to change my career to Apple technologies? Most of the outside IT world dont use Apple specific app servers or tools. Will my experience be considered up to the market when i released from this apple project later? Let me know ASAP as i have to accept this offer in 1 or 2 days.
15 years ago
Thanks Adam for your answer. It is good that the hint will be given saying no of correct options :-)
Thanks for the pointer, Adam. The faq was very helpful.
I see the following question types & evaluation pattern in few mock exams. Is the same followed in real SCWCD exam?

1. Instead of multiple choice questions, fill-in text boxes are given
eg: __________ method is used to set content length in response

2. Partially correct evaluation if one or few choices are correct
eg: Option A B C D. Correct answers: A & B
But i chose only A and it is evaluated as partially correct and mark is given.

3. A hint is given saying how many correct answers are there. It helps to verify my answers to chose the correct answers.
eg: Select 2 correct options
I am really confused with the body content values in tag element. This is my assumption.

Tag files - empty, tagdependent, scriptless
Simple tags - empty, tagdependent, scriptless
Classic tags - empty, tagdependent, scriptless, JSP

Questions
1. Is JSP body content allowed only in classic tags?
2. What if the exam questions asks in general whether the custom tags allows JSP body content?
I have few applications running in my tomcat. I am getting "out of memory" issues. To solve this, java heap size is increased and tomcat is bounced often.

Please give me pointers on handling this issue in a right way. How could i find the memory problem and solve it? What tool can be used? What tweaks i can do to find the problem. Any pointers would be helpful.
16 years ago
I really doubt where to store the constants according to a good programming design.

Situation
----------
Here is my situation. i have an email address and my application has an email functionality to send out the email using this email address.

Right now, this email address is used in only one place.

1. Can i store this email address in the code file where i am using?
2. Can i have one common code file to have all the constants used by the application?
3. Can i have a table called 'key_values' table which will store values in an array list format
eg: Key Value
-------------------------------
email_addr [email protected]
sender_role admin,user,guest

please let me know which option would be good.
16 years ago
I really doubt where to store the constants according to a good programming design.

Situation
----------
Here is my situation. i have an email address and my application has an email functionality to send out the email using this email address.

Right now, this email address is used in only one place.

1. Can i store this email address in the code file where i am using?
2. Can i have one common code file to have all the constants used by the application?
3. Can i have a table called 'key_values' table which will store values in an array list format
eg: Key Value
-------------------------------
email_addr [email protected]
sender_role admin,user,guest

please let me know which option would be good.
16 years ago
I placed in the same location as test.html
17 years ago
JSP
I placed in the same location as test.html
Hi,

CSS is not getting applied in the html. It works in my system and i tried to do the application setup in my friend's system. My application is not working in his. ie., css not getting applied in his system. So, i tried a sample html and sample css to find out. It didnt work in his system. Please give me some pointers where the problem could be.

html
----
<link rel="stylesheet" type="text/css" href="style.css" />

<table width="750" border="0" cellspacing="1" cellpadding="1">
<tr>
<td class="pageTitle">Test Style Sheet</td>
</tr>
</table>

style.css
---------
.pageTitle {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
line-height: normal;
background-color: #0072bc;
color: #FFFFFF;
background-position: center;
}
17 years ago
JSP
Hi,

CSS is not getting applied in the html. It works in my system and i tried to do the application setup in my friend's system. My application is not working in his. ie., css not getting applied in his system. So, i tried a sample html and sample css to find out. It didnt work in his system. Please give me some pointers where the problem could be.

html
----
<link rel="stylesheet" type="text/css" href="style.css" />

<table width="750" border="0" cellspacing="1" cellpadding="1">
<tr>
<td class="pageTitle">Test Style Sheet</td>
</tr>
</table>

style.css
---------
.pageTitle {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
line-height: normal;
background-color: #0072bc;
color: #FFFFFF;
background-position: center;
}
Hi,

I am using eclipse 1.3.2. When i tried to run a program having a main class as java application, it gives an dialog popup 'The active editor does not contain a main type'. Donno why eclipse is not recognizes the main method.

Even when i tried to use run and create a new launch configuration, there is a box to give the main class trying to run. On clicking browse button to get the main class, my main class is not returned in the search result.

This was working before. I moved the physical location of the project from one place to another place (in C Drive) and configured as new java project. After this change, this gave the error. Please give me pointers on solving this issue.
Thank you.. thats really a nice reply. Will explore how this will work out.
I am planning to do batch programs in java using POJOs and Unix script for running and scheduling the job.

Which design pattern in java will be better for batch programs?