wood burning stoves*
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
 
GeeCON Prague 2014
 
subject: html:link is not working