Jahia Dev Forum > access JCRSession...

0 (0 Good)
0 (0 Bad)

access JCRSession in jsp

by  bharatkasodariya »  2014/03/03 10:27

how to access JCRSession in component jsp

  (bharatkasodariya)

Number of messages  57
Registration date
0 (0 Good)
0 (0 Bad)

Re: access JCRSession in jsp

by  qlamerand »  2014/03/03 10:48

Hello

You shouldn't need a JCR session in a JSP view.
If you have to do some modifications on a node, you'd probably use an Action:
http://www.jahia.com/community/documentation/jahiapedia/actions/actions.html

Regards,
Quentin

  • Re: access JCRSession in jsp
    2014/03/03 10:48

    qlamerand <p> Hello</p> <p> You shouldn&#39;t need a JCR session in a JSP view.<br /> If you have to do some modifications on a node, you&#39;d probably use an Action:<br /> <a href="http://www.jahia.com/community/documentation/jahiapedia/actions/actions.html">http://www.jahia.com/community/documentation/jahiapedia/actions/actions.html</a></p> <p> Regards,<br /> Quentin</p>

  • Number of messages  28
    Registration date Mar 3, 2014
    0 (0 Good)
    0 (0 Bad)

    Re: Re: access JCRSession in jsp

    by  bharatkasodariya »  2014/03/03 11:19

     

    I am trying to fetch all properties of the specific node in the jsp and using it creating the page with those properties. For that I thought to use JCRSession to get fields of node. Can you tell me how can I achieve it. 

      (bharatkasodariya)

    Number of messages  57
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page