users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Fri, 22 Jan 2010 17:14:06 PST

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