| Author |
window.location with servlet bean
|
lynn ng
Greenhorn
Joined: Aug 07, 2007
Posts: 6
|
|
Hello, I have javascript which is window.location='/fpp/brand.do'. The "brand.do" is a bean defined in the servlet.xml. When it is clicked it will be linked to the brand.jsp file. I was wondering how is liked to the JSP file? thanks
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56224
|
|
|
Are you using Struts? Typically, URLs that end in .do are Struts URLs.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
lynn ng
Greenhorn
Joined: Aug 07, 2007
Posts: 6
|
|
I don't know but there is a file called struts-config.xml. But I don't see anything related to the jsp file in that xml file thanks
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56224
|
|
|
Struts is a world unto itself. I've moved this to the Struts forum for further discussion.
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
Look for an entry similar to this: In Struts, this associates a JSP with an Action class.
|
Merrill
Consultant, Sima Solutions
|
 |
 |
|
|
subject: window.location with servlet bean
|
|
|