Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Liferay Exam LRP-614 Topic 10 Question 66 Discussion

Actual exam question for Liferay's LRP-614 exam
Question #: 66
Topic #: 10
[All LRP-614 Questions]

The recommended way to escape text is:

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Scarlet
16 days ago
I'm going with B) HtmlUtil.escape(). Sounds like the most robust and widely-used solution for escaping text.
upvoted 0 times
...
Cyndy
17 days ago
Haha, I bet the correct answer is F) GetterUtil.escape()! Just kidding, I think it's B) HtmlUtil.escape() - can't go wrong with the classics, right?
upvoted 0 times
Barney
7 days ago
I agree, HtmlUtil.escape() is a safe bet.
upvoted 0 times
...
Chandra
9 days ago
I think it's B) HtmlUtil.escape() - classic choice!
upvoted 0 times
...
...
Paris
24 days ago
I think DisplayUtil.escape() might be a good option too, as it sounds like it could be used for escaping text in a display context.
upvoted 0 times
...
Gary
28 days ago
E) FormUtil.escape() sounds like a good option, but I'm not 100% confident. Time to review my notes on web application security.
upvoted 0 times
...
Christene
29 days ago
Hmm, I'm not sure. I was leaning towards D) JSPUtil.escape(), but now I'm second-guessing myself. This is a tricky one.
upvoted 0 times
Josefa
4 days ago
I believe it's actually F) GetterUtil.escape()
upvoted 0 times
...
Dion
13 days ago
I think it might be A) StringUtil.escape()
upvoted 0 times
...
...
Levi
1 months ago
I'm not sure, but I think HtmlUtil.escape() could also be a good choice for escaping text.
upvoted 0 times
...
Vincenza
1 months ago
I think B) HtmlUtil.escape() is the correct answer. Escaping text is a crucial security measure to prevent XSS attacks.
upvoted 0 times
Juan
13 days ago
I agree, B) HtmlUtil.escape() is the correct answer.
upvoted 0 times
...
...
Rosamond
1 months ago
I agree with Valentin, StringUtil.escape() is the best option because it is specifically designed for escaping text.
upvoted 0 times
...
Valentin
2 months ago
I think the recommended way to escape text is StringUtil.escape().
upvoted 0 times
...

Save Cancel