Hi!
I am getting an exception which reads like this : *:does not contain
handler parameter named empfieldsaction
*
I have the following jsp.
Leads Custom Fields
My struts-config-temp.xml entry is :
I use partitioned struts-config.xml file .
In the particular case, I hav
Hi Larry,
(1) is there any way to do in struts to display the error on an error
jsp?
-> Yes , if you can forward from Action Class as mapping.findForward("failure");
then in Struts-config.xml you can specify
in tag.
(2)What is your opinion on pros and cons of these two approaches:
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Joe, Henrique & Robert:
Thank you for replies, they all works :)
yours,
lei
On Mon, May 24, 2004 at 03:38:54PM -0500, Joe Germuska wrote:
> At 1:44 PM +0800 5/22/04, Ding Lei wrote:
> >Hello all,
> > There is an array(dsmccList) obtained by a self-defined tag,
> >and I wanna to send th
Joe, Henrique & Robert:
Thank you for replies, they all works :)
yours,
lei
On Mon, May 24, 2004 at 03:38:54PM -0500, Joe Germuska wrote:
> At 1:44 PM +0800 5/22/04, Ding Lei wrote:
> >Hello all,
> > There is an array(dsmccList) obtained by a self-defined tag,
> >and I wanna to send th
Joe, Henrique & Robert:
Thank you for replies, they all works :)
yours,
lei
On Mon, May 24, 2004 at 03:38:54PM -0500, Joe Germuska wrote:
> At 1:44 PM +0800 5/22/04, Ding Lei wrote:
> >Hello all,
> > There is an array(dsmccList) obtained by a self-defined tag,
> >and I wanna to send th
I'm working on porting an older project where a certain parameter was put into
the path whereas in Struts it would have been added to the query
string. The idea is that at the beginning of the path the product
name / theme is added. For example,
http://mywebsite.com/myapp/myproduct/account/view
Hey all.
I have an indexed form with data that looks like this:
checkbox1, textbox1_1, textbox1_2
checkbox2, textbox2_1, textbox2_2
checkbox3, textbox3_1, textbox3_2
etc.
The checkbox is used to mark that "row" active or inactive.
If the checkbox is unchecked, and I check it, the row becomes "a
At 5:15 PM -0500 5/25/04, Peter Martin wrote:
I have a select list that I want to validate the user picked one of the
values. The options in the select list are as follows:
option[0]value = "" label = "Please Select"
option[1]value = "P" label = "Probation"
option[2]value = "T"
I have a select list that I want to validate the user picked one of the
values. The options in the select list are as follows:
option[0]value = "" label = "Please Select"
option[1]value = "P" label = "Probation"
option[2]value = "T" label = "Trial"
option[3]value = " "
Not unless you want to do something via proxy or a ListAdaptor to your
DataSource.
Extend AbstractList and override methods to load additional items from a
transiently referenced datasource or service that can be looked up.
We use this for our application where we have lots of data that we want t
I am working on an application with a page that uses pager-taglib to
break down query results so that only ten show up on each page.
However, as far as I can tell, this tag library assumes that all the
query results have been retrieved from the database.
I have been tasked with modifying the app
http://jakarta.apache.org/struts/userGuide/struts-html.html#link
> -Original Message-
> From: PADALA, SANDHYA (SBCSI) [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 25, 2004 4:47 PM
> To: [EMAIL PROTECTED]
> Cc: PADALA, SANDHYA (SBCSI)
> Subject: tag
>
>
> I am trying to generate usi
I am trying to generate using tag. I need to
append a query string at the end of the URL
What I want to achieve is LINK
Using LINK
Can someone give me an example on how to use tag using
paramID attribute.
Thanks for any assistance
Sandhya
-
You should send this to the Struts User list ([EMAIL PROTECTED]) instead
of the dev list. When you do, it might help to include the HTML code for the
link that causes this.
This problem looks like it could be caused by a conflict between your URL
extension and an application or browser plugin ins
I am new to struts and am trying to get struts-menu to work in my
application. I keep gettting this error and cannot find anything
wrong in my menu-config.xml file. Any help with this would be
greatly appreciated, since I'm at the end of my rope (been working on
this problem for 2 days now).
Hi All,
I am getting this error still.
Error Code :400
Error occured while processing request :
http://xyx.com/TerrorismApp/error.jsp
Exception Type :
com.ibm.servlet.engine.webapp.WebAppErrorReport
Message : Invalid path /countryWiseDetailsInput was requested
Stack T
I am new to struts and am trying to get struts-menu to work in my
application. I keep gettting this error and cannot find anything
wrong in my menu-config.xml file.
Here is the error I'm receiving:
javax.servlet.ServletException: Failure initializing struts-menu:
Error parsing resource file
I believe something like
- Original Message -
From: "Stunger, Kevin J" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, May 25, 2004 7:53 PM
Subject: RE: Multi-page form: DynaValidatorForm.setPage(..) not called?
Where would that go? My IDE (
Fantastic, thank you! I'll have to go have a look at the logging options
you mentioned... that will answer another question I had, which was about
the fact that I kept getting an annoying "properly initialize the Log4J
system" when I started my app. My startup plugin was initializes Log4J, but
--- None None <[EMAIL PROTECTED]> wrote:
> First, can anyone explain the settings of the debug and detail init params
> of ActionServlet? I haven't been able to dig up any good detail. The best
I believe the "debug" setting has been deprecated in favor of log settings
for commons-logging (or w
Hello all... I guess this is really actually two questions...
First, can anyone explain the settings of the debug and detail init params
of ActionServlet? I haven't been able to dig up any good detail. The best
I've found is that higher numbers are more detailed, but what's the highest
possibl
> Struts has an internal tag to show the action
> errors on the current jsp page, which is OK. However, our
> business requirement is that in case there is an error, we
> display the error on an error jsp, then it is not advisable
> or easily to use since this tag is normally
> placed on the
Struts has an internal tag to show the action errors on the current jsp
page, which is OK. However, our business requirement is that in case there is an
error, we display the error on an error jsp, then it is not advisable or easily to use
since this tag is normally placed on the current jsp
Why not use jstl?
do something...
nathan
On May 25, 2004, at 1:15 PM, Ciaran Hanley wrote:
Can the struts logic tags be used to perform OR Logic?
For example instead of
...do this
...do this
...do this
...do this
Any ideas anybody?
Thanks
CH
> Can the struts logic tags be used to perform OR Logic?
No, but the JSTL tag can do it easily. For your example:
...do this
--
Tim Slattery
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
Hi,
The can only used to test against one value.
Perhaps in your example you can us something like:
...do this
- Glenn
"Ciaran Hanley" <[EMAIL PROTECTED]>
25/05/2004 03:15 PM
Please respond to "Struts Users Mailing List"
To: "Struts User Mailing List" <[EMAIL PROTECT
Can the struts logic tags be used to perform OR Logic?
For example instead of
...do this
...do this
...do this
...do this
Any ideas anybody?
Thanks
CH
Where would that go? My IDE (eclipse) complains about it as attributes
in using
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd or
http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd. EX:
marks page as an error.
Well, I decided to pick up "Struts
in Action", and, as luck would have it, the book contains a nifty
solution on handling resets in session scoped beans.
[EMAIL PROTECTED]
05/24/2004 03:56 PM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
"Struts Users Mailing
Hi all,
I am using Validator.xml to compare if the LIB in the formset is the same in my
DataBase corresponding to a COD which is in an other field of the formset.
In My Validation.xml :
field[0]
cod_grade
fieldTest[0]
COD_DEPT
fieldValue[0]
LIB_DEPT
fieldTable[0]
TAB_DEPT
Seems valid. In general, each individual action is mapped to it's own
action. You can (and sometimes should) break that rule when appropriate,
but more times it tends to be true than not.
For question #2, one thing you can do is submit some sort of flag value from
/app/Contact that /app/Conta
Another way to do it is to create a wrapper method in your form that
does the replacing. So if you have a text property in the form, create
a textAsHTML method that return the test property with the line breaks
replaced. That could get ugly if you have lots of fields like that, so
I would the
Ok, there isn´t an 'incredibly useful nl2br' but there is a 'marvelous regex-based
method' to do this using Java:
String nl = "String with \n new line";
String br = nl.replaceAll("\n","");
or you can try using Commons Lang and cc-* taglibs.
Henrique Viecili
- Original Message -
Fr
usefull...
though it adds yet another tag library to my pages!
best i came up with is:
<% pageContext.setAttribute("lf", "\n"); %>
is there really no escape sequence for new line in el?
Would seem like a rather big shortfall to me!
Daniel.
> -Original Message-
> From: Niall Pemberto
I don't know anything about jspf's performance (yet :-)) but we are measuring the
performance of jsps, and they take about 0.x ms for generation (incl. tiles) on a good
container (resin, tomcat5) , so I don't think you should have a headache there.
> -Ursprüngliche Nachricht-
> Von: Mar
http://jakarta.apache.org/taglibs/doc/string-doc/index.html#replace
- Original Message -
From: "Daniel Perry" <[EMAIL PROTECTED]>
To: "Struts User List" <[EMAIL PROTECTED]>
Sent: Tuesday, May 25, 2004 5:50 PM
Subject: nl2br equivalent?
> I am a bit surprised, but there doesn't seem to b
Hi,
I have an application that permits a user to view and update Contact
information.
/app/Contact (gets data from the DB) --> posts to --> /app/ContactSubmit
(updates the data after validation)
I would like to ensure that the application is solid and executes smoothly
(doesn't eveyone!). ;>
I'm very excited to be converting a Stuts application to Struts Tiles.
However, I have a consideration that I could use some best practices
opinions on.
The current application has severa .jspf files which are used as includes to
main jsp files. While doing a proof of concept for converting t
Check that EVERYTHING is UTF-8
JSP's, java source (irrelevant but ...), property files, ...
Weblogic also accepts the following in its weblogic.xml
encoding
UTF-8
If you do XHTML you can also add the follwoing two to your JSP's.
<%@ page pageEncoding="UTF-8" %>
Hop
It is very cool, but expensive for server resources (like SSL). So if your
server spends most of its time sitting around, compression can be a nice
addition.
On Friday 21 May 2004 10:02 am, Irfandhy Franciscus wrote:
> Hi,
>
> I jsut found out this very neat way of compressing our struts pages
>
I'm not doing the next release, but I think people still haven't
caught on to the new versioning process. With the beginning of the
1.2.x line, Struts has adopted the release numbering scheme used by
Apache HTTPD and Tomcat. This is elaborated at length (and with some
more formality than Stru
I am a bit surprised, but there doesn't seem to be an equivalent to php's
incredibly useful nl2br in jstl...
Is there an easy method I'm missing that will output a string after
converting line breaks to tags?
Daniel.
-
To unsu
That makes sense. I'm not sure why I didn't think of that. I guess I was assuming
the would take care of the form submission since it was embedded in an
. So, I've added an onclick attribute to my as follows and it
worked just fine:
delete
Voila! (It's the French Open this week.)
Thanks
FYI
http://www.mail-archive.com/[EMAIL PROTECTED]/msg95667.html
-Original Message-
From: Irfandhy Franciscus [mailto:[EMAIL PROTECTED]
Sent: Friday, May 21, 2004 12:03 PM
To: [EMAIL PROTECTED]
Subject: Compressing your struts for faster transfer
Hi,
I jsut found out this very neat way
Ricardo,
If you are going to use the html:link tag, then you
need to have it trigger a call to a JavaScript
function that will submit the form for you. Otherwise,
jjust clicking the link will not submit the form.
Regards,
Richard
--- Ricardo Cortes <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I a
Hi,
I jsut found out this very neat way of compressing our struts pages
using GZIP for faster transfer. Basically we'll use a filter to ZIP our
pages.
here are some URL for references:
http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html?page=2
http://www.servletsuite.com/servlets/gzipflt.
Hi there,
I am having a problem getting the checked values from a multibox that is submitted to
my action and I was hoping one of you could help me out. I followed Ted Husted's
example of using a Multibox within an iteration but I have a feeling that my setup is
a bit different and thus render
is somebody work with JBuilderX & Weblogic 6.1
could you send me an email ?
've got a context-root problem,
thx & sorry !
Y.
I've been using 1.2.0 since it's been announced and have had no problems.
However, additions to the framework since then have already made me feel like
I'm using an obsolete version. :)
There's been some obscure (IMO) compatibility issues with some obscure (again
IMO) utility method, but then aga
Hello,
I am are interested in the wildcard action mapping functionality in Struts
1.2. Since 1.2 is not in a release state, I went back to the contributor of
the wildcard action mapping functionality to get his oppinion on whether or
not is was better to use the seperate package he use to mainta
You need to include the "page" property in your form definition in the
struts-config.xml
Niall
- Original Message -
From: "Stunger, Kevin J" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]>
Sent: Monday, May 24, 2004 10:44 PM
Subject: Multi-page form: Dyna
The session scope equivalent of "saveErrors(request, errors)" is
"request.getSession().setAttribute(Globals.ERROR_KEY, errors)".
Paul
> -Original Message-
> From: Jim Kennedy [mailto:[EMAIL PROTECTED]
> Sent: 25 May 2004 14:30
> To: 'Struts Users Mailing List'
> Subject: Using ActionMessa
Hi , I have deployed struts application on WebLogic 8.1 and on start up
I am observing java.lang.ExceptionInInitializerError error for Action
Servlet.
Below is the stacktrace of the error. Please write your comments on this
problem.
Thanks,
HAri.
**
Hey whatÂs up people?
IÂm meeting this forum for the first time, I would like to ask you guys some
questions, I hope you may understand me...
So, actually I have combo boxes in my form, when I load the page, the first
combo brings a value like Country, then if I select the country, the State
c
I am using struts 1.1 and have implemented ActionMessages inside some
generalized user-response pages. The problem I'm having is that these
messages are not visible when I redirect from my controller action. I'm
sure this is because "saveMessages" only saves the ActionMessages in
request-scope.
--
Sorry all if you're receiving this twice. I sent this to
[EMAIL PROTECTED] originally. Not sure which is more
appropriate.
--
Hello All. Thanks in advance for your help.
I'm trying to implement Application controlled security in
conj
Oh sorry, the HashMaps works correct, BUT only if you DONT use a
DyaActionForm Formular.
If you use this (the Validation) you have to use also a
DynaActionForm-Session Object (or request-Object).
now i have find something which helps me!!
http://radio.javaranch.com/channel/jason/2004/03
Hello,
I was wondering if it's possible to use two actionforms in one action.
I'm playing with the following idea :
In my loginform, i will validate loginname and password,
Then i go to loginaction where i assemble a list for that user and want
to put the result of this list into the listform that
At 11:38 AM +0100 5/25/04, Pilgrim, Peter wrote:
When using struts.meetup.com I was curious to find out
how do you find out about the people meeting up? How many?
Where the venue is? Or is this site another message board
thing? I just dont want to waster anybodies time or mine.
I believe that the s
Thanks... For two minnutes i tested the following code in one Action
bevor a struts-formular
it works ;-)
-
HashMap linkMap = new HashMap();
linkMap.put("name", "Schwarz");
linkMap.put("vorname", "Johannes");
linkMap.put("textbereich
I just signed up to the Struts meet up subsite. For reasons
stipulated in my previous note I probably wont be there for
proposed London June 17th meeting.
When using struts.meetup.com I was curious to find out
how do you find out about the people meeting up? How many?
Where the venue is? Or is t
> -Original Message-
> From: James Neville [mailto:[EMAIL PROTECTED]
> Sent: 24 May 2004 17:27
> To: Struts Users Mailing List
> Subject: Re: [OT] Struts Users in London / meet+greet / pub /
> networking
> / BOF ? / pre J1
>
>
> Pilgrim, Peter wrote:
>
> >Hi
> >
> >Are there any Strut
Hi Johannes ,
Are you sure this code works ??
String field1 = (String) PageA.get("field1");
String textfield2 = (String) PageA.get("textfield2");
.
DynaActionForm PageB = (DynaActionForm)
session_automatic.getAttribute("PageB");
String textfield1 = (String) PageB.get("textfield1");
Strin
Hello,
I have created more than one form-pages with struts. After validation i
can read the values in the Action with:
-
HttpSession session = httpServletRequest.getSession(); DynaActionForm
PageA = (DynaActionForm) session_automatic.getAttribute("PageA");
//This is a DynaActionForm-Objec
Hi, I am migrating an old project to struts. In the old project I had a
jsp which has a form with definition like
and some text and file type inputs in it. In somejsp.jsp I take the
request object and process it in a java class. In the following
statements :
ServletInputStream in =
Hello,
I have created more than one form-pages with struts. After validation i
can read the values in the Action with:
-
HttpSession session = httpServletRequest.getSession();
DynaActionForm PageA = (DynaActionForm)
session_automatic.getAttribute("PageA");
//This is a DynaActionForm-Objec
Hi,
I would like to know if it's possible to indicate a validation of type
"date" indicating as a dattePatern/datePatternStrict a key from an
application resource message file. I mean, instead of:
datePatternStrictMMdd
to be able to indicate the "MMdd" dynamically (to be found throug
I think you'll have to write a Java applet to do this - you'll have
the addition issue that the applet in question would have to be signed
and the certificate accepted on the client. If you could guarantee that
all your clients will use a certain browser type then this will not be
an issue b
All,
As we have a few UK based folks who are interested in getting together
I've created a Yahoo Group as a rallying point:
http://groups.yahoo.com/group/struts_sig_uk
Sign up there and we can attempt to organise drinkies without cluttering
up the main list.
--
Regards
Duncan Mills
Senior Princ
71 matches
Mail list logo