Hope I was of some help.
Vinod
-Original Message-
From: Charles P. Killmer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 15, 2005 2:32 PM
To: Tomcat Users List
Subject: RE: {OT] Re: Jumping in and out of JSP
I am using a template.jsp file that calls a function defined in another
file.
Charles P. Killmer wrote:
Does anyone know of a creative solution to this? Or some way to achieve
what I am after?
Not to rain on your parade :-) but one of the main reasons for
using JSP (IMHO) is to *separate* markup and code.
Something like this wouldn't even be considered "best practice"
in /m
On Tue, Mar 15, 2005 at 01:31:38PM -0600, Charles P. Killmer wrote:
: Is there a better way to template a site. I don't like the method of
: including sections into each jsp file. This makes adding new sections
: to every page difficult.
You could look into Tiles. That may require Struts, but i
Sent: Tuesday, March 15, 2005 2:09 PM
To: Tomcat Users List
Subject: RE: {OT] Re: Jumping in and out of JSP
Does anyone know of a creative solution to this? Or some way to achieve
what I am after?
Thanks
Charles
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, Mar
:09 PM
To: Tomcat Users List
Subject: RE: {OT] Re: Jumping in and out of JSP
Does anyone know of a creative solution to this? Or some way to achieve
what I am after?
Thanks
Charles
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 15, 2005 12:33 PM
To
Does anyone know of a creative solution to this? Or some way to achieve
what I am after?
Thanks
Charles
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 15, 2005 12:33 PM
To: Tomcat Users List
Subject: Re: {OT] Re: Jumping in and out of JSP
You can
jump out of JSP and just have the function echo it
to the screen without needing to escape the "s to put it into a String
object.
Charles
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 15, 2005 12:23 PM
To: Tomcat Users List
Subject: Re: {OT] Re: J
ot;s to put it into a String
object.
Charles
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 15, 2005 12:23 PM
To: Tomcat Users List
Subject: Re: {OT] Re: Jumping in and out of JSP
You can't mix:
<%!
stuff with open brace {
%>
JSP CODE
<%!
}
st
Subject: {OT] Re: Jumping in and out of JSP
On Tue, 15 Mar 2005 10:27:21 -0600, Charles P. Killmer
<[EMAIL PROTECTED]> wrote:
Is it possible to do something like the following? I have as much
code as I want in Java classes. This is just to make modifying the UI
easier.
&
On Tue, 15 Mar 2005 12:13:53 -0600, Charles P. Killmer
<[EMAIL PROTECTED]> wrote:
> Maybe I wasn't clear. The code that I pasted below is throwing all
> sorts of errors. Assuming that something like this can be done. Why
> does my code throw errors?
Obvious question... but what errors? On close
51 AM
To: Tomcat Users List
Subject: {OT] Re: Jumping in and out of JSP
On Tue, 15 Mar 2005 10:27:21 -0600, Charles P. Killmer
<[EMAIL PROTECTED]> wrote:
> Is it possible to do something like the following? I have as much
> code as I want in Java classes. This is just to make
On Tue, 15 Mar 2005 10:27:21 -0600, Charles P. Killmer
<[EMAIL PROTECTED]> wrote:
> Is it possible to do something like the following? I have as much code
> as I want in Java classes. This is just to make modifying the UI
> easier.
>
> <%!
> public String test() {
> %>
> test2
> <%!
> }
> %>
> <
12 matches
Mail list logo