Muthuvel Ramamoorthy

Greenhorn
+ Follow
since Jun 08, 2006
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 Muthuvel Ramamoorthy

Is it transferable? I came to know that if we buy voucher, only the person who buy only can use, please check.

Thank you
17 years ago
Hi,
************************************************************************
um.. after lot of frustation by tracing out the code,again and again finally i
got it,just a typing mistake about Style attribute.

************************************************************************
in the servlet : setting "styles" as follows...

request.setAttribute("styles", result);

in the jsp : getting "styles" as follows....

List styles = (List)request.getAttribute("styles");

Kindly point out whrere is the spelling mistake. I could not solve the problem yet.

Thank you.
Hi,

i am also getting the same error at the line,

view.forward(request, response);

Any solution for this?
E:\tomcat\MyProjects\beerV1>javac -classpath E:\tomcat\Tomcat5.0\common\lib\servlet-api.jar:classes:. -d classes src\com\example\web\BeerSelect.java


for windows OS, we should use ; instead of : in between jar & classes

E:\tomcat\MyProjects\beerV1>javac -classpath E:\tomcat\Tomcat5.0\common\lib\servlet-api.jar;classes;. -d classes src\com\example\web\BeerSelect.java
Hi,

Thank you , its getting thro.

the link you provided really helped me to find out my mistake. I used so colon so far and thats why.

"Note that different class file location values should be seperated with a semicolon on a Windows machine (not with a colon as is used with Linux).
"
Still i am getting the same compile error.

Please help to solve this error.

thank you
hi

i study HF servlets & JSP for the scwcd.

i have the directroy structure as follows

VProject --> src --> com--> example-->web-->select.java (servlet source code)
VProject --> src --> com--> example-->model-->expert.java (java source code)

VProject --> classes --> com--> example-->web-->select.class (servlet class file)
VProject --> classes --> com--> example-->model-->expert.class (java class file)

When i compile servlet source code after adding import com.example.model.*;
i am getting the compile error saying that package com.example.model does not exist.

Which causes for this error, kindly assist..

Thank you
Hi all,

i faced difficulty in configuring tomcat5 in window98, after explored i found and succeeded. I believe this may help if anybody face the same problem.

Setting Environment variable after installing Tomcat 5.0 in win 98.

1. click start - run
2. enter msconfig
3. click Autoexec.bat
4. Select last entry then click new button
5. Type Set CATALINA_HOME=C:\Tomcat5 in the pop up window
6. Again Select last entry then click new button
7. Type Set JAVA_HOME=C:\jdk14 in the pop up window
8. click Apply and ok
9. reboot the system

once restarted system search for the file config.sys and open it using notepad and add the following line and save & close.
SHELL=C:\COMMAND.COM C:\ /E:8192 /P

Now should be able to startup tomcat.

Thank you
Hi Guys, i start today reading Head First Servlets & JSP and i have a voucher which expired 31 July 2006. I think i have short time but hope to pass. I would like to join in this conversation also.

I have completed my 1.4 today an hour before.

Thank you
hi,

I too prepared for 1.4 using K & B.

Yesteday after i read your post i explored Khalid Mughal Exam, and i was shocked, and again it was till today just one hour before, i just completed with 54% only. Its my Luck, just pass.

I did see a lot of questions in the style of Khalid Mughal Exams. i am not telling K & B is not good, but should practice other mocks too.

Unfortunately i did not have enough time after reading your post last night, so i could not get trained with Khalid Mughal Exams.

Good Luck.
Hi,

Why dont you try...this.

1. start engine
2. answer for the first question.
3. click finish to see the result. now you know the answer is right or wrong. if its wrong you can refer the book.

thank you
if you try to eliminate the choices finding the wrong answers, will be easier to find out the correct answers. i tried to eliminate A and B among five choice you listed.

A is wrong, because interface cannot implement anything
B is wrong, because class cannot extend interface.
as you told C is correct.
as you told D is also correct.
E, i dont find it is clearly typed, please type it clearly, so that can try to eliminate this by finding the mistake.

Thank you
The following program returns,
true
true
true
can explain, what the method intern() does ?
Thank you



public class ObjectTest {

public static boolean compare1(String input) {
return (input == "Test");
}

public static boolean compare2(String input) {
return (input.equals("Test"));
}

public static boolean compare3(String input) {
String testString = new String("Test");
return (testString.intern() == input);
}

public static void main(String[] args) {
String input = "Test";
System.out.println(compare1(input));
System.out.println(compare2(input));
System.out.println(compare3(input));
}
}