Assuming your tld file is correct.

What does it do when you put

value="<%= request.getContextPath() + \"/emis/user-profile-success.jsp\" %>"

Isn't the value of that subsequent forward or redirect always going to be
relative to your app context path?

ie. you shouldn't need <app:contextPath/> there at all if that's not
changing so this doesn't even have to be evaluated at request time.

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Pilgrim
> Sent: Tuesday, February 20, 2001 9:42 AM
> To: [EMAIL PROTECTED]
> Subject: Has anybody got an example of REQUEST_TIME_VALUE?
>
>
> I developed a new custom action tag for ExpressoFramework
> I got a request time attribute but it does not seem to work.
> Has any body got example of the code that uses this feature
> in `TagExtraInfo' subclass.
>
>     <dbexpresso:useController id="profileController" scope="session"
>      className="com.db.gdd3.emis.controller.UserProfileController"
>      state="promptNewProfile" />
>
>    ~~~~~~~~~~~~  My Request Time Expression Fails Here ~~~~~~~~~~~~~
>    <dbexpresso:setCtrlParam name="profileController"
>      property="nextPage"
>      value="<app:contextPath/>/emis/user-profile-success.jsp" />
>    ~~~~~~~~~~~~  My Request Time Expression Fails Here ~~~~~~~~~~~~~
>
>
> where ``<app:contextPath>''  is equal to
ut.print(
> request.getContextPath() )''
>
>
> My TagExtraInfo type class looks like this below.
> What do I do to get the request time expression evaluated ?
>
> public class UseControllerExtraInfo extends TagExtraInfo {
>
>     /**
>      * Return information on the scripting variables defined by
>      * the <code>UseControllerTag</code>
>      */
>     public VariableInfo[] getVariableInfo( TagData data) {
>         return new VariableInfo[]
>      {
>          new VariableInfo(
>           data.getAttributeString("id"),
>           data.getAttributeString("className"),
>           true,
>           VariableInfo.AT_BEGIN)
>      };
>     }
> }
>
> --
> Peter Pilgrim
> G.O.A.T
>                     "the Greatest Of All Time"
>
>
>
> --
>
> This e-mail may contain confidential and/or privileged
> information. If you are not the intended recipient (or have
> received this e-mail in error) please notify the sender
> immediately and destroy this e-mail. Any unauthorised copying,
> disclosure or distribution of the material in this e-mail is
> strictly forbidden.
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to