aspose file tools
The moose likes Struts and the fly likes html:link is not working Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply 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: 3327

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: html:link is not working
 
Similar Threads
New window using struts action
How do iknow whether a link was clicked or not
html:link -- syntax problem
Pop-up in struts
How to get the field details from one jsp page in struts dispatchaction action class