Raja gopal Y

Greenhorn
+ Follow
since Mar 08, 2005
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 Raja gopal Y

Thanks..Very good Information
15 years ago
Why this """ short pause in the application's execution?""""
15 years ago
Yes...Avisesh.. you are right...but my question is if therez no guarantee, and ie completely JVM responsibility, why what's the use of the gc() method?
15 years ago
Hi...

I Know that Garbage Collection is a low priority thread and runs periodically to reclaim the memory. and We can SUGGEST the GC To Reclaim the memory by using system.gc() / runtime.gc().

Manually We can't FORCE The GC to Reclaim the Mrmory.

I am Confused here abt these two statements, Why the Java Team provides these two methods, even by calling these methods guarantees runs the GC?

Hope i explained Clearly abt my Doubt?
15 years ago
Is HSBC having branch in Bangalore?
15 years ago
There are pros & cons,

Pros:
1. In a Small Company you are BIG,
2. Your Participation is more important for them.
3. May Be They pay Good.
4. Your vision / Exposure becomes small / less.
Cons:

1. Some times it becomes tough if you plan to Move to some other company,
Your profile may not shortlist for the first-round of Tech interview.

2. Will Get Very Good Exposure / Vision.

3. Easy to Jump.

Recently i planned to move from a big company to small company...Not yet Decided.
15 years ago
What i am thinking is, All the variables inside the service()[or doGet / doPost] method are not Threadsafe, all the remaining variables are ThreadSafe.

Because Only the Service method is called many times by different threads on a servlet instance.

Any Comments !!!
15 years ago
The Easiest way is to use the

<load-on-startup>

tag of web.xml

Any comments !!!
15 years ago
Hi Alll...

The Simple Answer is

"Statefull Session Bean doesn't support HTTP,where as Servlets support HTP"

Any Comments!!!
15 years ago
Hi Vijay,
The problem with your code is , the JSP compiler is already have some meaning for the keywork "session", here you are using the keyword as a variable(as you know "WE SHOULD NOT USE KEYWORDS AS VARIABLE NAMES").

Try to use another name like

<%
HttpSession sess = request.getSession();
String myAttr="";
sess.setAttribute("myAttr","test");
%>

It Works..

Hope you are clear what i said.
15 years ago
JSP
Thanks for all your priceless information
If it's Prepared on DB Side and Stored, if the DB is running on a different machine, isn't it a performance problem?
Hi..

The Prepared Statement is Prepared once and used to execute the same kind of SQL statemetns.

Can any one pls let me know ""Where is the Prepared Statement Compiled and Stored"".

It's Greate if any one can explain what happens internally.

Regds
Rajagopal
Hi Srikanth,

Is the META tag Working for you, for me it's not.

Regds
Rajagopal
15 years ago
Hi..

When i tried to deploy my struts application(Very simple) i am getting the following error in JBoss in case of tomcat i am getting this error(The requested resource (/strutsTutorial/userRegistration.do) is not available)

************************************************************************

JBOSS ERROR

10:23:42,114 ERROR [Engine] CoyoteAdapter An exception or error occurred in the container during the request processing

java.lang.NullPointerException

at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:73)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)

at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)

at java.lang.Thread.run(Thread.java:534)
15 years ago