File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes In struts , Hyperlink not woking well Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "In struts , Hyperlink not woking well" Watch "In struts , Hyperlink not woking well" New topic

In struts , Hyperlink not woking well

Gaurav Chhabras
Ranch Hand

Joined: Sep 21, 2005
Posts: 126

I am using struts framework, I have made one Hyperlink in my page.
I like that after clicking on that link user should remail on that page.

My project url is http://localhost:8080/abc

When user write this in its URL then it will go to the landing page and there is my hyperlink.In hyperlink i write

<a href="#">Click Here</a>

But the problem coming is that when user click on this link , then he will not remain on that page, he will come to the login page and the url it showing :

So due to above url , it is coming to the login page.

Could you please tell me that why it is happening so, what should i rectify in above

Don't get me started about those stupid light bulbs.
subject: In struts , Hyperlink not woking well
It's not a secret anymore!