Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSTL problem

 
Sharmistha Sarkar
Ranch Hand
Posts: 50
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 72
Eclipse IDE Hibernate Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use <c:import> tag for this task.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64843
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic