Hello folks,
        There is a common jsp file named common_header.jsp used throughout the system, 
under PROJECT_ROOT/js/ directory, and various function jsp files are under different 
subdirs of PROJECT_ROOT, for example, appEdit.jsp,appRemove.jsp under PROJECT_ROOT/app 
directory.
        Now the question is that how do I include a common javascript file in 
common_header.jsp without specifying an absolute path? Now i have to use something 
like "../js/common.js", which works for files under one level 
subdir(PROJECT_ROOT/app)... but definitely won't work other files under the 
PROJECT_ROOT or PROJECT_ROOT/app/something/ ....
        Any ideas?
        Thanks in advance.


-- 
Regards,

<((         D i n g    L e i         ))))))>>
 ||                                      ||
 || Ext: 8102                            ||
 || Email: <dinglei [A] ipanel [O] cn>   ||
 || Dept. Of Technology/Engineering      ||
 || Embedded Information Services Inc.   ||
 ||                                      ||
<((((((    =====================     )))))>>>
        
"I went to the museum where they had all the heads and arms from the
statues that are in all the other museums."
                -- Steven Wright

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to