Re: Struts and javascript
- From: "Ryan Dillon" <ryan.dillon@xxxxxxxxx>
- Date: 31 May 2005 06:06:27 -0700
If I have understood correctly, you are saying the problem is that the
<html:link/> tags in tree.js file are not being processed? If this is
the case, then I think the following might work:
1) Change the following line in tree.jsp:
<script language="JavaScript" src="/PracaMag/pages/tree.js"></script>
to
<script language="JavaScript"
src="/PracaMag/pages/tree_js.jsp"></script>
2) Rename tree.js to tree_js.jsp
The .jsp extension will trigger the servlet engine to process the
Javascript file as a JSP page, thus rendering the tags.
Does that help?
Regards
Ryan
.
- Follow-Ups:
- Re: Struts and javascript
- From: Marcin Goldyn
- Re: Struts and javascript
- References:
- Struts and javascript
- From: Marcin Go³dyn
- Re: Struts and javascript
- From: Ryan Dillon
- Re: Struts and javascript
- From: Marcin Goldyn
- Struts and javascript
- Prev by Date: generate interface to xml
- Next by Date: Re: BufferedImage
- Previous by thread: Re: Struts and javascript
- Next by thread: Re: Struts and javascript
- Index(es):