This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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
 
Don't listen to Steve. Just read this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic