• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Precompile JSP in Weblogic 5.1

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I tried to precompile the JSP in WebLogic 5.1.
But am facing one problem.
I have some javascript files included in the jsp like
<%@ include file="myScript.js" %>
When I pre-compile the JSP files, it is not able locate the myScript.js file which is present in the public_html directory.
Can anybody help me on this? Is there any property or path I need to set to make the 'myScript.js' file visible in my JSP?
Note: This problem occurs only when I try to pre-compile the JSPs. Else everything is working fine.
Thanx in Advance.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi !
make sure ur jsp file which includes java script file and java script file(.js file) in the same directory under public_html folder. Then if u call the jsp file internally it would call java script file and it would publish the content of java script file along with the jsp file content which is calling javascript file. i worked on it.its working fine. If u are still facing problem with it contact me at ukota@yahoo.com
 
M Suguna
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Upendra,
Thanx for the suggestion.
Yes. All the .jsp files and the .js files are in the same folder (public_html). There are no sub-folders.
When I tried the same thing in UNIX, it is working fine. The problem happens only when I try pre-compilation in Windows machine. Does it gives you any clue?
Regards
Suguna
 
reply
    Bookmark Topic Watch Topic
  • New Topic