File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes html:link is not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:link is not working" Watch "html:link is not working" New topic
Author

html:link is not working

rajareddy annavaarm
Ranch Hand

Joined: Mar 15, 2007
Posts: 96
when I am clicking on link ,struts giving page cant be dispayed.
this link is not invoking action class.

this is my code

<html:link page="/edit.do">edit</html:link>


what is the problem
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

kindly check (or double check)your struts-config.xml file. or can you paste it here?


Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Ajit Kanada
Ranch Hand

Joined: Jan 23, 2001
Posts: 95
Hi,

Instead of this



try this



Cheers!


Thankx
Ajit
harsha veeravalli
Greenhorn

Joined: May 23, 2007
Posts: 6
Hi,

check whether you have an action class called "edit" and check if it is mapped in struts config


Harsha Veeravalli<br />SCJP 1.5
rajareddy annavaarm
Ranch Hand

Joined: Mar 15, 2007
Posts: 96
now its working.the mistake what i did was i didnt extend Action class for action class
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html:link is not working
 
Similar Threads
html:link -- syntax problem
How to get the field details from one jsp page in struts dispatchaction action class
How do iknow whether a link was clicked or not
New window using struts action
Pop-up in struts