Win a copy of Terraform in Action this week in the Cloud forum!

Varun Garg

Greenhorn
+ Follow
since Jul 30, 2008
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 Varun Garg

Yea one should know Servlets.
Learning is ok but to get certified we have to put a lot of time and energy.
Hello,

I was preparing for SCWCD and almost went thru the HF. But is WCD worth giving?

As far as I can see there are plethora professionals out there who know JSP, Servlets. Moreover I think JSP is getting old and professionals are now using JSF/Struts/Spring. Similarly I read somewhere that EJB is also slowly going out.

So what is use of learning a technology which won�t hold in future?
I remember from my Web Semantic and Cloud Computing class professor saying that web services and Service Oriented Architecture is the next big thing and there is scarcity of professionals in that, and if you are looking to work for Google then you should learn about web services.

So I think rather toiling day and night on SCWCD and SCBCD one should put energy in SCDJWS. I am not saying that one should not learn JSP/EJB/Servlets, but I don�t see that there is any real use of putting of so much effort in that and getting certified. One can learn without getting certified and certification requires a lot of effort and time.

So it�s better to get certified and learn about web services, which is something new and not many people know about that.

What you think ranchers?

Thank You
Hello,

I was preparing for SCWCD and almost went thru the HF. But is WCD worth giving?

As far as I can see there are plethora professionals out there who know JSP, Servlets. Moreover I think JSP is getting old and professionals are now using JSF/Struts/Spring. Similarly I read somewhere that EJB is also slowly going out.

So what is use of learning a technology which won�t hold in future?
I remember from my Web Semantic and Cloud Computing class professor saying that web services and Service Oriented Architecture is the next big thing and there is scarcity of professionals in that, and if you are looking to work for Google then you should learn about web services.

So I think rather toiling day and night on SCWCD and SCBCD one should put energy in SCDJWS. I am not saying that one should not learn JSP/EJB/Servlets, but I don�t see that there is any real use of putting of so much effort in that and getting certified. One can learn without getting certified and certification requires a lot of effort and time.

So it�s better to get certified and learn about web services, which is something new and not many people know about that.

What you think ranchers?

Thank You
[Post removed. Please see your private messages for why.]
[ September 07, 2008: Message edited by: Bear Bibeault ]
13 years ago
JSP
Hey,

I have been reading success stories of people clearing SCWCD. Most of them say learn the API and go tru specs.

- Can you please tell me which API to go tru. There are like tons of methods in each API, are we supposed to memorize all?

-What are specs?

Thank You
Thanks for the reply.

Can you please where these .java and .class files of JSP gets stored?
Hello,

According to HF, whenever a JSP is converted in Servlet the servlet's name is preceded by My and ends with _jsp.

For eg,

JSP file name - Counter
Servlet generated by Container - MyCounter_jsp.java

Now when i looked in my application directory, the servlet was created by name of Counter_jsp.java and when i try to do mapping in DD i am not able to access Counter_jsp.java servlet.

I am using Tomcat.

Please Help !

Thank You
Some times i get the old result and sometimes the follwoing error :-

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 12 in the jsp file: /CounterDisplay.jsp
Counter cannot be resolved
9: <body>
10:
11: Count is :
12: <% out.println(Counter.getCount()); %>
13: </body>
14: </html>


Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
Hello,

I want to know when the JSP pages are compiled? When we save them or when they are accessed.

Actually, i created a JSP page and later i made some modification, but i am not getting the updated page in the browser. I think the automatically created servlet class is not getting updated.

Please help me out.
Hey Guys,

Can you please give me working code a example of transient keyword.

Thank You
and when we nullify the object its eligible for garbage collection no matter what. Is that correct too?
Hey guys,

I read somewhere that String objects are garbage collected only when the class loads off from JVM. Is that correct?

Thank You

Regards,
Varun Garg
Yea i have changed my name. Thanks for pointing out.

I have registered the exam and now takin up. Please tell me is SCJP 1.4 has become tough?