× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This is a multipart message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Won't that only work for WAS 3.5, and on an iSeries?

For example, with WAS 4, the folder is 
/QIBM/ProdData/WebASAdv4/properties/com/ibm/websphere/product.xml

At that point, it seems like you might as well just have your own
properties file where you tell it the WAS version.

I am surprised that there is not some global property you can access with
either this information, or the <WASROOT> folder so that you can then
access the correct XML file.

Mark







"Gibson.Stephen" <Gibson.Stephen@burlington.com>
Sent by: java400-l-admin@midrange.com
07/22/2002 11:13 AM
Please respond to java400-l


        To:     "'java400-l@midrange.com'" <java400-l@midrange.com>
        cc:
        Subject:        RE: Retrieving WAS version


Thanks, That was exactly what I was looking for...

-----Original Message-----
From: Art Smet [mailto:smet@us.ibm.com]
Sent: Monday, July 22, 2002 11:00 AM
To: java400-l@midrange.com
Subject: Re: Retrieving WAS version


--
--
[ Picked text/plain from multipart/alternative ]





If your servlet has access, it can read
/QIBM/ProdData/WebASAdv/properties/com/ibm/websphere/product.xml to
determine the WAS level.






                      "Gibson.Stephen"
                      <Gibson.                    To:
"'JAVA400-L@midrange.com'" <JAVA400-L@midrange.com>
                      Stephen@burlington.         cc:
                      com>                        Subject:  Retrieving WAS
version
                      Sent by: java400-l-
                      admin@midrange.com


                      07/22/02 08:58 AM
                      Please respond to
                      java400-l





Is anyone aware if there is a way to retrieve the WAS version in a
servlet.
I have two WAS, one is 3.5.6 and one is still 3.5.0.  I have several
applications that use Servlet 2.2 and JSP1.1 functionality but these are
not
supported in 3.5.0.  I would like to condition these based on the WAS
version.

Any suggests on how I could retrieve this would be helpful.

Thanks

Stephen Gibson

Lees Carpets
A Division of Burlington Industries
3330 West Friendly Avenue
Greensboro, NC 27410

Phone 336.379.2728

_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.


--

--
[ graycol.gif of type image/gif deleted ]
--
[ ecblank.gif of type image/gif deleted ]
--
[ pic04885.gif of type image/gif deleted ]
--

_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.
_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.