This week's book giveaway is in the OCP forum.
We're giving away four copies of OCP Java SE 8 Programmer II Exam Study Guide and have Kathy Sierra, Bert Bates, & Elizabeth Robson on-line!
See this thread for details.
Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

Dax Joshi

Greenhorn
+ Follow
since Jun 10, 2013
Dax likes ...
Hibernate Java Spring
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
7
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dax Joshi

Ausan Abdulhabib wrote:Congratulations.

I want to know how long you have take for the preparation.

Thanks,



It took 6 months besides of my job hours.
3 years ago

Siamak Saarmann wrote:Hi and congratulations.

1- May I know how much lower was your Entuware than the exam?

For OCJP my Entuware average was around 15% lower than the real exam.

2- Also how much of the Entuware tests did you finish and learn before the exam?

Thank you



I took enthuware tests for learning purpose, never eveluated myself on its basis. There is many many to learn. I had attended around 50-60% of its questions many times.

I have even missed 10-15% questions of it, those could contribute to my score. Anyways, it's good score.
3 years ago
I have cleared OCE WCD 6 with 85%.

I referred Head-first Servlet and JSP. Also the Murach's servlets and Jsp.
Entuware's exam practice helped alot.
3 years ago

Ulf Dittmer wrote:You're right. See the entry for question 30 at http://www.oreilly.com/catalog/errata.csp?isbn=9780596516680


Thank You
3 years ago
I am not able to copy the text. A bigger screenshot should work out.
3 years ago

Maneesh Godbole wrote:

Dax Joshi wrote:In the given attachment, I think of answer of F not of D. Your views please.


My view? Dont have one. The image text is too small!
Please copy paste the text instead of posting screenshots.



The image can be opened in new browser tab also. Anyways let me try to post it as text.
3 years ago
In the given attachment, I think of answer of F not of D. Your views please.
3 years ago
I think that both returns a string (url encoded with jsessionid, if required).

Returned value from any can be used with sendRedirect method.

then what's the major difference ?

Anindya Roy wrote:
encodeURL() is used for all URLs in a servlet's output. It helps session ids to be encoded with the URL.

encodeRedirectURL() is used with response.sendRedirect only. It is also used for encoding session ids with URL but only while redirecting.

3 years ago
Hi,

I have gone through api doc. It seems very similar to me. I couldn't find out a liitle difference. Could you please elaborate.
Thanks.


William Brogden wrote:Looking at the JavaDocs for the HttpServletResponse interface the specific difference is documented.

The encodeRedirectURL() method includes logic for handling a session ID.

The JavaDocs are your friend for questions like this.

Bill

3 years ago
What is the difference in working of encodeURL(String url) and encodeRedirectURL(String url) method HttpServletResponse class' object ?

In which different scenarios one should pick one ?
3 years ago
Thank you

Kondwani Chipeta wrote:Congratulations Dax.

3 years ago
I Passed it a year ago, 12th July 2013.

I prepared with SCJP 6 Book by Kathy Sierra and Bert Bates. Solved Test exams taken by software cd, comes with this book.
Also solved SCJP Practice Exam book by the same authors.
3 years ago
On the front end, forms are generated dynamically from json. Any number of input elements can be there. I want to store all input data to my existing table, which is defined by persistence annotation @Entity and @Table.

I am using Spring-Hibernate-MongoDb integration and for that using mongoTemplate in DAOs.

How can I insert data? How searching and sorting can be done?
4 years ago
I have a page request with many product set in session and a id in request to change product details

form in page is like...

Product.java is like..


values in dropdown are being set in form by script but on from submission I get '0'

Pleease reply as soon as possible.
4 years ago
JSP