Srinivas Kalvala

Ranch Hand
+ Follow
since Oct 20, 2005
Srinivas likes ...
Firefox Browser Hibernate Linux
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 Srinivas Kalvala

Below class reads the input from standard input stream. Please let me know if it is not what you are looking for ...




Test:
echo 'Hello' | java -cp . com.test.CmdTest

Result:
Reading data ....
'Hello'
7 years ago

Originally posted by Arockia Raj:
Anybody knows how to create UML Diagrams i.e Class diagram,Collaboration,Sequence Diagrams using IBM RAD(Rational Application Developer 6.0) for the existing RAD J2EE Project(Project interchange of the existing project is available)[/QUOTE

If you want to create class diagram for existing artifacts, then

Select all java files, right click then select following from context menu,

Visuvalize --> Add to new diagram file --> Class Diagram.

To draw new class diagrams manually, same steps can be followed, but modeling perspective would be best for this.

Thank you
[ February 04, 2008: Message edited by: Srinivas Kalvala ]

10 years ago
Hello,

If you want to know, exactly what happens ...

Modify your program like this and see the output.




output:
----------
9.9999998E17
[ April 11, 2007: Message edited by: Srinivas Kalvala ]
Hello,

The size of the vector will be verified with the index position when a new object is being added.

If the size of the Vector is less than index position then java.lang.ArrayIndexOutOfBoundsException will be thrown.

Have a look at java source.

Note: The add method inturn will call following method.



[ April 11, 2007: Message edited by: Srinivas Kalvala ]
[ April 11, 2007: Message edited by: Srinivas Kalvala ]
Hello,

If you can spend atleast 2 hours for reading the Study guide and 1 or 2 hours practice daily then you can do it in a little time span.

Try mock exams once you complete reading the study guide.

All the best.
Hello,

It compiles fine and gives the print in else part. The parent class for all classes in java is java.lang.Object class got default implementation for equals method.

Hello,

I am building a web application, in which JSP pages and certain controls are visible to only one set of users and will be hide to other users. I want to control the entitlements of my application.

I did some google search on this, but I did not find any useful and right away to apply stuff.


Please can any one suggest a best way to control entitlements in an typical J2EE Application.
[ February 12, 2007: Message edited by: Bear Bibeault ]
11 years ago
JSP
hello,

First always remember: " Clearly stated problem is half solved".

In this case, it is very clear that, JSP does contain some script errors.

Please review your JSP page or Post the JSP page code here.
11 years ago
JSP
Can you tell me, how can we test that one ?

Or

Can you tell me, the problems that can occur with the use of request.getContxtPath() in jsp directly ?
11 years ago
JSP

Originally posted by Bear Bibeault:
Did you try it? Did you ask him what the issue might be?

How else, at least using scriplets, would you expect to obtain the context path?



Some of the forums says, the JSP page will be translated every time, if it see that method() ...

Is it true ?
[ February 09, 2007: Message edited by: Srinivas Kalvala ]
11 years ago
JSP
Hello,

One of my friend told that, the JSP page will not be traslated if following line is included in JSP.

<%=request.getContextPath()%>

is he correct ? or any other problem is associated with this ?
11 years ago
JSP
Hello,

Try,

11 years ago