RE: Memery Leak

2002-08-28 Thread Martin Samm

have you tried profiling your application? It could be objects not be garbage 
collected. Check your tags/servlets to ensure they are garbage collecting correctly.

-Original Message-
From: Billy Ng [mailto:[EMAIL PROTECTED]]
Sent: 28 August 2002 09:50
To: [EMAIL PROTECTED]
Subject: Memery Leak


Hi folks,

I am using Tomcat 4.0.3, Struts 1.0.2, and Debian Linux 2.2.19.  I notice 
the size of the free memory is going down everytime there is a user hitting 
my app.  It will never go back up.  Anybody having the same problem?

Billy Ng

_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Can osCache work with Struts applications?

2002-07-03 Thread Martin Samm

can't remember what version of the Servlet spec is in Tomcat 3.3, but certainly i've 
used OSCache with Tomcat/Struts (1.0) - OSCache needs servlet spec 2.3 if memory 
serves.

-Original Message-
From: Steinar Bang [mailto:[EMAIL PROTECTED]]
Sent: 02 July 2002 21:34
To: [EMAIL PROTECTED]
Subject: Can osCache work with Struts applications?


Platform: 1GHz Intel PIII w/512MB RAM, RedHat linux 7.2, Sun JDK 1.3.1, 
  tomcat 3.3, Struts 1.0

Can the osCache taglibs
http://www.opensymphony.com/oscache/
be made to work with Struts 1.0 applications running in tomcat 3.3?

Does anyone have experience with, or thoughts on this?

Thanx!


- Steinar (desperatly looking for a speedup)



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Prefix Matching

2002-05-29 Thread Martin Samm

i've hcecked the archives and found no answer so here goes.

We're designing a new app which will display a variety of categories of 
content. Essentially a request to display a content type will have a URL of

www.mayapplication.com/do/content/CONTENTTYPE/id.jsp

