Hi,
To prepopulate, list box , I had attached LabelValueBean, with the
select's collection ,attribute
property="value" labelProperty="label" />
But Does anybody knows how to associate labelvaluebean with radio button }
(As per my knowledge we do not h
pantichd wrote:
Hello,
Sorry for posting this in Struts mailing list but I can't seem to get an
answer on any other discussion groups. I've always had great results getting
good answers here so here goes...
I have a Filter in my app that uses the request.getServletPath() method to
get the name
Hi, I have something very close to the following in each of my pages
(actually, just in the layout page for tiles, but whatever). Worked
fine in Struts 1.2.9 (even though I'm not so sure it's the best way to
print messages and errors, but oh well...)
Yes, thanks, I tried , with but still couldn't get
it to work. Anyway I just used the Map feature of and its
working fine. Thanks all.
On 8/24/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
On 8/24/06, Mississippi John Hurt <[EMAIL PROTECTED]> wrote:
> Hi thanks for the help. I tried using the
First, is '/servlet' the name of your webapp? If so then this might just
make sense. Why?
The HttpServletRequest.getServletPath() object is described to:
> Returns the part of this request's URL that calls the servlet.
In a filter, that is the mapping '/*' which as you wrote resulted
in '/servl
Thanks for the great answer!
Best Regards
/David
Niall Pemberton wrote:
My understanding is that servlet containers are free to use whatever
pooling strategy they like and AFAIK Tomcat pools tags with the same
attribute values which is why it doesn't call release() or the setters
for the attribu
Caroline Jen wrote:
Context ctx = new InitialContect();
DataSource ds =
(DataSource)ctx.lookup("java:com/env/jdbc/DBName");
Connection con = ds.getConnection();
Right, but that's assuming it's already bound, which is the hard part,
and unless he's running it under OC4J, no such luck...
- Sc
temp temp wrote:
My java standalone application wants connection to database with lookup to datasource name which is configured in the oc4j app server.
Please guide me with some ideas to achieve this.
You need to bind it yourself, to some provider. I use the DBCP provided
with Tomcat (nam
Hello,
I mail you to announce that JSControlsTags project is created on
sourceforge.
JSControlsTags is a taglib to easily manage javascript controls on client
side (without AJAX)
in your JSP.
It is based on Prototype.js and Scriptaculous.js.
It looks like AjaxTags, but it manages only controls on
Context ctx = new InitialContect();
DataSource ds =
(DataSource)ctx.lookup("java:com/env/jdbc/DBName");
Connection con = ds.getConnection();
--- Scott Van Wart <[EMAIL PROTECTED]> wrote:
> temp temp wrote:
> > My java standalone application wants connection to
> database with lookup to datasourc
My understanding is that servlet containers are free to use whatever
pooling strategy they like and AFAIK Tomcat pools tags with the same
attribute values which is why it doesn't call release() or the setters
for the attributes. Its up to the container to decide the pooling
strategy and when to ca
On 8/24/06, Mississippi John Hurt <[EMAIL PROTECTED]> wrote:
Hi thanks for the help. I tried using the pageContext, but it seems for
some reason, the render engine is not interpreting the scriptlet ie ( <%=
..%>) Its taking it literally (ie link has <%= chars in it after rendered
in html), weir
*** Error: No match was found for method "setIndexed(java.lang.String)".
459. _tag18.setIndexed(__constantTable.getString(9));
<->
*** Error: No match was found for method "setIndexed(java.lang.String)".
535. _tag21.setIndexed(__constantT
Hi all,
I'm upgrading my old struts right now and several years ago I ran into
the problem that since Tomcat has a TagPool and reuse tags, the state of
the tag wasn't reseted beetween usage. I looked into the new version of
struts and I cannot find how the tag is resetted between usage.
I
Hello everyone,
I´m returning to a problem I already had, but after googling for a while I
could not find a good solution to that. So I´d like to ask you again, hoping
that someone has a solution and I simply overlooked something.
How do I forward to the same page I was coming from? The typical
My java standalone application wants connection to database with lookup to
datasource name which is configured in the oc4j app server.
Please guide me with some ideas to achieve this.
-
Do you Yahoo!?
Everyone is
On 8/23/06, Raghuveer <[EMAIL PROTECTED]> wrote:
When does ActionDispatcher action to be used?
org.apache.struts.actions.ActionDispatcher
http://struts.apache.org/1.x/struts-extras/apidocs/org/apache/struts/actions/ActionDispatcher.html
Hi thanks for the help. I tried using the pageContext, but it seems for
some reason, the render engine is not interpreting the scriptlet ie ( <%=
..%>) Its taking it literally (ie link has <%= chars in it after rendered
in html), weird. BTW, the above code is enclosed by a and
column tags. Any
David,
Maybe I'm missing something in your reply but I don't think I'm doing either
a forward or a dispatch. Here's the scenario...
- Simple app has (let's say) 10 pages
- A couple of pages are jsps using Struts forms. These are considered
'secure' pages and require a person to be logged in
- Som
It figures I was making it too complicated.
Thanks for your help
Jon
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Wednesday, August 23, 2006 4:14 PM
To: user@struts.apache.org
Subject: Re: select tag and value issue
If you hardcode value="42",
Hi,
Please, could somebody help me?
Does anyone knows how can I validate a collection with Validator?
My Form is declared as de folowing:
begin form class
EmailForm extends ValidatorForm{
/** selected responsables' email. */
private String [] selectedEmails = null;
/** List of t
Hi Vaneet
I'm no expert on this to be sure; but I ran into a similiar issue. What I did
was provided the check for the Read only mode in the forms validate method; if
read only mode the validate method returned null; otherwise it invoked the
super.validate method which performs the normal val
Sharma,
If insert, update and read modes, are represented by 3 different
submits that trigger the actions,
make them 3 different action mappings, then put validate="false" in the
read action mapping, and true in the rest.
-Original Message-
From: Vaneet S
Yes ..these definitions are loaded duing plugin load time...
But for you own action you can modify the the tiles definition by
writing a controller class for the respective tile definition.
-Original Message-
From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 24, 2006
Raghuveer ha scritto:
In my web application i have 10 definations for 10 jsp's.
When does all this definations are loaded ?
Does this happens when ActionServlet is initialised for config elements from
struts-config.xml
If you are talking about Struts-Tiles, well, yes, exactly they are
load
Yeah or other way..but with usage of scriplet is ..
<%=pageContext.getAttribute(key name)%>
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 24, 2006 3:41 PM
To: Struts Users Mailing List
Subject: Re: Problem with JSTL and Struts tag But Not with
Hii
I am using Struts DispatchAction and i am facing a peculiar problem
while validating .
Now i want to validate ,my action form only in insert or update mode.
For read mode i want to prevent validation.
To achive this is am writing validation="false" in the action mapping ,
and i am manually
In my web application i have 10 definations for 10 jsp's.
When does all this definations are loaded ?
Does this happens when ActionServlet is initialised for config elements from
struts-config.xml
-
To unsubscribe, e-mail: [E
You are correct. Nesting tags do *not* work.
Try this...
texthtml:link>
--
James Mitchell
678.910.8017
On Aug 24, 2006, at 1:19 AM, Vishal Seth wrote:
Nested tags...i guess does not work..
-Original Message-
From: Mississippi John Hurt [mailto:[EMAIL PROTECT
29 matches
Mail list logo