File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSTL problem

 
Sharmistha Sarkar
Ranch Hand
Posts: 49
1
  • 0
  • 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
  • 0
  • 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: 64171
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic