You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Charles Brands <cb...@linuxmail.org> on 2004/11/30 11:28:55 UTC

javascript

Hi
I am new to tapestry and I am trying to get my tapestry application to work=
  with javascript.
I work in Eclipse. The directory structure  looks like this

myapp
   |
   |---src
   |    |
   |    -mypkg
   |      |
   |      -Home.java
   |
   |--WEB-INF
   |     |
   |     -Home.page
   |
   |-Home.html
   |-myscript.js

Everything works except the javascript When I call the javascript I get a r=
untime exception
Unable to parse script context:/myapp/new/elmo.js.

The following snippet is in my Home.html file
<body jwcid=3D"@Body">
<span jwcid=3D"@Script" script=3D"/myscript.js"/>


However when I type in the browser
http://localhost/myapp/myscript.js
I can see that the script is there

I am mystified any help is welcome
thanks
Charles Brands
-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org