RE: db error

2004-03-25 Thread McCormack, Chris
Check your database is up before trying to connect to it. If it is and you can ping the database from your application server box, then check your spelling in the data source definition. Chris McCormack -Original Message- From: Rajat Pandit [mailto:[EMAIL PROTECTED] Sent: 25 March 2004

RE: db error

2004-03-25 Thread McCormack, Chris
access it. any pointers? sorry about read reciept thing in my previous mail. rajat - Original Message - From: McCormack, Chris [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 25, 2004 4:46 PM Subject: RE: db error Check your database is up before trying

RE: are you sure?

2004-03-24 Thread McCormack, Chris
If you need this to be in a confirmation box as you say, look in to using a modal window that has 2 javascript backed buttons on it. hth Chris McCormack -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 23 March 2004 12:22 To: Struts Users Mailing List Subject: Re:

RE: CDManager sample in the book The Struts Framework

2004-03-22 Thread McCormack, Chris
InsertAction.execute appears to be trying to access a datasource which is not initialised. Check the connection details are correct and that the connection is valid before trying to use it. Chris McCormack -Original Message- From: Johnson Leung [mailto:[EMAIL PROTECTED] Sent: 21 March

RE: RE: Re: Performance Improvement :: Struts based applications

2004-03-19 Thread McCormack, Chris
taglibs for the JSPs. Do you recommend to use that?? The site that you have mentioned http://wiki.opensymphony.com/space/OSCache, I have been to there, but that is a commercial one. I want a freeware. Can you give me some reference? Regards, Satya. that On Thu, 18 Mar 2004 McCormack, Chris wrote

RE: Hierarchical Lists

2004-03-18 Thread McCormack, Chris
I agree. This behaviour looks very suited to a dhtml/js solution. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 17 March 2004 19:54 To: [EMAIL PROTECTED] Subject: RE: Hierarchical Lists Short of a reload, I believe only a JavaScript/DHTML function can

RE: calling ASP inside a JSP

2004-03-18 Thread McCormack, Chris
Use the superior JSP to suck in the contents of the ASP (using the link to it) and write it out directly to the frame using javascript or, another jsp that contains the sucked in ASP information in a bean. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

RE: Re: Performance Improvement :: Struts based applications

2004-03-18 Thread McCormack, Chris
If you build your war file using ant then you can use jasper (see org.apache.jasper.JspC) to precompile your jsps. This is useful if you are deploying your app to a live user environment and dont want the initial compile time to impact any users experience. On top of that you could use

RE: Why is it so difficult to unsubscribe?

2004-03-15 Thread McCormack, Chris
You spelt incompetent wrong -Original Message- From: Kenneth Kalmer [mailto:[EMAIL PROTECTED] Sent: 15 March 2004 04:30 To: [EMAIL PROTECTED] Subject: Why is it so difficult to unsubscribe? Guys I've been trying to get my name off the stuts user digest for more than a week now! How

RE: can anyone help me address this issue

2004-03-11 Thread McCormack, Chris
use onResize on the html element that is clicked to report its new value to a form variable. use an onChange for the form to auto submit itself. If you need to hide the submission of the form use an IFrame. messy eugh, javascript is the pits. Chris -Original Message- From: Mu Mike

RE: How to submit form in pop-up window and forward parent results page?

2004-03-11 Thread McCormack, Chris
Put an onSubmit(refreshOpener()) on your form (assuming your form is on your popup) write something along these lines (code below is off the top of my head and untested) function refreshOpener() { if(window.opener!=null){ window.opener.location.href=/context/showsomething.do; }

RE: BODY onLoad Workaround

2004-03-03 Thread McCormack, Chris
I use onLoad=blah() with tiles perfectly fine. The simplest solution in your case, would be to go to the foot of your jsp and insert script language=javascript doSomething(); /script just before the /html tag. Chris -Original Message- From: Richard Yee [mailto:[EMAIL PROTECTED]

RE: struts and DHTML

2004-03-01 Thread McCormack, Chris
Hi Michel, I don't know what the solution to your jsp problem is, but, as a side note I would use html style tags for css specification and html element 'class=' on your elements. It enables you to reuse/extend css references that you have defined elsewhere. You can even add css rules for your

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-27 Thread McCormack, Chris
i'll try to use lazy list once i finish off my work Eugh... We have all done it, but that is how botches get in to production code. People usually get too busy to apply the 'proper' code, or something more important that needs attention comes along. 2 years later someone comes along and has

RE: [OT] JSP or Velocity

2004-02-27 Thread McCormack, Chris
Having your JSP built using tiles, each (if necessary) having its own dynamic Tileaction is excellent. It offers so much flexibility, especially when its combined with JSTL. The only gripe I have is with JSTL and not having the ability to get map sizes. Its easy to code around this, but it

RE: Problem using split() method in java script

2004-02-16 Thread McCormack, Chris
Ahh yes I see how this relates to struts... subscribe to a JS newsgroup google is your friend Chris -Original Message- From: Ramachandran [mailto:[EMAIL PROTECTED] Sent: 16 February 2004 07:52 To: Struts Users Mailing List Subject: Problem using split() method in java script Hi, I

RE: corporate hierarchy

2004-02-15 Thread McCormack, Chris
Write it using DHTML. I have written a few things that sound similar to what you are trying to achieve all using DHTML. Populate your divs using jstl and style them nicely using css. Write a few simple reusable javascript functions to show/hide the divs and you are away. If you need any more

RE: DataSource help

2004-02-13 Thread McCormack, Chris
put a trigger on the data table you are selecting from, that inserts a timestamp in to a timestamplog table, when a select is done on your data table. Or create a view and put a trigger on that, to preserve the functionality of the data table (ie not have a trigger fire when you are just doing

RE: [OT] Sending email from struts

2004-02-12 Thread McCormack, Chris
On our sites we are using taglibs-mailer which is very simple and sends mail using tags embedded in a jsp. This makes it very simple to have the jsp render out some dynamic bean information in to the page and have the contents of that page be mailed as the mail body. Chris -Original

RE: web spider

2004-02-05 Thread McCormack, Chris
. Regards, Tomeu Vizoso -Mensagem original- De: Franck Lefebure [mailto:[EMAIL PROTECTED] Enviada: quinta-feira, 22 de Janeiro de 2004 16:34 Para: Struts Users Mailing List Assunto: Re: web spider Le Thursday, January 22, 2004 11:15 AM, McCormack, Chris [EMAIL PROTECTED] m'a, d'une plume

RE: web spider

2004-02-05 Thread McCormack, Chris
a million! Michael At 01:19 AM 2/5/2004, you wrote: McCormack, Chris [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

RE: Regarding Server Side Validation in Struts

2004-01-29 Thread McCormack, Chris
http://www.developer.com/java/other/article.php/2214681 -Original Message- From: Ramachandran [mailto:[EMAIL PROTECTED] Sent: 29 January 2004 12:02 To: Struts Users Mailing List Subject: Regarding Server Side Validation in Struts Hi all, Can any one can tell, how to

RE: AUTO {ICICICARE#005-216-320}Can i access session or request object from a bean which is Actionform variable

2004-01-29 Thread McCormack, Chris
Can the moderator of this list please remove this user, or the owner of the email [EMAIL PROTECTED] please stop spamming this list. -Original Message- From: NRI Cell [mailto:[EMAIL PROTECTED] Sent: 29 January 2004 12:25 To: Struts Users Mailing List Subject: AUTO

White space problem

2004-01-28 Thread McCormack, Chris
Hi all I am using struts with jstl. I have a problem that is a bit annoying. In the navigation jsp on one of my sites I have 2 nested c:forEach tags that have c:if tags inside them. If a bean element meets the c:if condition it gets c:out to the page, if not the loop skips over it until all

RE: White space problem

2004-01-28 Thread McCormack, Chris
/c:forEach Of course, you could always use a servlet filter and replace all \n+ with /n. -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 (cell) AIM: jmitchtx MSN: [EMAIL PROTECTED] - Original Message - From: McCormack, Chris [EMAIL

RE: Session Problem

2004-01-27 Thread McCormack, Chris
put [EMAIL PROTECTED] contentType=text/html session=false% or %@ page session=false % In the header of your jsp that you dont want caching. Chris -Original Message- From: VERMA, SANJEEV (SBCSI) [mailto:[EMAIL PROTECTED] Sent: 26 January 2004 18:33 To: 'Struts Users Mailing List'

RE: Convert JSP to static HTML...

2004-01-26 Thread McCormack, Chris
I haven't tried this bit of code (modified it from something else) but it should work. Just add in the file writing part and you are away. try { StringBuffer urlString = new StringBuffer(http://my.server.co.uk;); urlString.append(/myapp/dosomething.do);

web spider

2004-01-22 Thread McCormack, Chris
Hello all Has anyone tried to successfully spider their struts website using any open-source/free spider app ? I have tried a few that I have found on source-forge and browsed my sites but I was wondering if anyone used a particular spider with their struts site that was very good ! thanks

[OT]session tracking

2004-01-21 Thread McCormack, Chris
I know there are a lot of experienced people on this list so I wanted to ask if anyone had come across a solution to a problem I have been thinking over. Is there a way to track user sessions, without using cookies when using : proxy cache - load balancer - apache - random tomcat server(serving