File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

JSTL problem

Sharmistha Sarkar
Ranch Hand

Joined: Dec 18, 2012
Posts: 44
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
Gopakumar
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60781
    
  65

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: http://aspose.com/file-tools
 
subject: JSTL problem
 
Similar Threads
c set not working with JSTL1.0
Display table rows using JSTL with different colors based on condition
Implementation of google charts in JSP
c:set var question
Simple client side pagination in spring3 mvc is not working ?