You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Josh G <jo...@gfunk007.com> on 2003/11/13 00:19:03 UTC

Resolving an object for a jsp?

Hi I'm wondering if there's an easy way to pass information to jsp pages 
you're inlining with a context.include? Or is it possible to get a 
Servlet instance for the jsp page and make a call to it yourself in lieu 
of tomcat? I'm just looking for a more elegant solution than simply 
tacking things onto the request object. I don't mind if this requires 
tomcat-specific tomfoolery, as the code will be in a taglib.

Any pointers much appreciated.

Cheers,
-Josh

-- 

"I'm sick of the Internet. I want a yabby net."

[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Resolving an object for a jsp?

Posted by Patrick Willart <pa...@aptitudexchange.com>.
An easy way to figure out the java equivalent for this is too look at the
compiled jsp (.java).

Patrick

-----Original Message-----
From: Josh G [mailto:josh@gfunk007.com]
Sent: Wednesday, November 12, 2003 4:20 PM
To: Tomcat Users List
Subject: Re: Resolving an object for a jsp?


Tim Funk wrote:

> <jsp:include ...>
>  <jsp:param name="p1" value="val1" />
>  <jsp:param name="p2" value="val2" />
> </jsp:include>
>
> -Tim
>
The code will be in a taglib, so I can't do that, i'm trying to find the
java equivalent of that jsp code.

--

"I'm sick of the Internet. I want a yabby net."

[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Resolving an object for a jsp?

Posted by Josh G <jo...@gfunk007.com>.
Tim Funk wrote:

> <jsp:include ...>
>  <jsp:param name="p1" value="val1" />
>  <jsp:param name="p2" value="val2" />
> </jsp:include>
>
> -Tim
>
The code will be in a taglib, so I can't do that, i'm trying to find the 
java equivalent of that jsp code.

-- 

"I'm sick of the Internet. I want a yabby net."

[ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ]



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Resolving an object for a jsp?

Posted by Tim Funk <fu...@joedog.org>.
<jsp:include ...>
  <jsp:param name="p1" value="val1" />
  <jsp:param name="p2" value="val2" />
</jsp:include>

-Tim

Josh G wrote:

> Hi I'm wondering if there's an easy way to pass information to jsp pages 
> you're inlining with a context.include? Or is it possible to get a 
> Servlet instance for the jsp page and make a call to it yourself in lieu 
> of tomcat? I'm just looking for a more elegant solution than simply 
> tacking things onto the request object. I don't mind if this requires 
> tomcat-specific tomfoolery, as the code will be in a taglib.
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org