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
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
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:
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
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
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
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:
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
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
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
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;
}
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]
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
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
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
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
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
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
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
.
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
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
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
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
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
/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
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'
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);
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
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
29 matches
Mail list logo