Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

JSP Question

  • 21-01-2004 11:21am
    #1
    Registered Users, Registered Users 2 Posts: 1,466 ✭✭✭


    Hey,

    Having some trivial problems with JSP but being new to this crap it's bugging me and I need some help.
    How can I use the <jsp:forward .... /> directive within a scriptlet?
    I need to do this because I only want to forward to the certain jsp if a condition is true.

    Also can I use the <jsp:setProperty..../> for a java bean within a scriptlet?I know I can treat the java bean just as an object and say something like

    <%@ import golfsys.UserBean; %>
    <% UserBean myBean = new Userbean(); %>

    myBean.setName(name);
    myBean.setSecurityLevel(securityLevel);

    But if I use this will I be able to pick these java bean values up in the next jsp?


Comments

Advertisement