Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling action from HREF

Status
Not open for further replies.

rcgait1

Programmer
Oct 31, 2006
2
Is it possible to call a struts action from a href tag? Something like href='/something.do'

If so is this the correct syntax.

rcgait1@yahoo.com
 
It is possible to reference an action via HREF. You only need to make sure the path specified is correct for your application. Using "/" at the front of your path will cause the browser to attempt to get/post to the root document directory for your domain.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top