I've now downloaded Studio Creator, installed and started it.
I managed to register my DataSource with MySQL (not listed by default).
I also managed to shutdown the Sun App Server which had automatically started.
I also managed to shutdown the pointbase database server, also started
automatically
Hi,
You want to set it in runtime?
Regards
Deepak Kumar
--- Shailesh Barde <[EMAIL PROTECTED]> wrote:
> Hello,
>I have to set the value in the Struts
> Resource Bundle .Can anyone help me out to know how
> to set the value for particular key in Resource
> Bundle either using java.util
Hello,
I have to set the value in the Struts Resource Bundle .Can anyone help
me out to know how to set the value for particular key in Resource Bundle
either using java.util.*(Resource Bundle) or Struts Util API?There is no method
to set the value for a key in both of these API's?
Rega
Specifically exceptions in execute().
Shouldnt these result in a stack trace printout in
Tomcat 5. Or are they printed out to the logs.
__
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
netsql wrote:
Just to be diferent, there are alternatives to Ajax:
http://msdn.microsoft.com/smartclient/understanding/definition/default.aspx
Ooh! Isomorphic is not going to like that. They've had an Ajax toolkit
product named SmartClient for quite a few years now.
http://www.smartclient.co
Hi all
I've just been through the demos below and the Java Studio looks a lot like
NetBeans.
I'm now assuming that this is just two products from the same cloth, Sun Java
Studio
Enterprise 8 == NetBeans 5, is this correct?
The Studio Creator product looks neat but from the screen shots I cou
Mark Benussi wrote:
I havent heard of one. Its only Javascript at the end of the day!
Yeah, right!
--
Martin Cooper
Here
are some methods I have in an ajax.js and some example code to invoke
the code.
ajax.js
/**
* Returns an XMLHttpRequest object based on the client platform
*/
functio
Laurie Harper wrote:
Joe Germuska wrote:
[...]
I would recommend against using Prototype[3] or JSON[4] with Struts,
as they use a JavaScript strategy which is incompatible with
commons-validator and the html:javascript tag (see Bug #37134[5]).
[...]
[5] http://issues.apache.org/bugzilla/sh
Joe Germuska wrote:
At 4:43 PM +0100 11/8/05, Nicolas De Loof wrote:
I'm using DWR on my webapp for navigation in a table, using a "Page 1
2 3 ..." footer.
DWR makes it realy simple based on a List put into user session.
Browser can get requested elements from list and DWR comes with utils
to
While adding the validator configuration to your struts-config, u must be
missing some tag. check for it
On 11/11/05, eve <[EMAIL PROTECTED]> wrote:
>
> I have tiles working in my application. As i try to use the validator
> i get the following error
> which may it be the cause?
>
>
>
>
>
>
> java
On 11/9/05, Danny Lee <[EMAIL PROTECTED]> wrote:
> Hi Michael,
>
> Persistance is no issue, becouse I have implemented managers, which can
> be simply used anywhere. Something like:
>
> "On update PersistanceManager.UpdateProductCount(prodID, newCount)"
>
> Well the question was about multi row upd
Laurie, I've added a note on the bug, with a link to your messages.
Niall
- Original Message -
From: "Laurie Harper" <[EMAIL PROTECTED]>
Sent: Thursday, November 10, 2005 10:13 PM
> I just tried it, and prototype+validator works fine for me. It's
> possible my test just didn't use the
Thanks, it worked.
Sorry of the out of topic post.
> Eric Plante wrote:
> > hi,
> >
> > I have a div on autoscroll that contains multibox. Here's the code
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > It works
[EMAIL PROTECTED] wrote:
It seems so simple by I am brain dead today.
Would I create a bean that is just a collection and then populate that collection with the List I want the user to choose from? How would I put the list in the jsp?
You'll have to describe what you're trying to do in more
Considering current Party policy proclaiming "Struts is not a single
product, but is a community" I would rephrase Laurie's reply as
follows:
layout:collection is part of the Struts Layout project, which is a
separate project from Struts Classic, Struts Core, Struts
Distribution, Struts Shale , St
Eric Plante wrote:
hi,
I have a div on autoscroll that contains multibox. Here's the code
It works fine when the vertical scroll bar is needed but instead of
applying the horizontal, the text change line which is
On 11/10/05, Nishant Deshpande <[EMAIL PROTECTED]> wrote:
> i have
>
> name="header(revenue%28Debt+Consol.-Net+Lead+Revenue%29)" ...>
>
> this is backed by a bean which has
>
> setHeader(String key, String value) { ... }
>
> in general this is fine, but for the above line, the '.' in the key
> cau
hi,
I have a div on autoscroll that contains multibox. Here's the code
It works fine when the vertical scroll bar is needed but instead of applying
the horizontal, the text change line which is annoying.
Any ide
Sehr geehrte Damen und Herren,
in der zeit vom 7. November 2005 bis 18. November 2005 bin ich im Urlaub. Bitte
wenden Sie sich bei allen Fragen entweder direkt an [EMAIL PROTECTED] oder
telefonisch an: 0511 / 93 62 28 22
Mit freundlichen Grüßen
Andreas Bednarz
i have
this is backed by a bean which has
setHeader(String key, String value) { ... }
in general this is fine, but for the above line, the '.' in the key
causes problems. looks like struts treats this as a nested method call
(??) ?
anyone come across this and any solutions?
-
I defined an ActionForm of which it has a FormFile. Prepopulation is
not needed for this ActionForm. Configuring this ActionForm is similar
to any other forms and here is the exception. I get this exception
when I startup/shutdown Tomcat.
ActionForm:
public class UploadForm extends ActionForm {
p
Laurie Harper wrote:
Joe Germuska wrote:
[...]
I would recommend against using Prototype[3] or JSON[4] with Struts,
as they use a JavaScript strategy which is incompatible with
commons-validator and the html:javascript tag (see Bug #37134[5]).
[...]
[5] http://issues.apache.org/bugzilla/sh
If someone wants to see the frameworks comparision, here is nice list:
http://wiki.osafoundation.org/bin/view/Projects/AjaxLibraries
Lukasz
> -Original Message-
> From: Ben Kim [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 10, 2005 1:55 PM
> To: Struts Users Mailing List
> Subjec
It seems so simple by I am brain dead today.
Would I create a bean that is just a collection and then populate that
collection with the List I want the user to choose from? How would I put the
list in the jsp?
Thanks in advance,
--Brad.
---
I also delivered an AJAX-like web application for ABN AMRO, so the users in
India can access a mainframe in Chicago. The performance is surprising. It
is even faster than a client/server version of the application.
The best approach for AJAX is to develop the custom tags. For example, tag
for inpu
Joe Germuska wrote:
[...]
I would recommend against using Prototype[3] or JSON[4] with Struts, as
they use a JavaScript strategy which is incompatible with
commons-validator and the html:javascript tag (see Bug #37134[5]).
[...]
[5] http://issues.apache.org/bugzilla/show_bug.cgi?id=37134
I
That appears to be a Tiles error, not a validator error; does it work if
you don't configure any validation? If so, what validator configuration
do you add that leads to the error below?
L.
eve wrote:
I have tiles working in my application. As i try to use the validator i
get the following er
Thomas Hamacher wrote:
But anyways: does anybody know, if the parameters, given through paramId are
saved in an ActionForward? This would help me a lot, because I have to
remember the parameters - if any are used - together with my ActionForward
for later references. Right know I'm trying a wor
layout:collection is part of the Struts Layout project, which is a
seperate project from Struts. You need to ask questions about its use on
the Struts Layout mailing lists:
http://struts.application-servers.com/mail-lists.html
arnaud gonzales wrote:
Here is the tips:
2005/11/10, arnaud
Are you using the validator.xml and validation-rules.xml files shipped
with Struts 1.2, or copies from an older version? Do you have the right
versions of all jars in your WEB-INF/lib?
L.
Kanuri, Chand wrote:
Hi all,
i have problem with validator plugin.
in my struts config i enabled the va
Andrzej Bengner wrote:
Hello
How can I get property method with arguments?
Here is my example code from my TagSupport class:
TagUtils.getInstance().lookup(ipage, iname, "myMethod", iscope);
... and i want to lookup for:
TagUtils.getInstance().lookup(ipage, iname, "myMethod(a,b)", iscope);
lo
Ben wrote:
Hi
Could someone please let me know how to make FormFile work in the
session scope? It always gives me Serializable exception.
I need to use FormFile in session scope.
FormFile is an interface, so I assume it's the particular implementation
you're working with that's failing to se
Just to be diferent, there are alternatives to Ajax:
http://msdn.microsoft.com/smartclient/understanding/definition/default.aspx
.V
Rafael Nami wrote:
Super, I tested ajaxtags and really liked it, but that's how I said before -
The team arged that before using a framework, they have to understa
bhas4 wrote:
Yes, I have tried everything that is relavent for the upgrade as mentioned in
the wiki page - http://wiki.apache.org/struts/StrutsUpgradeNotes11to124, I do
not see any wiki pages that talk about upgrade from 1.0 to 1.2 version, could
only get 1.1 to 1.2 document.
As per the above
Thomas,
in my decorators I typically take the current context path from the
PageContext like this:
PageContext pc = getPageContext();
HttpServletRequest request = (HttpServletRequest)pc.getRequest();
String contextPath = request.getContextPath();
Martin
> -Ursprüngli
That post is dead-on. I've been building webapps this way for almost six
years now, although without XMLHttpRequest for most of that time... there
are alternative ways to implement the concept, but it's the underlying
concept that's important, and as the poster said, it's not exactly rocket
scienc
>Super, I tested ajaxtags and really liked it, but that's how I said before -
>The team arged that before using a framework, they have to understand what
>Ajax is.
>So like, I don't have to supply xml to xmlHttpRequest? How can I do it?
I guess you might find this interesting.
Rasmus' 30 second A
I have tiles working in my application. As i try to use the validator
i get the following error
which may it be the cause?
javax.servlet.ServletException: Can't get definitions factory from context.
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.jav
Well, first, are we talking about the right ajaxtags? :) There's a whole
separate project with that name, and they supply essentially complete
AJAX-based components. The ajaxtags in JWP is more low-level and
flexible, more of a toolkit in the classic sense.
I ask because in fact most of what my
in your action try:
ServletContext context = request.getSession().getServletContext();
-ed
On 11/10/05, Jim Reynolds <[EMAIL PROTECTED]> wrote:
> In an Action class I am writing, I would like to be able to get the
> real physical path to the web app. Eg: C:/webserver/webapp/instance
>
> Accordin
In an Action class I am writing, I would like to be able to get the
real physical path to the web app. Eg: C:/webserver/webapp/instance
According to the docs, the request.getRealPath("instance") is going
away. It looks like the ServletContext would work, but I do not know
how to get the context fr
Super, I tested ajaxtags and really liked it, but that's how I said before -
The team arged that before using a framework, they have to understand what
Ajax is.
So like, I don't have to supply xml to xmlHttpRequest? How can I do it?
Thanks in advance
Rafael Mauricio Nami
2005/11/10, Frank W. Zam
You know, the far simpler answer here, assuming null doesn't have any
special meaning to your app, is to simply initialize your fields in your
ActionForms. I.e.,
public class myForm extends ActionForm {
private String firstName = "";
public void setFirstName(String inFirstName) {
firstNam
I'm not sure there are any at this point. I'm sure some have been
proposed by someone somewhere, but I'm not aware of them.
You might want to have a look at my AjaxTags if your finding what your
doing now to be a bit of a pain... http://javawebparts.sourceforge.net...
go to the javadocs and find
Well, we are using here plain ol' XMLHttpRequest, but it's a pain in the ass
writing jsps that creates xmls to use with xmlHttpRequest. We want to
improve our knowledge in AJAX, to later move to a AJAX framework.
What're the "best practices" using AJAX?
Thanks in advance
Rafael Mauricio Nami
200
Chris Pat wrote:
What is the best way to handle, in an Action, form
fields that are blank?
Depends on how you want to handle blank fields, I suppose.
Empty fields in a form submision aren't null; they're empty strings.
Am I misunderstanding what you mean?
Dave
---
Hi Chris,
As with most things, it depends on your app... what would be most
appropriate to get from your ActionForm? If you never want to get a null
out of it, you can do the check in the accessor of the ActionForm. If
it's something that is a valid return, you probably will want to do the
check
Hello
What is the best way to handle, in an Action, form
fields that are blank? If you have a simple getter
that just returns the field, how do you handle it when
the field is not in the session b/c it was not filled
in? Do I just check for fieldName==null in the getter
of the ActionForm? tia.
The original Struts-only version of AjaxTags is somewhat close to this...
http://struts.sourceforge.net/ajaxtags/index.html
It isn't exactly what your looking for, but it could be a start... It
won't bind directly to beans, but it should be pretty trivial to write an
Action to do that part. Make
There seems to be a ton of AJAX stuff out there now. But what I'm
looking for is a JSP/Struts tag library that handles bindings between
the Javascript calls and the beans in request scope, so I can just drop
a JSP tag in and get my widget all hooked up. Kind of like DisplayTag,
or the stuff w
Actually they type it in with all sorts of different letters in the context
path either lower case or upper case. All upper case is by far the most
common because of the caps lock being on I think.
No it does not solve my problem because it gets caught in a loop. If you
type in the upper case on
On 11/10/05, fea jabi <[EMAIL PROTECTED]> wrote:
> When I try to sort the column in display tag, it sorts the column treating
> it as strings rather than Date type.
It's been a while since I've worked with it, but here's a formatted,
sortable column:
I think you're looking f
Here is the tips:
2005/11/10, arnaud gonzales <[EMAIL PROTECTED]>:
>
> Hello,
> I would like to iterate the DTO's List of my ActionForm with
>
> like i will do with :
>
>
> ="true"/>
>
>
> The result i try to achieve is :
>
>
>
>
> My ActionForm : "CreateAccesForm"
> the L
fea jabi wrote:
using JSP. Is there any formatting in JSP for dates?
Use the JSTL tag. That _is_ JSP. Otherwise you'll need to use a
scriptlet or pass it in in the format you want.
When I try to sort the column in display tag, it sorts the column
treating it as strings rather than Date typ
Isn't there two different reset methods. One taking in Request params and
other taking in HTTPRequest params?
Maybe you have the wrong one overridden?
Shawn D. Garner
-Original Message-
From: Chris Pat [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 09, 2005 10:04 PM
To: Struts Us
Thankyou for your response.
using JSP. Is there any formatting in JSP for dates?
if I format and then send it to view which will be a String type.
When I try to sort the column in display tag, it sorts the column treating
it as strings rather than Date type.
Thanks.
From: Dave Newton <[E
fea jabi wrote:
I am having a column which is displaying Dates in the below format.
Mon Oct 10 00:00:00 EDT 2005
But want the format to be in MM/dd/yy format.
How can this be done?
Use the JSTL fmt:formatDate tag. Or pass it in to the view in the format
you want.
Dave
Hi,
as we had a few display:*-tag questions in here in the last days I wonder if
anyone found a solution to this problem:
I´m using the display:* together with Struts 1.2.7 and this works quite good
so far. But I´m experiencing the following problem now:
I´m using a wrapper/decorator to create
Doesn't that solve the problem then? Wasn't the issue users typing the url
with lc or uc lettering?
Otherwise if you want to run on both Win2K and Win2003, can you not
uppercase the incoming URL first and then apply redirection? I'm not
familiar with IIS, but redirection is standard webserver fun
I tried this on my development Win2K box and this worked fine.
Then I put it on the system test Win2003 Server box and it just caught
itself in a redirect loop that you could never get out of. Apparently IIS
on Win2003 Server is not case sensitive.
Shawn D. Garner
-Original Message-
From
I am having a column which is displaying Dates in the below format.
Mon Oct 10 00:00:00 EDT 2005
But want the format to be in MM/dd/yy format.
How can this be done?
Thanks.
_
Express yourself instantly with MSN Messenger! Downlo
Why would you need an artificial token, if you can create a robust
system using your own data model? Instead of verifying that request
was or was not yet submitted, you would verify that actual data is or
is not there. I think the latter approach is more logical and robust.
Michael.
On 11/10/05,
On Nov 9, 2005, at 3:25 PM, Ted Husted wrote:
This is suppose to work:
* http://portals.apache.org/bridges/multiproject/portals-bridges-
struts/index.html
It definitely works with Jetspeed-2. I just got that going today.
Greg
-
Yes, I have tried everything that is relavent for the upgrade as mentioned in
the wiki page - http://wiki.apache.org/struts/StrutsUpgradeNotes11to124, I do
not see any wiki pages that talk about upgrade from 1.0 to 1.2 version, could
only get 1.1 to 1.2 document.
As per the above wiki page, I ha
Good Morning Jadeler-
I would suggest taking a look at what is happening underneath the hood e.g.
@1 Struts will generate a unique value (the token) and keep it in the
session context
@2 When the JSP is rendered, Struts inserts the unique value (token) as a
hidden field
@3 The hidden field toke
On 11/10/05, Christian Bollmeyer <[EMAIL PROTECTED]> wrote:
>
> Just to add that Sun is offering both Java Studio Enterprise 8
> and Java Studio Creator for free now,
>
> http://developers.sun.com/prodtech/javatools/free/
Yep ... the new policy was announced at JavaOne Tokyo (where I am right now
Sorry,
I asked my question to quickly..
I found a solution myself now. Solved it as followed - if anyone might need
it:
But anyways: does anybody know, if the parameters, given through paramId are
saved in an ActionForward? This would help me a lot, because I have to
remember the parameters
The bug report can be found at
http://issues.apache.org/bugzilla/show_bug.cgi?id=37441 .
> -Ursprüngliche Nachricht-
> Von: Joe Germuska [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 10. November 2005 11:22
> An: Richter-Reichhelm, Jesper; Struts Users Mailing List
> Betreff: Re: AW:
Jesper:
I'm glad you found a workaround works for you -- but if you have a
minute could you file a ticket in Bugzilla noting the issue (and the
workaround)?http://issues.apache.org/bugzilla/
It should be possible to make some changes to Struts to eliminate or
minimize calls to the static
At 10:36 AM +0200 11/10/05, Ovidiu EFTIMIE wrote:
You should also take a look at www.openrico.org
Rico builds upon prototype.js and so is subject to the same
warning:as prototype. If you don't use html:javascript in your
Struts app, it's no problem, but if you want to add AJAX to your app
w
Just to add that Sun is offering both Java Studio Enterprise 8
and Java Studio Creator for free now,
http://developers.sun.com/prodtech/javatools/free/
-- Ch.
JDeveloper 10.1.3 EA (which is also free) has excellent
JSF support, too.
Ted Husted schrieb:
On 11/9/05, Ashish Kulkarni <[EMAIL PROT
Hi,
just a quick question:
I want to replace the following:
javascript:newWindow('popup-faq.jsp?txt=date','350', '500')
with the html:rewrite. So I added an entry into my struts-config and my
tiles-def and changed it to:
javascript:newWindow('?txt=date','350',
'500')
Now a want to add the p
Hi all,
i have problem with validator plugin.
in my struts config i enabled the validator like this(i am using struts 1.2)
but when i start my server,it gives the following exception
5c20c2f1 ServletInstan X SRVE0100E: Did not realize init() exception thrown
by servlet ActionServle
Hello,
I would like to iterate the DTO's List of my ActionForm with
like i will do with :
The result i try to achieve is :
My ActionForm : "CreateAccesForm"
the List contained in the form : "Users" contains userDTO object with
"name", "login", "email", "tel"
I want to obta
We've found a workaround ourselves:
We've now using Commons Beanutils 1.6.1 which does not contain the
classes BeanUtilsBeans and PropertyUtilsBean.
So far this works fine with Struts 1.2.7.
Ciao,
Jesper Richter-Reichhelm
> After switching to Struts 1.2.7 (and Commons Beanutils 1.7) we
> experien
Jadeler,
If you are using struts, in your class you can use saveToken() method and
isValidToken() method to revalidate the request. more detail you can get
from struts site.
hope it helps
Sunil
Jadeler <[EMAIL PROTECTED]>
11/10/2005 01:05 PM
Please respond to
"Struts Users Mailing List"
Yes I do have that. Other validations are working fine except the url
validation.
I also use the following code to call UrlValidation class to validate
a url, it gives me the same result, i.e. always return false.
String[] schemes = { "http", "https" };
UrlValidator urlValidator = new UrlValidato
Michael Jouravlev schrieb:
On 11/9/05, Jadeler <[EMAIL PROTECTED]> wrote:
I wanted to find out any recommendations in handling
successful payments where the user is redirected to a
receipt screen after a successful payment transaction.
Basically, I need to prevent users from resubmitting
the pa
Hello
Sometimes I have problem with reload my application context in Tomcat.
It can not start again (I must restart Tomcat). I suppose that problem
make for example NullPointerException and not closed hibernate session
etc. How can I add (and where) my method to close sessions etc.? Any
sugge
You should also take a look at www.openrico.org
On 11/8/05, Joe Germuska <[EMAIL PROTECTED]> wrote:
> At 4:43 PM +0100 11/8/05, Nicolas De Loof wrote:
> >I'm using DWR on my webapp for navigation in a
> >table, using a "Page 1 2 3 ..." footer.
> >DWR makes it realy simple based on a List put
> >in
On 11/9/05, Jadeler <[EMAIL PROTECTED]> wrote:
> I wanted to find out any recommendations in handling
> successful payments where the user is redirected to a
> receipt screen after a successful payment transaction.
> Basically, I need to prevent users from resubmitting
> the payment screen again v
Hello
How can I get property method with arguments?
Here is my example code from my TagSupport class:
TagUtils.getInstance().lookup(ipage, iname, "myMethod", iscope);
... and i want to lookup for:
TagUtils.getInstance().lookup(ipage, iname, "myMethod(a,b)", iscope);
Is there any way to get it?
82 matches
Mail list logo