This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JSP and the fly likes JSTL problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSTL problem" Watch "JSTL problem" New topic

JSTL problem

Sharmistha Sarkar
Ranch Hand

Joined: Dec 18, 2012
Posts: 45
I am doing a .jsp validation from a .java

I want to print a message , in that a substring should be a link.

My code :

Can anyone tell me how to find a substring and replace that value with a <a href.......> value. Anyway I found the substring with contains function but can't replace the value.
Gopakumar Naryanan
Ranch Hand

Joined: Jan 15, 2011
Posts: 72

You can use <c:import> tag for this task.

Thanks & Regards
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63349

Gopakumar Naryanan wrote:You can use <c:import> tag for this task.

<c:import> has nothing at all to do with this.

To the OP, what problems are you running into with your current approach? You haven't said.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: JSTL problem
jQuery in Action, 3rd edition