aspose file tools*
The moose likes Struts and the fly likes Problem using anchor tag with link stored in db Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem using anchor tag with link stored in db" Watch "Problem using anchor tag with link stored in db" New topic
Author

Problem using anchor tag with link stored in db

Raistlin Zischer
Greenhorn

Joined: Jul 05, 2005
Posts: 25
OK there's the situation. In the database I'm using the user of my webapp can submit a link to the article they are currently studying. I want my webapp to be able to link them to their article. So, on the display page that calls the data from the db is using an standard anchor tag to display it.

Here's the problem. Sturts parses the anchor tag and puts my webapp's main address in front of whatever I load from the db. This causes the link to fail everytime, even when the link in the db contains the full link (http://....).

Any help would be greatly apprepiated....
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem using anchor tag with link stored in db
 
Similar Threads
html escape chars on page rendering
jsp as a frame in jsp
Anchor tag calling Javascript function
problem with anchor tag
Displaying images on JSP page