Announcement Announcement Module
Collapse
No announcement yet.
Spring WebFlow, I cant find path to files outside my flow? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring WebFlow, I cant find path to files outside my flow?

    Spring WebFlow, I cant find path to files outside my flow?

    I am working on a Spring Webflow2 project and sometimes I have to access JavaScript and Image files that are not in my flow. I cant find the right path to put into my JSP page.

    Example:

    This is in my JSP that is in the flow:

    function ShowCalendar(CONTROL,START_YEAR,END_YEAR,FORMAT){
    alert("Loading Calendar js/HTMLCalendar.jsp" );
    ControlToSet = eval(CONTROL);
    StartYear = START_YEAR;
    EndYear = END_YEAR;
    FormatAs = FORMAT;

    var strFeatures = "width=" + CalWidth + ",height=140" + ",left=" + LEFT + ",top=" + TOP;
    var CalWindow = window.open("../calendar.jsp","Calendar", strFeatures)
    CalWindow.focus();
    }

    I get the alert but my project never finds calendar.jsp which is in the root of WebContent? can someone please help me out. I am also trying to load a image

    src="/images/cal.bmp"

    which is in WebContent/images but it is also not getting found?
Working...
X