Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Struts 2.0.9 - Problem in following a hyper link Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2.0.9 - Problem in following a hyper link" Watch "Struts 2.0.9 - Problem in following a hyper link" New topic
Author

Struts 2.0.9 - Problem in following a hyper link

Niranjan Nanda
Greenhorn

Joined: Dec 20, 2007
Posts: 1
Hi All,

I am new to Struts 2.0. I created a simple logon application (the complete code is shown below). First I am displaying a home page which has a link "Sign In", to take the user to the logon page. After doing the logon, the user is shown a success page, where the same link is present to bring the user back to logon page. From the success page, I was able to come to logon page, however, while I am clicking the link "Sign In" on home page, it threw "404" exception. Please find the source below:

1. [B][/B]


2.


3.


4.


5.


When I checked the HTML source of home page, It looked like:


Please check the BOLD font. Why such a code is generated? IS there anything wrong in some configurations? Kindly help me. Thanks in advance.

Regards,
Niranjan
 
Consider Paul's rocket mass heater.
 
subject: Struts 2.0.9 - Problem in following a hyper link