Re: JSP -- include-file directive question.. it gets weirder...



maya wrote:

in a directive like this..

<%@ include file="inc_nav.jsp"%>


can included file be anything other than a JSP? since in project I'm working on the included files contain only static content I made them html's so I don't have to precompile the site every time I make a change to them.. but I get cannnot-include error (before, they were JSP's; only get error now that converted them to .html's..)

thank you..


it turns out html includes work fine in my localhost (Weblogic/windows).. but once on the server (Weblogic/unix) it throws a 500 error; a developer here says to me I can't include html's in JSPs, but in localhost html includes work fine.. go figure...

can someone shed some light here??

thank you..




.



Relevant Pages

  • Re: request.getRequestURL()
    ... maya wrote: ... thing w/JavaScript you do with window.location?? ... this is for a JSP, I need it to print diff code depending on what current url is.. ...
    (comp.lang.java.help)
  • Re: unable to compile class for JSP..
    ... maya wrote: ... time I loaded this same JSP a few days ago... ... Either something was changed or your server has gone south. ...
    (comp.lang.java.help)
  • Re: jstl/EL
    ... maya wrote: ... am trying to run this code in a JSP: ... (I'm running in Tomcat 5.5..) ... Daniel Pitts' Tech Blog: ...
    (comp.lang.java.help)
  • Re: do you get error in this url?
    ... maya wrote: ... for culprit line in JSP or jsp servlet..) ... trashgod at gmail dot com ...
    (comp.lang.java.help)
  • Re: do you get error in this url?
    ... maya wrote: ... hoping for culprit line in JSP or jsp servlet..) ... John B. Matthews ... trashgod at gmail dot com ...
    (comp.lang.java.help)