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 7 Question 58 Discussion

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

The recommended way to escape text is:

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Jesusa
17 hours ago
GetterUtil.escape()? Really? I've never heard of that one before. Sounds like a made-up answer to confuse us.
upvoted 0 times
...
Eulah
3 days ago
Haha, FormUtil.escape() - that must be a joke answer, right? I can't imagine that's a real thing.
upvoted 0 times
...
Delisa
4 days ago
Hmm, I'm not familiar with some of these utility classes. DisplayUtil.escape() and JSPUtil.escape() don't sound like standard Java utilities to me.
upvoted 0 times
...
Merlyn
5 days ago
I'm not so sure about that. Isn't StringUtil.escape() a more generic way to escape text that could be used in different contexts, not just for HTML?
upvoted 0 times
...
Laurel
7 days ago
I think the answer is B) HtmlUtil.escape(). That's the most common way to escape text in web applications, right?
upvoted 0 times
...
Lelia
8 days ago
This is a tricky question! I'm not sure which one is the recommended way to escape text. Maybe we should look at the documentation for each of these utility classes.
upvoted 0 times
...

Save Cancel