You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Struts2 Fan <st...@gmail.com> on 2007/08/01 15:47:39 UTC

Where does /struts look?

Hi all,

I am using struts2.0.9 and trying to use s:div tag. I am looking at the
showcase demo. It works well. But in my project it cannot find this file. I
put <head> tag.

I just wonder where is the file in the file system? 

http://localhost:8080/struts2-showcase/struts/dojo/dojo.js

Thanks...
-- 
View this message in context: http://www.nabble.com/Where-does--struts-look--tf4200169.html#a11945864
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: Where does /struts look?

Posted by Struts2 Fan <st...@gmail.com>.
No I am using Jetty and I have no application context.
As I said before I can see all the js files except /struts/dojo/dojo.js


Musachy Barroso wrote:
> 
> I think you are missing your application context:
> 
> http://localhost:8080/myapp/struts/dojo/dojo.js
> 
> musachy
> 
> 

-- 
View this message in context: http://www.nabble.com/Where-does--struts-look--tf4200169.html#a11977522
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: Where does /struts look?

Posted by Musachy Barroso <mu...@gmail.com>.
I think you are missing your application context:

http://localhost:8080/myapp/struts/dojo/dojo.js

musachy

On 8/2/07, Struts2 Fan <st...@gmail.com> wrote:
>
> Ok so When I put a <s:head theme="ajax"/> it creates some js scripts such as
> the below.
>
> <script type="text/javascript"
> src="/struts/dojo/dojo.js"></script>
> <script type="text/javascript"
> src="/struts/simple/dojoRequire.js"></script>
> <script type="text/javascript"
> src="/struts/ajax/dojoRequire.js"></script>
> <script type="text/javascript"
> src="/struts/CommonFunctions.js"></script>
>
> when I write http://localhost:8080/struts/dojo/dojo.js on the address bar It
> shows an empty page. But the other 3 js files can be seen properly.
>
> I looked with firebug, too. It cannot display "/struts/dojo/dojo.js"
>
> Any thoughts?
> --
> View this message in context: http://www.nabble.com/Where-does--struts-look--tf4200169.html#a11958581
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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


Re: Where does /struts look?

Posted by Struts2 Fan <st...@gmail.com>.
Ok so When I put a <s:head theme="ajax"/> it creates some js scripts such as
the below.

<script type="text/javascript"
src="/struts/dojo/dojo.js"></script>
<script type="text/javascript"
src="/struts/simple/dojoRequire.js"></script>
<script type="text/javascript"
src="/struts/ajax/dojoRequire.js"></script>
<script type="text/javascript"
src="/struts/CommonFunctions.js"></script>

when I write http://localhost:8080/struts/dojo/dojo.js on the address bar It
shows an empty page. But the other 3 js files can be seen properly.

I looked with firebug, too. It cannot display "/struts/dojo/dojo.js"

Any thoughts?
-- 
View this message in context: http://www.nabble.com/Where-does--struts-look--tf4200169.html#a11958581
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: Where does /struts look?

Posted by Musachy Barroso <mu...@gmail.com>.
It is inside the struts-core jar file.

musachy

On 8/1/07, Struts2 Fan <st...@gmail.com> wrote:
>
> Hi all,
>
> I am using struts2.0.9 and trying to use s:div tag. I am looking at the
> showcase demo. It works well. But in my project it cannot find this file. I
> put <head> tag.
>
> I just wonder where is the file in the file system?
>
> http://localhost:8080/struts2-showcase/struts/dojo/dojo.js
>
> Thanks...
> --
> View this message in context: http://www.nabble.com/Where-does--struts-look--tf4200169.html#a11945864
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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