users@glassfish.java.net

Re: Unable to access the javascript file in the glassfish, Please help out

From: Sathyan Catari <Sathyan.Catari_at_Sun.COM>
Date: Fri, 22 Jan 2010 17:27:11 -0800

There is a couple of typos here in the path to the script

/exts/adpater/newjavascript.js


-Sathyan




glassfish_at_javadesktop.org wrote:
> Hi All,
> I created a Enterprise Application(New project->Java EE -> Enterprise Application) and in the web tier I am using EXTJS, which is bunch of javascript libraries.
> In the MyEA_WAR(Web) Folder, there is folder "web", Which in turn has "extjs", this folder contains "adapter folder. "adapter" folder contains "newjavascript.js". Overall the file is in "MyEA_WAR/web/extjs/adapter/newjavascript.js"
>
> I am unable to access this file from index.jsp. I am able to access the same file if it is part of "extjs" folder, i.e. "MyEA_WAR/web/extjs/newjavascript.js"
>
> GlassFish gives a weird error "The requested resource () is not available."
>
>
> Code written in index.jsp
> <link type="text/css" href="<c:url value="/extjs/resources/css/ext-all.css"/>" rel="stylesheet" />
> <script type="text/javascript" src="<c:url value="/exts/adpater/newjavascript.js"/>"></script>
>
>
> Its Netbeans6.7 and Glassfishv2.1
>
>
>
> Any help would be a great deed...
>
> Thanks in advance,
> Giridhar
> [Message sent by forum member 'giridhar1983' (giridhar_at_mfino.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=382498
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>