JDeveloper: Viewing a .css on JSP at design-time + run-time
PhilGJan 24 2005 — edited Nov 8 2005Hi,
As a newbie to JDeveloper, i'm struggling to get a stylesheet reference to work in both the Design view and at run-time. Dragging a stylesheet on to the JSP works fine in the development enviroment, but when the JSP is called from a controlling servlet, the stylesheet doesn't render. From looking on the web it seems i have to use request.getContextPath() to get the path: doing this works at runtime, but in the design view of JDeveloper doesn't show anything (obviously wouldn't because the getContextPath is evaluated at runtime).
Is there a work around so i can see a style sheet rendered in both design & runtime?
Thanks,
Phil