Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
OT How to maintain a version number

OT How to maintain a version number

2003-10-10       - By Shapira, Yoav

 Back
Reply:     1     2     3     4     5     6     7  


Howdy,
You could have a common header jsp that's included in pages, which gets
the version number from a servlet context parameter, or a property file.
JNDI is too heavyweight for this I think.  The purely ant approach is
alright.

Yoav Shapira
Millennium ChemInformatics


>-- --Original Message-- --
>From: Euan Guttridge [mailto:EGuttridge@(protected)]
>Sent: Friday, October 10, 2003 8:29 AM
>To: 'Tomcat Users List'
>Subject: RE: OT How to maintain a version number
>
>Easy if you build with ANT - but very OT! Use the increment task to
>increment a property file, then a filterset to place that version
number
>into a JSP/HTML. For more info email me direct or post to ANT mailing
list.
>
>Euan
>
>-- --Original Message-- --
>From: Koes, Derrick [mailto:Derrick.Koes@(protected)]
>Sent: 10 October 2003 13:22
>To: 'Tomcat Users List'
>Subject: RE: OT How to maintain a version number
>
>
>Property file?
>
>-- --Original Message-- --
>From: Jim Lynch [mailto:jwl@(protected)]
>Sent: Friday, October 10, 2003 8:17 AM
>To: Tomcat Users List
>Subject: OT How to maintain a version number
>
>I've written an application where I need to keep up with the version
>number.  I'm trying to figure out an elegant way to maintain that in
the
>simplest and perhaps the most automated way.  My source is kept in a
cvs
>  archive but of course there are dozens of files so it would be
>difficult to base a version number on the version number of a single
>source or would it?
>
>The number would be displayed as part of the title(<TITLE> My App
>0.92</TITLE>) in the index.jsp so it would have to be easily available
>to that file. I suppose I could use JNDI, I could hardwire it into the
>index.jsp file, but I probably want to put it into other .jsp files
also
>and it would be harder to keep up with that way.
>
>Anyway I'm looking for good ideas from this very enlightened crowd.
>
>Thanks,
>Jim.
>
>
>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)
>This electronic transmission is strictly confidential to Smith & Nephew
and
>intended solely for the addressee.  It may contain information which is
>covered by legal, professional or other privilege.  If you are not the
>intended addressee, or someone authorized by the intended addressee to
>receive transmissions on behalf of the addressee, you must not retain,
>disclose in any form, copy or take any action in reliance on this
>transmission.  If you have received this transmission in error, please
>notify the sender as soon as possible and destroy this message.
>
>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)
>
>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to whom
it is addressed, and may not be saved, copied, printed, disclosed or used by
anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.