Hello List,
I am using Struts 1.1 and I want to get connected to SQL SERVER 2000.I am
using data-source tag from web.xml where I am providing the
driverclassname,url,username and password as the properties to this Tag.
But I am getting an error of com.microsoft. . . . . .SQLServerDriver is not
For most forms, you can probably get away with just using a DynaActionForm
and combining it with the Validator. I still use ActionForm subclasses for
really complex forms because of the control they provide. (I have a form with
two dimensional indexed properties plus mapped properties, all in one
Hi folks,
How could i config log4j to get no more DEBUG informations about the init
method of the actionservlet? What will be the best way to config log4j?
I would use chainsaw from log4j to see all Error Levels in a queue, but at
present
the debug msg are disturbing to use them.
Any
Again, sharing my opinion on his points with you guys.
* The DynaActionForm bloats up the Struts config file with the xml based
definition. This gets annoying as the Struts Config file grow larger.
I use FormDef, so this isn't a problem for me.
* The DynaActionForm is not strongly typed as the
Maybe I need to restate this...
Ok, so I am generating a page of entries
that are clickable by the user, in which case
something about that entry will be displayed.
Its the classic search engine results type of thing.
Anyway, so let's say I have a forward defined
something like show =
Weiss, Daniel (EXTERN: FOURTH) wrote:
Hi folks,
How could i config log4j to get no more DEBUG informations about the init
method of the actionservlet? What will be the best way to config log4j?
I would use chainsaw from log4j to see all Error Levels in a queue, but at
present
the debug msg are
Am Montag, 3. Mai 2004 21:57 schrieb Ruth, Brice:
You can use the native2ascii application that is bundled with your JDK to
automatically convert your native-encoded file with umlauts to \u
format encodings.
Thanks, works fine!
The only thing I have to manage now is to automate this task
At 16:08 03/05/2004, Jason Miller wrote:
Actually, you can't use a tag as the value of another tag's attribute.
Out of interest, does anyone know whether there are plans for this for a
future JSP version? It seems quite an obvious requirement, and I can't see
any technical reason why it should
We implement something like this.
We have a really heavy process submitted by a user, so we don't want him
to wait for finishing.
In a struts action, we call a Service (POJO) and this service places a
message in a JMS and saves a record of the process in a database table
in a running state. Then
Hello,
with struts-config.xml i define:
message-resources paramter=XXX/
message-resources paramter=YYY key=Mypara/
Than I can write the following code in a jsp-File:
bean:message key=Field1/ (i see the Field1-value from the XXX-File)
bean:message key=Field1 bundle=Mypara/ (I see the
Hola!
After subscribing the confirmation message offers:
Send mail to the following for info and FAQ for this list:
[EMAIL PROTECTED]
I tried that and got an email telling me:
FAQ - Frequently asked questions of the [EMAIL PROTECTED] list.
None available yet.
Maybe got lost when switching
Ant's optional xmlvalidate task.
Quoting Kelvin wu [EMAIL PROTECTED]:
Dear all,
Which tools you are using for check parse exception for struts-config.xml?
Kelvinwu
--
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech http://www.dotech.com/
Struts Console will tell you whether or not your Struts, Tiles and Validator
config files are valid as it uses their respective DTDs to check their
format.
http://www.jamesholmes.com/struts/
Hope that helps,
-James
-Original Message-
From: Kelvin wu [mailto:[EMAIL PROTECTED]
Sent:
Dean A. Hoover [EMAIL PROTECTED] wrote on 05/04/2004 04:15:19
AM:
Maybe I need to restate this...
Ok, so I am generating a page of entries
that are clickable by the user, in which case
something about that entry will be displayed.
Its the classic search engine results type of thing.
Hi Johannes,
are you aware of localization / i18n support by having multiple language property
files? Like:
XXX_de.properties
XXX_en.properties
XXX_fr.properties
...
Struts then chooses the properties-file depending on locale. Maybe a look at that
stuff helps.
good luck
Nils
This
Probably will have to do that from now. Didnt know about junk mails in
apache group. For beer, I prefer the real one :)
- Original Message -
From: James Mitchell [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 7:25 AM
Subject: Re: [OT] Page
I know this and i use this language files.
XXX_de.properties
XXX_en.properties
AND
YYY_de.properties
YYY_en.properties
I use a action to set the language:
-
String lang = httpServletRequest.getParameter(language);
Locale newlang = new Locale(lang);
Take a look at
JSTL format with multiple Resource Bundles
http://www.cheblogs.com/roller/page/princeamin/20031104
fmt:bundle basename=XXX
fmt:message key=Field1 /
/fmt:bundle
- Original Message -
From: johannes Schwarz [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL
This is something I've been wondering: is it absolutely necessary to convert
text files using this tool? I use UTF-8 encoding for the
ApplicationResources.properties_?? files, I indicate that UTF-8 is the
encoding of my web pages, with the tag
meta http-equiv=Content-Type content=text/html;
I've done this in the past using wget to try and retrieve each page with the
special jsp_recompile (or something - see the JSP spec) argument.
The problem I found with JBOSS-Tomcat is that JBOSS would remove all the
compiled jsps on shutdown. If this is the root of your problem (it was with
me)
It's http://...?jsp_precompile=true
HTH.
Yaakov Chaikin
Software Engineer
BAE SYSTEMS
301-838-6899 (ph)
301-838-6802 (fax)
-Original Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 12:00 PM
To: 'Struts Users Mailing List'
Subject: RE:
Hi,
We are having a problem that occurs when a property fails a server-side
validation. The problem is that the value that we specify for the input
tag is not correctly resolved and we end up with a blank page being
returned, as opposed to the page that originated the error with the
Send your mappings so that others can trace the path along with you, and
maybe spot a problem.
--- Nicholas L Mohler [EMAIL PROTECTED] wrote:
Hi,
We are having a problem that occurs when a property fails a server-side
validation. The problem is that the value that we specify for the
Hi,
I have a select box in jsp page having data loaded as collection and is
working well.
My problem is the display text content datalist is too large and i want
the display limited
content in select box for good look and feel of the display page.
I have set a size=10 for select tag.
But still
You can use a CSS class to control look and feel in select box.
-Original Message-
From: Santhosh P [SMTP:[EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 2:32 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject:JSP help
Hi,
I have a select box in jsp page having
I am having a problem with a map-backed form and html:select with multiple=true.
Would appreciate any help/ideas.
I need to display a set of html:select lists. The number of lists is user-defined
(based on database data) and each select list
must allow more than one choice to be selected.
I
Hello guys,
I've released the first plublic version (1.0.1) of a simple tool : XMLStubs.
It allows you to replace an API defined by interfaces by an emulated one declared in
XML files. Jexl language (same as
JSP EL) is used to add conditional behaviour.
For example, if you need some
Thanks Mark. I guess I have too many (out of date) books on Struts, 4 of
them.Now, onto JSTL
Regards,
balu
On Tue, 2004-05-04 at 00:14, Mark Mandel wrote:
Balu -
Use the JSTL c:forEach / tag - it's a faster and better tag.
Generally use the JSTL tags over the Struts tags where
John Moore [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
At 01:13 04/05/2004, Bryan Hunt wrote:
Dude, send me your address and I will fed-ex you a cold beer
!!
I should have thought of that before. Thanks for your help I've
just wasted 24
can you post the complete link...look like link not working.
-Ramadoss
-Original Message-
From: Chaikin, Yaakov Y (US SSA)
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 12:05 PM
To: Struts Users Mailing List
Subject: RE: [OT]JSP Precompile in JBOSS
It's
Complete link to what? The http://...?jsp_precompile=true; was
just an example to point out jsp_precompile instead of jsp_recompile.
If you are talking about the JBoss forum links, here they are again. If
this doesn't work as a link, just copy and paste it into your browser.
I'm fairly new to Struts and Tiles and would appreciate any advice on this
topic. I'm creating a Struts/Tiles app with the standard header, footer,
menu on left and main body on the right layout. Each of my menu choices
will have submenus.
Currently, I'm using the menu definition that comes
I'm not sure there ever was a FAQ available via ezmlm...
--
Martin Cooper
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hola!
After subscribing the confirmation message offers:
Send mail to the following for info and FAQ for this list:
[EMAIL PROTECTED]
I tried that and got an
Hi,
I'm trying to move from bean:writes to fmt:formatNumber in my application,
but I'm finding that in order to format a number, I can't get a formatting
pattern from my application resources file - there doesn't seem to be a key
parameter in the fmt:formatNumber tag. Has anyone run into this
Is there a way to loop over a counter (not over a collection) in either
struts or jstl? Looked like logic:iterate and c:forEach both require a
collection.
Something like this:
c:for begin=1 end=5
/c:for
I really don't want to create a collection of Integer objects to get
around this...any
you can solve the problem in two ways:
1)
c:forTokens delims=, items=1,2,3,4 var=row
c:out value=${row}/
/c:forTokens
2)
c:forEach items=5,6,7,8 var=row
c:out value=${row}/
/c:forEach
BR
/Amleto
-Messaggio originale-
Da: Frank Maritato [mailto:[EMAIL PROTECTED]
Inviato:
Thanks for your response Kris.
This seems a bit hairy... when I use bean:write, the key comes from my
application resources file nicely, but with this fmt, I have to use a bundle
of some sort. Why is this more complicated than the bean:writes?
Earl
-Original Message-
From: Kris
Hubert,
Thanks for getting back to me. We ended up finding the problem about an
hour ago.
It turns out that a developer had mistakenly added [inputForward=true] to
the controller/ section of the struts-config file.
The effect of that change is that the value for input tags are assumed to
Thanks!!
Robert Taylor wrote:
Close...
c:forEach begin=0 end=19
/c:forEach
robert
-Original Message-
From: Frank Maritato [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 1:55 PM
To: [EMAIL PROTECTED]
Subject: looping question
Is there a way to loop over a counter (not over a
Hi,
How do I reload struts configuration file manualy without context restart?
Thanks in advance,
Marcelo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
I would like to use a button as a link.
I used to solve that, before struts, with a form containing only a button.
With struts, it seems I have to declare a form object in the
struts-config.xml, create a class for that empty form, etc.
Is there a simple way to solve that?
Sincerly
You can use an empty dyna form:
form-beans
form-bean name=emptyForm type=org.apache.struts.action.DynaActionForm/
/form-beans
--- Samuel Rochas [EMAIL PROTECTED] wrote:
Hello,
I would like to use a button as a link.
I used to solve that, before struts, with a form containing only a
Sam,
I do the same thing you are, and do what Hubert has suggested. It works
nicely. I always define atleast one throw-away dynaform to use for these
purposes, then you can use the form as a link, no problem.
On Tuesday 04 May 2004 02:37 pm, Hubert Rabago wrote:
You can use an empty dyna form:
On 04/05/04 22:34, Samuel Rochas [EMAIL PROTECTED] wrote:
Hello,
I would like to use a button as a link.
I used to solve that, before struts, with a form containing only a button.
With struts, it seems I have to declare a form object in the
struts-config.xml, create a class for that
Hi Hubert,
Hubert Rabago wrote:
You can use an empty dyna form:
Great, that is doing the job.
I was afraid I needed to create the corresponding class too, but
since the declaration is needed only in the struts-config.xml, that's fine.
Thanks a lot.
Samuel
--- andinasoft SA - Software y
I'm using Struts with WSAD, and I am attempting something very simple, which should
happen automagically. Basically, I just need to have the form re-populate after
submitting a form which doesn't pass the form bean's validate method. Should happen
without any special coding from me, as this
Hey!
I need some advice on how to do the following:
I have a page where I input a number of values and hit submit. These values
are then stored in a Map-backed ActionForm. Then my Action class forwards me
on to the next page. The next page is a simple JSP that lets me review what
I have just
Are you redirecting to the JSP?
B
-Original Message-
From: Dana Jeffrey Hata [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 5:36 PM
To: [EMAIL PROTECTED]
Subject: struts repopulate bug?
I'm using Struts with WSAD, and I am attempting something
very simple, which
I keep coming across that as I google around for this. The simple
answer is, I don't know. All I know is that I am setting the 'input'
parameter for the action to the path to my JSP. I hope that answers your
question. If not, how do I find out?
Dana
On Tue, 2004-05-04 at 21:26, Barett
Dana,
Yes Struts should and does do this. It actually does this so well, that
for login forms you need to manually clear the beans or else it
repopulates the values :)
1) Are you syncing up the names/properties of your fields on your JSP
page in the form with the property names of the Form?
..
I have seen the 2 scaffolds referenced in the Struts book Struts in
Action, but they are in the Jakarta sandbox. Are these products usable?
If so, where would I find the current jar files and current source files?
-
To
Answers to the questions below...
I spent 10 hours on it so far, so I've tried many things. Now I did see
the Action errors listed in the JSP. Either Struts is not putting the
form bean on the request/session, or it's not populating what it did put
on the request/session with was it found in
Dana Hata wrote:
Answers to the questions below...
I spent 10 hours on it so far, so I've tried many things. Now I did see
Good god, I can understand your frustration now... I don't know why it
is not doing this for you. Have you tried setting a breakpoint in your
reset method and seeing
Hi Dana,
If I had only one guess as to the problem, I'd say there was a mismatch
between a JSP tag versus what was defined in struts-config. I've found my
silent errors most often trace back to JSP tags. This could be scope-related
but is more likely the name. The name attribute of the action tag
Problem solved. Apparently, if you have the name and type attributes
defined in the html:form tag, it causes this behavior. As in:
html:form action=MyAction name=myForm type=com.blah.blah.MyForm
I simply changed that to:
html:form action=MyAction
And now the form gets repopulated. Is this
55 matches
Mail list logo