Chinmaya Chowdary

Ranch Hand
+ Follow
since Apr 21, 2008
Chinmaya likes ...
Oracle Java
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
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 Chinmaya Chowdary

Add end script tag </script> at the end of code.
Hi Satya,

satya sundar wrote:
Having said that,on a serious note ,what would you say as what determines performance?is it  data structures, algorithms,
Computer architecture, hardware?



Added to these, Wetware, UX factor plays important roles on performance.


7 years ago
Hi Cody,

document.write("Gender: " + Myperson.gender);



There is a typo. It should be myPerson instead of Myperson.

Hi,

I have completed SCJP 5.0 and SCWCD 5.0 around 6 years back. Are these certifications enough to take OCMJEA exam or do I need to upgrade my existing certifications? Please suggest.
Hi,

I have completed SCJP 5.0 and SCWCD 5.0 around 6 years back. Are these certifications enough to take OCEJWSD exam or do I need to upgrade my existing certifications? Please suggest.
I think 'Session' is not a class here. I think this causes the problem
13 years ago
Hi Jerry,

Could you please send complete source code of "MainServlet" and your jsp?
13 years ago
Hi Jerry,

Since your url-pattern is /do/*,

try sending the request like,
13 years ago
Hi, Mohit.


Here var-args internally represented as array, like

Compiler will do this. There is a conflict. There should be one.
Hi, Sandra.

1. How do I fix this error?



Increase the size of 'myfile.txt' file upto 1000 bytes. I think this will fix the error.
Hi, Zhixiong.

Study, 'Peabody' notes on design patterns. This will clear many confusions.

Alex Serna wrote: I read somewhere that you can cast that JspContext to PageContext in order to get the rest of objects(i.e. ServletContext)



Yes. To be clear see the generated source code of jsp.

Alex Serna wrote: but I think it said that this wasn't part of the specs and it depends on the Container being used...



The PageContext api says,

The PageContext class is an abstract class, designed to be extended to provide implementation dependent implementations thereof, by conformant JSP engine runtime environments.


If we see the PageContext api, this is an abstract class and many of the methods are also abstract. The specification gives the flexibility for the implementors to implement i.e. to extend and provide implementation to those abstract methods.