can i compile .tag files on the fly? please help :(

2008-10-01 Thread LoopInfinitum

hey all,

i'm looking for a definitive answer:
can .tag files be compiled on the fly, or do they always require a recompile
and restart for changes to take effect?

we currently have jsp's set to compile on the fly, and it makes dev so much
easier/faster.

is there any alternative, if not the same very dynamic editing ability of
.jsp's?

running tomcat 5.02a.

thanks so much!
-john
-- 
View this message in context: 
http://www.nabble.com/can-i-compile-.tag-files-on-the-fly--please-help-%3A%28-tp19764368p19764368.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: can i compile .tag files on the fly? please help :(

2008-10-01 Thread Hassan Schroeder
On Wed, Oct 1, 2008 at 9:35 AM, LoopInfinitum [EMAIL PROTECTED] wrote:

 i'm looking for a definitive answer:
 can .tag files be compiled on the fly, or do they always require a recompile
 and restart for changes to take effect?

Did you bother to try?

In any case, I don't know if this is definitive but I've never compiled
a tag file manually, nor restarted TC to see a change.

FWIW,
-- 
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: can i compile .tag files on the fly? please help :(

2008-10-01 Thread LoopInfinitum

thanks much for the reply.

haven't tried yet... i've never used jasper and would have to research it
(someone else on my team set up our build process), so i was asking this
first.

I've never compiled
a tag file manually, nor restarted TC to see a change.

so this means you edit a .tag file, hit refresh in your web-browser, and you
see the change?  that would be great and exactly what i want to happen.

what version of tomcat are you running?  any ideas where you configure this
type of behavior?

thanks again,
john


Hassan Schroeder-2 wrote:
 
 On Wed, Oct 1, 2008 at 9:35 AM, LoopInfinitum [EMAIL PROTECTED] wrote:
 
 i'm looking for a definitive answer:
 can .tag files be compiled on the fly, or do they always require a
 recompile
 and restart for changes to take effect?
 
 Did you bother to try?
 
 In any case, I don't know if this is definitive but I've never compiled
 a tag file manually, nor restarted TC to see a change.
 
 FWIW,
 -- 
 Hassan Schroeder  [EMAIL PROTECTED]
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/can-i-compile-.tag-files-on-the-fly--please-help-%3A%28-tp19764368p19765186.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: can i compile .tag files on the fly? please help :(

2008-10-01 Thread Hassan Schroeder
On Wed, Oct 1, 2008 at 10:17 AM, LoopInfinitum [EMAIL PROTECTED] wrote:

 haven't tried yet... i've never used jasper

Nor have I, directly :-)  I meant, why don't you just change a test
.tag file and see what happens?  Would have taken less time...

 so this means you edit a .tag file, hit refresh in your web-browser, and you
 see the change?  that would be great and exactly what i want to happen.

Yes.

 what version of tomcat are you running?

6.0.x

 any ideas where you configure this  type of behavior?

I believe it's controlled by the development parameter to the JSP
servlet -- see the $CATALINA_HOME/conf/web.xml -- default setting
is true, so no action necessary unless you've changed that.

HTH,
-- 
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: can i compile .tag files on the fly? please help :(

2008-10-01 Thread David Smith
I would guess from a brief look at the jsp 2.0 spec, the answer is yes, 
but didn't read far enough to be absolutely sure.  You could read the 
spec yourself for a definitive answer or just try it...  Personally I 
find reality more fun.


- write a test tag
- write a jsp to test it
- run the jsp test
- modify the tag file only
- run the jsp test again

BTW, you should *really* upgrade your version of tomcat.  You'll be 
happier with the results.


--David


LoopInfinitum wrote:

hey all,

i'm looking for a definitive answer:
can .tag files be compiled on the fly, or do they always require a recompile
and restart for changes to take effect?

we currently have jsp's set to compile on the fly, and it makes dev so much
easier/faster.

is there any alternative, if not the same very dynamic editing ability of
.jsp's?

running tomcat 5.02a.

thanks so much!
-john
  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: can i compile .tag files on the fly? please help :(

2008-10-01 Thread LoopInfinitum

thanks again for the replies.

i guess i wasn't clear... i, of course, have tried this; the status quo is
(and has been) that our team has to restart the server for any .tag changes
made.  it has been this way since i was hired a year ago, and, of course,
we'd benefit greatly from being able to tweak changes in real time.

and i agree with you, i know our tomcat is old :)  unfortunately, we're
stuck with it right now.

i saw these in the spec:
Upon deployment, the JSP container must search for and process all tag files 
appearing in these directories and subdirectories.
For each tag file in the web application, a tag handler is made available
to JSP 
pages and other tag files. The specifics of how this is done are left up to
the Con- 
tainer implementation. For example, some Containers may choose to compile
tag 
files into Java tag handlers, whereas others may decide to interpret the tag
handlers.

so my question is, can tomcat 5.02a be configured to compile .tag files on
the fly?  again, this is not the case for our current configuration.

thanks again,
john



David Smith-2 wrote:
 
 I would guess from a brief look at the jsp 2.0 spec, the answer is yes, 
 but didn't read far enough to be absolutely sure.  You could read the 
 spec yourself for a definitive answer or just try it...  Personally I 
 find reality more fun.
 
 - write a test tag
 - write a jsp to test it
 - run the jsp test
 - modify the tag file only
 - run the jsp test again
 
 BTW, you should *really* upgrade your version of tomcat.  You'll be 
 happier with the results.
 
 --David
 
 
 LoopInfinitum wrote:
 hey all,

 i'm looking for a definitive answer:
 can .tag files be compiled on the fly, or do they always require a
 recompile
 and restart for changes to take effect?

 we currently have jsp's set to compile on the fly, and it makes dev so
 much
 easier/faster.

 is there any alternative, if not the same very dynamic editing ability of
 .jsp's?

 running tomcat 5.02a.

 thanks so much!
 -john
   
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/can-i-compile-.tag-files-on-the-fly--please-help-%3A%28-tp19764368p19766951.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: can i compile .tag files on the fly? please help :(

2008-10-01 Thread Caldarale, Charles R
 From: LoopInfinitum [mailto:[EMAIL PROTECTED]
 Subject: Re: can i compile .tag files on the fly? please help :(

 so my question is, can tomcat 5.02a be configured to compile
 .tag files on the fly?

Your Tomcat version is a bit odd, since there never has been such any such 
level (Tomcat does not use any alphabetic characters in its versioning).  If 
it's some offshoot of 5.0.2, that level is over 5 years old and I don't think 
it was ever officially released.  Also, all Tomcat 5.0 levels are now 
deprecated (i.e., unsupported).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: can i compile .tag files on the fly? please help :(

2008-10-01 Thread Mark Thomas
LoopInfinitum wrote:
 thanks again for the replies.
 
 i guess i wasn't clear... i, of course, have tried this; the status quo is
 (and has been) that our team has to restart the server for any .tag changes
 made.  it has been this way since i was hired a year ago, and, of course,
 we'd benefit greatly from being able to tweak changes in real time.
 
 and i agree with you, i know our tomcat is old :)  unfortunately, we're
 stuck with it right now.
 
 i saw these in the spec:
 Upon deployment, the JSP container must search for and process all tag files 
 appearing in these directories and subdirectories.
 For each tag file in the web application, a tag handler is made available
 to JSP 
 pages and other tag files. The specifics of how this is done are left up to
 the Con- 
 tainer implementation. For example, some Containers may choose to compile
 tag 
 files into Java tag handlers, whereas others may decide to interpret the tag
 handlers.
 
 so my question is, can tomcat 5.02a be configured to compile .tag files on
 the fly?  again, this is not the case for our current configuration.
 
 thanks again,
 john
 
 
 
 David Smith-2 wrote:
 I would guess from a brief look at the jsp 2.0 spec, the answer is yes, 
 but didn't read far enough to be absolutely sure.  You could read the 
 spec yourself for a definitive answer or just try it...  Personally I 
 find reality more fun.

 - write a test tag
 - write a jsp to test it
 - run the jsp test
 - modify the tag file only
 - run the jsp test again

 BTW, you should *really* upgrade your version of tomcat.  You'll be 
 happier with the results.

 --David


 LoopInfinitum wrote:
 hey all,

 i'm looking for a definitive answer:
 can .tag files be compiled on the fly, or do they always require a
 recompile
 and restart for changes to take effect?

 we currently have jsp's set to compile on the fly, and it makes dev so
 much
 easier/faster.

 is there any alternative, if not the same very dynamic editing ability of
 .jsp's?

 running tomcat 5.02a.

If you are really running 5.0.2 Alpha you need to upgrade. That version is
over 5 years old and the 5.0.x branch hasn't been supported for some time.

On current versions compilation on the fly does just work.

Mark



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]