jQuery in Action, 3rd edition
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
JavaRanch » Java Forums » Java » JSP
Bookmark "JSTL problem" Watch "JSTL problem" New topic

JSTL problem

Sharmistha Sarkar
Ranch Hand

Joined: Dec 18, 2012
Posts: 48
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: 63844

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] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: JSTL problem
It's not a secret anymore!