[opencms-dev] Will <cms:include..> leads to broken link
    Raj Malhotra 
    rajvinder.forummails at gmail.com
       
    Fri Apr  4 13:19:09 CEST 2008
    
    
  
Hi i was getting CmsVfsResourceNotFoundException  because i was giving
'frag' in the name field but opencms require 'frag.jsp' in the name
field.This is different from any  java editor like eclipse .If we have
already selected type as jsp we should not give .jsp in the name.May be if
functionality requires , application should internally handle it. I spent
almost 6 hours in order to find out why i was getting exception.What you
people think?
regards
Raj
On Fri, Apr 4, 2008 at 10:18 AM, Raj Malhotra <
rajvinder.forummails at gmail.com> wrote:
> Hi friends
> this is the content of my main.jsp
>
> <%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
>
> <cms:include file="frag.jsp" />
>
>
> My concern is if i rename the frag.jsp to   frag1.jsp     and request
> main.jsp. will it lead to broken link?
> I am not able to execute this scenerio as cms:include is not working for
> me . even both jsps are in the same folder.It just giving me error message
> :   javax.servlet.jsp.JspException:
> org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource
> from path "/organization/usersites/Raj/frag.jsp".
>
>
> regards
> Raj
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080404/17807dae/attachment.htm>
    
    
More information about the opencms-dev
mailing list