Greg Reddin wrote:
On Aug 11, 2005, at 9:30 AM, Albrecht Leiprecht wrote:
Just did the following:
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%
int errmsglength = 5;
%>
Further down:
...
One would expect to see the 3 dots ... but nada ...
And yes ...the taglib is loaded in the firs
Greetings
I have a struts app called "bus" and I have an action kicker.do. How do
I tell my app to start kicker.do if no other info on the url is given.
for example
http://myserver.com/bus should run http://myserver.com/bus/kicker.do
I put
/kicker.do
this in my web.xml and that did
atter, may be zero-lenght, but the specification
requires that what you specify in welcome-file-list must be physical files.
The request will be handled correctly by struts.
-Mensaje original-
De: Troy Bull [mailto:[EMAIL PROTECTED]
Enviado el: Jueves, 09 de Marzo de 2006 14:32 p.m.
Greetings
I have an application i have inherited. There is a situation where 2
jsp's submit to the same action with the same form bean. In the
validation function inside the form bean if there is one type of error I
want to set the input parameter to /jsp1.jsp and put an ActionError on
the
I found mapping.setInput but i get an error when i try to change it
telling me
java.lang.IllegalStateException: Configuration is frozen
How do u temporarily unfreeze my configuration so I can change my input ??
thanks
troy
Troy Bull said the following on 5/4/2006 1:37 PM:
Greetings
I
Greetings
I am new to tiles and so far I like it. I have a question though.
Seems like it should be easy to do but I haven't seen how yet. I will
try to describe the situation as concisely as I can. This can be
reproduced with just 2 jsp files.
layout.jsp (interesting lines only)
6 3:01 PM:
Have you tried the instructions in the tiles documentation?
http://struts.apache.org/struts-action/struts-tiles/
I think it describes your use case. Are you trying this and getting
some kind of error you can send us?
Thanks,
Greg
On May 5, 2006, at 1:33 PM, Troy Bull wrote:
I have another tiles question. I have an application with a header,
footer leftmenu and body. My question is should i have 1 form layed out
in my layout.jsp that surrounds all these tiles, or should i have a
different form on each tile.
For example if you edit a form in the body section and
Hi all
I have an action that puts a string in to session named variable. Then
returns success which loads a jsp page. On that page I have the
following 2 lines. I thought it would print out the message 2 times but
it does not it only prints it once. The second line is the one that
prints
Thanks a ton. Sometimes I miss the dumbest stuff...
Ronald Holshausen wrote:
change it to
On 28/09/05, Troy Bull <[EMAIL PROTECTED]> wrote:
Hi all
I have an action that puts a string in to session named variable. Then
returns success which loads a jsp page. On that page I ha
Hello:
I have a question about how to setup a "situation" I have. I want to
have a jsp page that has a variable number of text fields on it, named
qty1, qty2, ... qtyN where N is some unknown number. I tried to set it
up and use no form bean at all so I could just pull them from the
reque
Hello
I have a form bean that is changed in an action. I set one attribute
"secret" then on the next jsp I want to display this. If I do
a text box appears with the correct value
in it. My problem is i dont want it in a text box I just want to
display the text. I am sure this should be
Hi
I am trying to use the struts taglibs as much as I can and I have the
following situation. I have a collection object filled with DTO beans
stored in session. The following prints out the list as I would expect:
and if I try this on the same page what I can't figure
Hello
I am trying to get my form to dispatch to different functions inside my
action handler class. I followed this tip exactly :
http://www.husted.com/struts/tips/002.html (except i fixed a couple type
o's).
The problem is my dispatch parameter is not being recognized. I have
the followi
se response) throws
IOException, ServletException
{
System.out.println("Hello from save defaults");
return mapping.findForward("confirm_save_defaults");
}
}
Any ideas?
Wendy Smoak wrote:
From: "Troy Bull" <[EMAIL PROTECTED]>
The problem is my dispatch par
Thank you so much, as soon as I removed the execute method it worked
perfectly
Wendy Smoak wrote:
From: "Troy Bull" <[EMAIL PROTECTED]>
public ActionForward execute( ... ) {
SearchForm s = (SearchForm) form;
String dispatchString = s.getDispatch();
System.o
Hello
I have a situation here. I have an ArrayList of DTO objects in session.
<%
ArrayList rows = (ArrayList) session.getAttribute("rows");
if (rows != null) {
Iterator i = rows.iterator();
while (i.hasNext())
{
NibuSrchVLocalDTO debug = (NibuSrchVLocalDTO)i.next();
I am trying to include a <%= variable %> type thing in an html:submit
tag and it doesn't evaluate the <%= variable %> is there a way to make
it evaluate this? Or is there a way to include dynamic contect in this
tag. In this case it is inside a loop and "variable" changes each time
through th
I am using the struts validator and it works almost exactly the way I want.
Say I have a field tf and the value is "ABC"
I want to do a validation requiring it to be an integer and return the
following error message: "tf must be an integer".
I can do all this pretty easily here is the code t
I have a form with multiple "rows" on it say it has columns a b c chk hid
I have javascript to set hid to Y or N based on someone clicking chk
Then in my form bean I have
String[] a;
String[] b;
String[] c;
String[] hid;
My question is how can I make my check box set the correct hid (if I
ha
20 matches
Mail list logo