Win a copy of Programmers Guide to Apache Thrift this week in the Open Source forum!

Mangesh Tendulkar

Greenhorn
+ Follow
since Mar 20, 2010
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 Mangesh Tendulkar

Thanks everyone for the wishes!!!
Hi All,

I cleared OCPJBCD 5.0 exam on Saturday 19th March 2011 with 98%. It took me whole 3 months to prepare for this exam. Firstly being new to EJB province, had to start with EJB 3 In Action. Further took up EJB 3.0 and Specifications for EJB and JPA. Endless hands-on and reading aforementioned documents actually helped me a lot to clear this exam.

Thanks,
Mangesh Tendulkar
Hi All,

First of all thanks to Charles Lyons for excellent book on SCWCD 5.0. Being into J2EE development for couple of years, I was familiar with Servlet and JSP technology but believe me I hadn't explored these technologies to their fullest potential, but now after the certification I am well equipped with great features that these technologies provide.

Sincere and thorough read of Charles Lyons book "SCWCD 5 Study Companion", following various threads on JavaRanch and endless hands-on sessions really helped me clear this certification.

Regards,
Mangesh Tendulkar
8 years ago
I am referring to SCWCD Study Companion by Charles Lyons. As correctly mentioned by you, author says that JSP can execute in non-servlet container. But then what does this imply?

Regards,
Mangesh Tendulkar
8 years ago
JSP
Hi All,

Currently while studying for SCWCD I came across a fundamental on JSP which states "Using JspContext, JSPs can be used to execute in non-Java environment thereby making then cross platform portable". However when I searched on internet for the same, opinion is that to execute JSP in non-java environment say on IIS, a Tomcat plugin fo IIS is required. My question is if this is the case then why do we say that JSPs do execute in non-java environment and if they do then how?

Regards,
Mangesh Tendulkar
8 years ago
JSP
Yes perfectly said however i was trying to figure out situations in which one has to use specific method. I am reading SCWCD by Charles Lyons, it mentions that for sendRedirect() one has to use encodeRedirectURL() whereas when one wants to use hyperlinks on page then use encodeURL(). Also it mentions that sometimes (not always) the output of both these methods differ, so I wanted to understand when that happens. Thats why out of curiosity, I tried to use encodeURL() in combination with sendRedirect() and it works just same as with encodeRedirectURL(). I am definitely missing on something, but dont know what

Regards,
Mangesh
9 years ago
Hi All,

I am trying some snippets for preparing myself for SCWCD. While studying encodeURL() and encodeRedirectURL(), I found that using any of these does not make any difference if you are going to redirect the request to say some other jsp page or servlet. Below is the code snippet i tried:

//String encUrl = res.encodeURL("/scwcd/showServletContextInformation");
//String encUrl = res.encodeRedirectURL("/scwcd/showServletContextInformation");
System.out.println("****Encoded url is: "+encUrl+" ****");
res.sendRedirect(encUrl);

here /scwcd is context root. Is my understanding right or am I missing on something important!

Regards,
Mangesh
9 years ago
Both these books are great! However if you are totally novice to JSP and Servlets then I suggest go for HFSJ, else if you are comfortable with Servlets and JSP then my strong recommendation would be Charles Lyons. This books is simply awesome, full of knowledge. And ofcourse both books cover SCWCD objectives fully.