aspose file tools*
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

Win a copy of Java 8 in Action this week in the Java 8 forum!
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

I agree. Here's the link:
subject: In struts , Hyperlink not woking well
Similar Threads
How to change port to 80from 8080
Request Dispatcher problem
in server.xml how to make change in "Host" tag
Problem with getRequestDispatcher
webapp not on 8080 and html:base