Can we support this with a combination of servlet mappings ( map /do/* to and 
use the action servlet) and ActionMappings (/do/content/* use a particular 
action?). If i can generalise 
www.mayapplication.com/do/content/CONTENTTYPE/id.jsp to use on action then i 
can split the request string up and find the terms afer /do/content/

Any ideas?
-- 
Martin Samm
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: New Site

2002-04-14 Thread Martin Samm

yeh - shot myself in the foot - we've got a memory leak somewhere - trying to 
resolve now

On Wednesday 10 Apr 2002 12:46 pm, you wrote:
 This is not very encouraging.  At 6:30 AM EST on a T-1 I finally gave up
 when the page had not fully loaded after 3 minutes(!!).  My personal
 experience with Struts (we are committed to it at this point for
 VoiceStream Global Wireless's new ecommerce sites) is that it slows
 processing and page deleivery considerably.  Anyone else notice this?

 Mark

 -Original Message-
 From: Martin Samm [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 09, 2002 8:27 AM
 To: [EMAIL PROTECTED]
 Subject: New Site


 Just thought i'd another 'Powered By Struts' site to the list -
 www.peoplenews.com.
 Its a showbiz / gossip site which until recently ran on Vignette (yuk) .
 While the content may not be to everyone's taste, it is popular, about 19M
 hits last month. It's been running for 2 days, so may have a couple of
 teething problems, but it does seem to have scaled well.

-- 
Martin Samm
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: New Site

2002-04-14 Thread Martin Samm

The problem, as i'm finding now, isn't in the JSP itself, but 'loitering' 
objects - tag objects to be specific - i've used the 'ab' utility against the 
site, whilst monitoring using JProbe and the instantiated tags seeme to 
loiter for a long time, sucking memory, which during our businest periods 
could explain the 'drain'

I'm going to put a cache around this, but does anyone kwon why this might be 
and iut may be avoided (not using cacheing?)

On Wednesday 10 Apr 2002 1:35 pm, you wrote:
 I would also check that your JSP's are pre-compiled.  The JSP's are
 compiled as servlets wen they are first called after changes.  That can
 take some time as well.  We have been getting excellent performance across
 a T1 over the Atlantic that goes from Philly to Raleigh to the UK and back
 aain.

 Jim Berg
 Sr. Software Specialist
 PSCI
 610-270-4158
 [EMAIL PROTECTED]



 Pete Carapetyan
 pete@datafundamentals
 .com
  To: Struts Users
 Mailing List

 10-Apr-2002 08:10cc:
 Please respond toSubject: Re: New Site
 Struts Users Mailing
 List
 [EMAIL PROTECTED]
 pache.org

 Galbreath, Mark wrote:
  This is not very encouraging.  At 6:30 AM EST on a T-1 I finally gave up
  when the page had not fully loaded after 3 minutes(!!).  My personal
  experience with Struts (we are committed to it at this point for

 VoiceStream

  Global Wireless's new ecommerce sites) is that it slows processing and

 page

  deleivery considerably.  Anyone else notice this?

 No.

 I would look for a bug in your code, not in Struts. Have you run a profiler
 on it to see where it is spending it's time?

  Mark
 
  -Original Message-
  From: Martin Samm [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, April 09, 2002 8:27 AM
  To: [EMAIL PROTECTED]
  Subject: New Site
 
  Just thought i'd another 'Powered By Struts' site to the list -
  www.peoplenews.com.
  Its a showbiz / gossip site which until recently ran on Vignette (yuk) .
  While the content may not be to everyone's taste, it is popular, about

 19M

  hits last month. It's been running for 2 days, so may have a couple of
  teething problems, but it does seem to have scaled well.
  --
  Martin Samm
  [EMAIL PROTECTED]
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe, e-mail:   

 mailto:[EMAIL PROTECTED]

  For additional commands, e-mail: 

 mailto:[EMAIL PROTECTED]

-- 
Martin Samm
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: New Site

2002-04-14 Thread Martin Samm

built and tested on Linux, deployed on Solaris - dont think IBM supplies a 
Solaris VM

On Wednesday 10 Apr 2002 2:55 pm, you wrote:
 Subject: Re: New Site
 From: Vic Cekvenich [EMAIL PROTECTED]
  ===
 And JRockit.com or IBM for a VM.  (tags are slow on Sun JDK 1.3)

 Vic Cekvenich wrote:
  Weblogic is expensive. Consider Resin...  or OrionServer.com.
 
  Galbreath, Mark wrote:
  Yeah - we think JRun is the main culprit (which is why we are
  abandoning it
  in favor of WebLogic).  I was just interested in other's experience to
  confirm our suspicions.
 
  Thanks,
  Mark
 
  -Original Message-
  From: Pete Carapetyan [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, April 10, 2002 8:10 AM
  To: Struts Users Mailing List
  Subject: Re: New Site
 
  Galbreath, Mark wrote:
  This is not very encouraging.  At 6:30 AM EST on a T-1 I finally gave
  up when the page had not fully loaded after 3 minutes(!!).  My personal
  experience with Struts (we are committed to it at this point for
 
  VoiceStream
 
  Global Wireless's new ecommerce sites) is that it slows processing and
 
  page
 
  deleivery considerably.  Anyone else notice this?
 
  No.
 
  I would look for a bug in your code, not in Struts. Have you run a
  profiler
  on it to see where it is spending it's time?
 
  Mark
 
  -Original Message-
  From: Martin Samm [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, April 09, 2002 8:27 AM
  To: [EMAIL PROTECTED]
  Subject: New Site
 
  Just thought i'd another 'Powered By Struts' site to the list -
  www.peoplenews.com.
  Its a showbiz / gossip site which until recently ran on Vignette (yuk)
  . While the content may not be to everyone's taste, it is popular,
  about 19M
  hits last month. It's been running for 2 days, so may have a couple of
  teething problems, but it does seem to have scaled well.
  --
  Martin Samm
  [EMAIL PROTECTED]
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe, e-mail:
 
  mailto:[EMAIL PROTECTED]
 
  For additional commands, e-mail:
 
  mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]

-- 
Martin Samm
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Re[2]: Struts Basic/Pooling DataSource Vs Poolman

2002-04-04 Thread Martin Samm

go to sourceforge.net and search for it

On Thursday 04 Apr 2002 4:22 am, you wrote:
 On Tuesday, April 2, 2002, 7:42:27 PM, someone wrote:
  How is Poolman better than the database connection manager
  included with struts? Speed? Reliablity?

   I'm curious about this also. Also, where can I get Poolman and
   documentation if the site is down  I'm looking for fairly robust
   connection pooling, it doesn't have to be super industrial strength
   though, so maybe the one with struts will be fine?

-- 
Martin Samm
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: HOWTO: Lessons learned from using Struts, Tomcat and Oracle

2002-03-23 Thread Martin Samm

alternatively, use poolman, which although 'dead' can still be had from 
Sourceforge. i'm also using Struts / Tomcat (3.2 however) and Oracle (all on 
*nix). I haven't tried Tomcat / Struts pooling, but opted for poolman instead 
and found it easy to setup

On Friday 22 Mar 2002 12:04 pm, you wrote:
  Original Message 
 Subject: Lessons learned from using Struts, Tomcat and Oracle
 Date: Thu, 21 Mar 2002 19:43:22 -0800 (PST)
 From: Walter S. So [EMAIL PROTECTED]

 Hi Ted,

 I just want to share this information in case someone else also
 goes through the same problems I did.  I was able to come up
 with this solution after spending an entire afternoon searching
 through the net and archives, so if it saves people a few hours
 of debugging, I'll be happy.  I am not sure how to categorize it
 or even which mailing list to send this, whether it should go to
 Tomcat, Struts, or Tyrex, so I decided to send it to you since
 you are active in Jakarta.

 My goal was to set up a Connection Pooled DataSource using
 Oracle running Struts on Tomcat.  I use Tomcat 4.0.3, Struts
 1.1-b1-lib, Oracle 8.1.7 classes12.zip running on Windows 98,
 but it should work well on Solaris/Linux.

 Initially, I set up the Oracle JDBC drivers under my webapp and
 used the datasource in struts-config.xml to access Oracle.  My
 application consistently hung after the pool was exhausted.
 (For example, if I set the minCount and maxCount to 10, my
 webapp would hang after 10 requests)  The problem of Oracle
 connections not being returned properly by the Struts pool was
 well documented in the mailing list, so I switched the
 datasource from struts-config.xml to tomcat's server.xml.  I
 followed the instructions in the Tomcat jndi-resources-howto and
 copied the Oracle drivers to common/lib after renaming the
 classes12.zip to classes12.jar as suggested by the mailing
 list.

 I found my webapp wasn't running properly as the servlet would
 stop executing after context.lookup().  This bothered me because
 Tomcat was not throwing any exceptions. After some more
 research, I changed the debug level in server.xml from 0 to
 99.  This time, the log generated showed a
 java.lang.ClassCastException: tyrex.jdbc.xa.EnabledDataSource
 when the lookup() is called.  A post in the tomcat-dev mailing
 list provided the answer:  There was a conflict in the jars of
 tomcat and the webapp.  True enough, I found a
 jdbc2_0-stdext.jar (83KB) that came in tomcat\common\lib, and a
 jdbc2_0-stdext.jar (7KB) that i had unpacked from Struts to my
 web-app.  After deleting the 7KB jar, the lookup() executed
 properly.

 To sum up, when using a DataSource in Tomcat and Struts in the
 webapp, make sure to remove the extraneous jdbc2_0-stdext.jar
 that comes with the Struts Lib. :)

 Hope that helps,

 Walter


 __
 Do You Yahoo!?
 Yahoo! Movies - coverage of the 74th Academy Awards®
 http://movies.yahoo.com/

-- 
Martin Samm
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: OT: Dynamic JSP include

2002-03-21 Thread Martin Samm

i'm surpised, i do the same thing in one of my JSP's (tomcat 3.2 on RH7.1 
linux) : 

i create a variable (incPage) in a preceeding % % block then issue 

jsp:include page=%= incPage % flush=true/

Which works fine - is the URL you generate correct?

On Thursday 21 Mar 2002 1:48 pm, you wrote:
 I apologize in advance for submitting an off topic request to the struts
 user community.  However, this group is quite knowledgeable and helpful and
 I could really use some assistance.

 Basically I want to have a dynamic include in a JSP.  Ideally I would like
 the following snipping to work.

 1  %
 2  String product = request.getParameter(product);
 3  if (product != null) {
 4   product = product.replace(' ', '_');
 5  } else {
 6   product = ;
 7  }
 8  String includeFile = static-html/opinion-request/ + product +
 9   _process_overview.html;
 10 %
 11 jsp:include page=%=includeFile%/

 Unfortunately, line 11 does not work as desired.  I have tried variations
 placing  around the %= directive but that does not help.

 Any help is greatly appreciated.

 Tony

-- 
Martin Samm
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




REDIRECT_URL

2002-02-15 Thread Martin Samm

i'm rewriting a web app using struts and have one remaining problem - the 
content we render has hard coded links to other content - i've figured out 
the format for these links and how we would translate / map them to new URLS  
- pick up the 404 and, using apache's ErrorDocument send it to a struts 
action, which would then act like a dispatcher/mapper - parse the original 
url, create a new one, and create a new ActionForward for it. The only 
trouble is, i have yet to find how i get to the original url - i know in Perl 
it's set in the $ENV{} array. Is it retrievable in Java? Also do i use an 
ActionForward or can i (as you would in Perl) send back, to Apache, a 301 
status and a new url / location? I know this is a bit off the struts trail, 
but i'm sure someone must have come across this already

Cheers,
-- 
Martin Samm
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tag libraries

2002-01-28 Thread Martin Samm

not strictly struts, but taglibrary related. I knwo scripting variables can 
be defined in the TLD and set in the TagExtraInfo extended class, but what if 
we dont know the name of these scripting variables as run time - for eaxmple 
one of my tag libs will retrieve a set of data from the database , and each 
column in that row i want to expose as a a scripting variable in the boduy of 
the tag - however i may not know all the column names at run-time so i want 
to declare the scripting variables at run time - i suppose i'm asking if the 
TagExtraInfo class can get access to the class is giving info about at 
runtime? Any ideas?
-- 
Martin Samm
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tomcat 3.2.3+mod_jk

2001-12-05 Thread Martin Samm

have you amended the mod_jk.conf-auto file (after tomcat has started) to 
include the .do mapping:

Change the first JkMount block from 

JkMount /*.jsp ajp12
JkMount /servlet/* ajp12

to 

JkMount /*.jsp ajp12
JkMount /*.do ajp12
JkMount /servlet/* ajp12


On Wednesday 05 Dec 2001 4:56 pm, you wrote:
 Hello all,

 Would you give me some advice?
 I try to use struts 1.0 under tomcat 3.2.3 + mod_jk.
 I modified mod_jk.conf to add 'JkMount /*.do ajp13'.
 But .do files are not found.
 I tried Tomcat 3.3 but result was same.

 Please let me know how to set up struts with mod_jk.

 Regards.

 Daiju Kato
 e-mail:[EMAIL PROTECTED]

-- 
Martin Samm
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: taglibs and jsp:include

2001-12-04 Thread Martin Samm

thats great, thanks very much

On Monday 03 Dec 2001 6:29 pm, you wrote:
  Martin == Martin Samm [EMAIL PROTECTED] writes:

 Martin this is not directly Struts but seemed the best qualified forum
 (it is for a Martin struts based app however).
 Martin I'm using a custom tag to decide which jsp to include (based on
 some request Martin variables) - the tag then uses a JSP writer to create
 the jsp:include - Martin trouble is the 'jsp:include tag is just
 written out and not 'interpretted', Martin i.e. the page isn't included.
 How do i get the container to interpret the Martin include?

 Generating jsp:include ... will not work.  You have to directly call the
 include mechanism, using a variation of RequestDispatcher.include().

-- 
Martin Samm
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: browser platform compatibility

2001-11-30 Thread Martin Samm

i'm using the html taglib privided with struts and have tried the resulting 
pages on windows (IE 5.5) and linux (opera, mozilla and konqueror) - whilst 
this is hardly exhaustive testing (i need to try netscape and older versions 
of IE) i've yet to find any problems. Hope that helps

On Thursday 29 Nov 2001 8:32 pm, you wrote:
 Hi,

 I was wonder if the HTML generated by the Struts tag libraries are
 compatible in IE  Netscape as well as on Windows, AIX, solaris  HP
 systems?  I don't seem to recall any documentation on this subject.  Have
 anyone integrated and tested their applications on these platforms?

 Thanks,
 Elena

-- 
Martin Samm
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




taglibs and jsp:include

2001-11-30 Thread Martin Samm

this is not directly Struts but seemed the best qualified forum (it is for a 
struts based app however). 
I'm using a custom tag to decide which jsp to include (based on some request 
variables) - the tag then uses a JSP writer to create the jsp:include - 
trouble is the 'jsp:include tag is just written out and not 'interpretted', 
i.e. the page isn't included. How do i get the container to interpret the 
include?
-- 
Martin Samm
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Dynamic Tag values

2001-11-21 Thread Martin Samm

i'm having trouble populating tag attributes from request parameters. The 
code below generates an error Attribute name is not specified. 
However, when i remove the pcard tag the other request parameter outputs 
function correctly, so i know that the request parameter is being populated.

%@ page language=java %
%@ taglib uri=/WEB-INF/pnstruts.tld prefix=pcard %
html
headtitlePostcard/title
/head
body
h1%= request.getParameter(name) %/h1
p align=center

pcard:pcard name=%= request.getParameter(name) %
%= request.getParameter(name) %/pcard:pcard

/p
/body
/html


I've also enclosed the tag definition from the .tld (and have set rtexprvalue 
to true).

tag
namepcard/name
tagclasspnstruts.tags.pcardTag/tagclass
bodycontentJSP/bodycontent
infoPCARD tag for celeb info/info
attribute
namename/name
requiredtrue/required
rtexprvaluetrue/rtexprvalue
/attribute
/tag

Any ideas?
-- 
Martin Samm
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Dynamic Tag values

2001-11-21 Thread Martin Samm

Thanks,
i'd discovered that defining and populating a variable and then using it, 
rather than referencing the request directly would work, but as you say, not 
nice!

On Wednesday 21 Nov 2001 3:52 pm, you wrote:
 Hi,

 In Your mail sent 21 listopada 2001 You wrote:

 MS i'm having trouble populating tag attributes from request parameters.
 The MS code below generates an error Attribute name is not specified.
 MS However, when i remove the pcard tag the other request parameter
 outputs MS function correctly, so i know that the request parameter is
 being populated.

 [cut]

 MS pcard:pcard name=%= request.getParameter(name) %
 MS %= request.getParameter(name) %/pcard:pcard

 [cut]

 I'd same problem with

 logic:equals ... value=%=session.getParameter(name%)/

 It   generated  the  same  error  as  Yours. Someone wrote, that maybe
 single quotes after value should be used, like:

 logic:equals ... value='%=session.getParameter(name%)'/

 but it didn't word either, although the error was different.
 Finally I settled with:

 %
   String v = (String)session.getParameter(name%);
 %
 logic:equals ... value=%=v%/

 and  it  works.  I know it's not the nicest way, but I couldn't figure
 antything better.
 Hope It helps.

-- 
Martin Samm
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




static forwards

2001-11-14 Thread Martin Samm

Dear all,

i'm setting up a new site, controlled by struts, where some of the area are 
not form driven. I want to easily set up mappings such that 
http://someSite/news sends me to a certain page eg pages/news/index.jsp and 
http://somsite/bites sends me to pages/bites/index.jsp

Can i set up these /area forwards / redirects easily instruts without going 
through an 'Action' object?
-- 
Martin Samm 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Force login...

2001-11-02 Thread Martin Samm

a common method is to insert a custom tag on each page and 
a) checks the session, say, for a suitable attribute and value
b) presents a login / redirects to login if no such value is found

On Friday 02 Nov 2001 3:44 pm, you wrote:
 My appologies for asking something that has probablly been asked and
 answered before, however, I wasn't able to find the answer in my searches.

 How do you force someone to login before being allowed to access your
 application.  It doesn't seem right to code this in each action class.

 Is it possible to search the archives for this list like the SERVLET and
 the JSP lists?

 Thanks
 Scott.

-- 
Martin Samm MSc, Bsc Hons

http://www.readingroom.com
Winner : Best Business to Business Website 2000-01
(Internet Business Awards sponsored by ntl)

Reading Room Ltd.
77 Dean Street
Soho
London
W1D 3SH
UK

Tel: +44 (0) 20 7734 9499
Fax: +44 (0) 20 7739 4190

The information transmitted is intended only for the person or entity to 
which it is addressed and may contain confidential and/or privileged 
material.  Any review, re-transmission, dissemination or other use of, or 
taking of any action in reliance upon, this information by persons or 
entities other than the intended recipient is prohibited.  If you received 
this in error, please contact the sender and delete the material from any 
computer.


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Struts with XML/XSL for the View

2001-10-18 Thread Martin Samm

i've done something possibly similar. I've implemented a stuts based site, 
and used taglibs for retrieve certain dynamic content from a database and 
transform into XML. I liked the struts architecture, but wanted to keep 
XML/XSL for some of the dynamic portions of the site


On Thursday 18 Oct 2001 11:08 am, you wrote:
 Hi,

 I intend to use Struts framework for the controler facilities.
 The presentation layer will be done with XML/XSLT files parsed by the
 browser (IE 5.5 with MSXML3.0). We don't use any JSP.

 We want to implement MVC2 pattern.
 Do you think Struts is convenient with my need ?
 If not, do you know other framework to implement MVC2 pattern with XML/XSLT
 parsed in the client side for the presentation ?

 Thanks for your answer,

 Eric Brault
 CGEY France

-- 
Martin Samm MSc, Bsc Hons

http://www.readingroom.com
Winner : Best Business to Business Website 2000-01
(Internet Business Awards sponsored by ntl)

Reading Room Ltd.
77 Dean Street
Soho
London
W1D 3SH
UK

Tel: +44 (0) 20 7734 9499
Fax: +44 (0) 20 7739 4190

The information transmitted is intended only for the person or entity to 
which it is addressed and may contain confidential and/or privileged 
material.  Any review, re-transmission, dissemination or other use of, or 
taking of any action in reliance upon, this information by persons or 
entities other than the intended recipient is prohibited.  If you received 
this in error, please contact the sender and delete the material from any 
computer.




Re: New professional STRUTS website

2001-10-02 Thread Martin Samm

the site looks very nice, but i get messages about unsupported OS / browser 
when viewing it with Opera on Linux (RH7.1) - the site still comes up mind 
you.
Seems to run very quickly too!

On Monday 01 Oct 2001 10:12 pm, you wrote:
 Love the site!
 -Original Message-
 From: Frederick N. Brier [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, September 30, 2001 11:36 AM
 To: [EMAIL PROTECTED]
 Subject: Re: New professional STRUTS website


 Beautiful site!  I haven't been through it all yet, but a very impressive
 web application.  As Martin Cooper asked, I would also be interested in
 what aspects of Struts you found most useful, what you felt was missing,
 whether you did one large page or tiled, etc.  I am curious how you
 implemented shared functionality such as uploading of images or their
 editing.  Did you duplicate the actions, somehow parameterize your JSPs,
 etc? Thank you for sharing your site.

 Frederick N. Brier

 At 11:48 AM 9/29/2001, you wrote:
 http://www.hallmarkstories.comwww.hallmarkstories.com
 
 Please have a look at this new site developed to produce offline physcial
 product through an online web based application for Hallmark, Inc. by iXL,
 Inc.(NYC).  I would be happy to provide more detail into any questions
 anyone may have in terms of the STRUTS implimentation or other solutions
 for the build.  I have been reading this list for a long time and working
 on this project for a very long time hoping to expose STRUTS as a
 fantastic framework for implimenting proffessional MVC based web

 applications.

 Thanks,
 Adam S. Grohs
 mailto:[EMAIL PROTECTED][EMAIL PROTECTED]

 This message contains information which may be confidential and privileged.
 Unless you are the addressee  (or authorized to receive for the addressee),
 you may not use, copy or disclose to anyone the message or any information
 contained in the message.  If you have received the message in error,
 please advise the sender by reply e-mail, and delete or destroy the
 message.

 Thank you.

-- 
Martin Samm MSc, Bsc Hons

http://www.readingroom.com
Winner : Best Business to Business Website 2000-01
(Internet Business Awards sponsored by ntl)

Reading Room Ltd.
77 Dean Street
Soho
London
W1D 3SH
UK

Tel: +44 (0) 20 7734 9499
Fax: +44 (0) 20 7739 4190

The information transmitted is intended only for the person or entity to 
which it is addressed and may contain confidential and/or privileged 
material.  Any review, re-transmission, dissemination or other use of, or 
taking of any action in reliance upon, this information by persons or 
entities other than the intended recipient is prohibited.  If you received 
this in error, please contact the sender and delete the material from any 
computer.




Re: Tomcat-Apache Struts Intergration?

2001-10-01 Thread Martin Samm

Cameron,

i went through the integration last week. I'm using 3.2.2 version of tomcat, 
apache v 1.3.19 and struts v 1.0

I, like yourself, had the Apache/tomcat intergation working fine. The 
instruction for then integrating Struts was wrong in one part - i presume you 
found the the instructions on how to integrate Struts when Apache/Tomcat are 
already intergated? There is one part which says to add a line for the '.do' 
into tomcat-apache.conf. This is wrong - at least for tomcat 3.2 onwards .

Modify mod_jk.conf-auto (i.e. start tomcat, which will re-gen the auto files, 
) before starting Apache.  Find the line 

JkMount *.jsp ajp12

Copy this and change it to 

JkMount *.do ajp12

(although in version 3.3 you may have the lines referring to ajp13, i dont 
know) - this file is the one read in by Apache - the instructions for 
Struts/Tomcat/Apache intergation references tomcat 3.2.1 after which i 
suspect the Apache / Tomcat integration instructions changed the file to put 
in apache's httpd.conf. 

Hope that helps


On Monday 01 Oct 2001 3:27 pm, you wrote:
 Hi All,

I got tomcat and apache integrated and working together, however I do
 not seem to have the struts part configured correctly. I followed the
 installation directions to the letter on the web site.  I am using the
 struts example as my test. If I use tomcat directly(port 8080) every thing
 works great!  However when I use apache , and here is the weird thing, the
 only page that seems to be able to handle the .do extension is the logon
 page. In other words every thing else that has a .do associated to it will
 not work. Apache for some reason is trying to handle those pages. S is
 there any one out there using apache, tomcat and struts on netware, also
 could some one who has integrated the three successfully send me some
 instructions on how they did it? By the way I am using the latest version
 of Apache and Tomcat 3.3. Any help you guys could give would be great!

-- 
Martin Samm MSc