Hi,
maybe the struts templates might help you...
look at the template sample
hope this helps
Alexander Jesse
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 5:50 AM
To: [EMAIL PROTECTED]
Subject: Re: More than one action for a req
Hi,
try:
that is pure html...
hope this helps
Alexander Jesse
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 1:02 AM
To: [EMAIL PROTE
Ali,
If you want the items to be in a specific order then you need to store them
in a Collection that preserves the order. The HashMap or any other Map for
that matter that you are using WILL NOT preserve the order. You need to
use an ArrayList instead.
InvoiceLineItems needs to be stored in
Hi,
I'm using
the html:checkbox tag in an iterate tag. I am trying to set the indexed property
but I get the following exception and the value doesnt seem to
exist:
org.apache.jasper.compiler.CompileException:
D:\project\dod\codeBase\dodJBProject\src\pages\survey.jsp(132,10) Attribute
When you use a Map, there is no defined order in which the entries will be
enumerated. The actual order is implementation-specific. If you need a
particular order, then it is up to you to take care of that.
--
Martin Cooper
- Original Message -
From: "Ali Ozoren" <[EMAIL PROTECTED]>
To:
You probably want to use instead of , and do a
little more setup work in your action class.
--
Martin Cooper
- Original Message -
From: "Ken'ichi Unnai" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 23, 2001 9:49 PM
Subject: i18n: ?
>
> Hi All,
>
> I'm building
If I understand what you're asking, it's not possible. JavaScript is
executed at the client (e.g. the browser), while JSP, including the
tag, is executed on the server.
--
Martin Cooper
- Original Message -
From: "Francois Duchaussoy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: S
Hi All,
I'm building a small select.jsp -> ReceiveServlet -> result.jsp
webapp as an experiment for struts mvc framework.
As I went further, I found I have one problem for select option
value for foreign chars.
in select.jsp:
-
Hi,
Would anyone know how to call a javascript method from a tag?
Basically I would like to highlight a field where an error occurs...
Any ideas??
Francois.
What I am looking for is a way to display a jsp for EVERY action. This would
be done by using something like this in a regular servlet:
RequestDispatcher rd = getServletContext().getRequestDispatcher();
// Go to action one
rd.include(request, response);
// Go to action two
rd.include(request, re
I've been using Struts for the last couple of months and have been pretty
much able to resolve all my problems by reading the documentation,
tutorials, etc.
Now, I'm looking to deploy this to my ISP server. The ISP is translating my
domain name as follows:
"www.tarponweb.com" --> "http://we
richard- i appreciate the input. i'd expect it to give back in the natural
order, the order in which i put my items. however, something else is going
on apparently. --a
-Original Message-
From: Richard Yee [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 23, 2001 3:47 PM
To: [EMAIL PROT
martin- I get "java.lang.ClassCastException: java.util.Hashtable$Entry" if I
do what you suggest.
--a
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 23, 2001 3:05 PM
To: [EMAIL PROTECTED]
Subject: Re: Postmortem (iterate, wrap, hashtable, nes
There are installation instructions on the Struts web site:
http://jakarta.apache.org/struts/installation-ip.html
--
Martin Cooper
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 23, 2001 4:30 PM
Subject: Struts installation on iPlanet 4.1
Hi -
I have got a reference where it is mentioned that a
patch is available for team development using multiple
struts-config.xml and ApplicationResources.properties
files. I first found it in Struts catalog in Ted
Husted's site. He refers to the link
http://www.mail-archive.com/struts-user@jakar
Is there anyone out there who has sucessfully installed struts on iPlanet 4.1 ?
Please help me
Thanks
John
Hi
all,
I am using
the iterate tag to iterate over a collection of items stored in the FormBean.
And all work fine (so far :) ). My question is: A I have a large number of
items in the collection is it possible arrange them in columns?? Here is a code
snippet:
I'm not sure I understand what you want to do. In the example you gave, it
looks like all three actions could come up with different JSP pages to
display. Who decides what really gets sent back to the client?
You can certainly chain actions, by specifying an action instead of a JSP
page in your f
Another option might be to modify the path of the forward dynamically to
include the locale. A couple of ways of doing this might be:
1) Define your forwards with the path containing a slot for the locale, like
this:
At run time, you can fill in the blank after getting the code from the
Lo
Hi,
I am new to Stuts and would like to do the following:
1. request comes in and is passed to an action
2. action performs its logic and decides what jsp to display
4. second action performs its logic and decides what jsp to display
5. third action performs its logic and decides what jsp to displ
Do you have the Ant optional jar (jakarta-ant-1.4-optional.jar)? Per the
Struts documentation, this is needed to build Struts from source. See:
http://jakarta.apache.org/struts/installation.html
for more.
--
Martin Cooper
- Original Message -
From: "Paap, Keith" <[EMAIL PROTECTED]>
To
Ali,
You are getting the InvoiceLineItems out of order b/c you are storing them
in a Map or Hashtable. These collections do not preserve the order of the
objects as they are inserted into them. If you want to preserve the
ordering, you need to use a Collection that implements the List interfa
The value of the 'name' attribute on the tag cannot be a
runtime expression, per the JSP spec. See the section entitled "Request Time
Attribute Values" for the details.
--
Martin Cooper
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 21, 2
The tag has a 'type' attribute, which can be used to specify
the type to be used for the element exposed through the 'id' attribute. This
should allow you to get rid of the "cast" like this:
--
Martin Cooper
- Original Message -
From: "Ali Ozoren" <[EMAIL PROTECTED]>
To: <
Interestingly, in the HTML 4.01 Transitional DTD, the type of the 'align'
attribute on the tag is 'IAlign'. This is the alignment type
specified for images, so it would seem that it wasn't intended to be used
for text. However, if browsers know what to do with it for text, and people
want to be a
Thanks , But that didn't work.
I am still getting the same error.
[01.09.23 12:47:23:186 EDT] 2fb6 WebGroup X [Servlet Error]-[{0}]: {1}:
{2}
"action"
"Failed to load servlet"
javax.servlet.Serv
Hi,
Is it possible to use the "value" property of the html:select tag to display
a default selection but *only until* the
user makes their own choice? The user's selection should be selected
thereafter.
In my form, if I specify html:select's "value" property with a default
selection, this value
Harshal,
This is really a VAJ question. You can choose to ignore these on the error screen.
Right click and select filter problems -- exclude deprecated warnings..
David Morris
>>> [EMAIL PROTECTED] 09/22/01 02:46PM >>>
Also Iam seeing this a lot of this.
Field initialization: The type named
Harshal,
I am not sure this applies because you are using the Websphere test environment,
but I get this with Tomcat 3.2.3 in VAJ unless I add struts to the classpath as a
jar and not as a project. It did not happen with the Tomcat 3.2.1 test environment
(at least that appears to be the main d
It seems to have been in HTML specification since at least 3.2 - I'm not
sure why we didn't include it. I'm also not seeing anything in the
archives :~|
[EMAIL PROTECTED] wrote:
>
> My guess is because the 'align' attribute is not part of XHTML, and is also
> not in the HTML 4 Strict DTD. But it
Try it with xerces in the Tomcat commons/lib folder, and nohting extra
in the WEB-INF/lib.
Be sure other parsers, or copies of Xerces, is being made avaiable
through the CLASSPATH or the lib/ext folder under JAVA_HOME.
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technic
What's on the table now for Wizards is the Workflow proposal.
http://jakarta.apache.org/struts/proposal-workflow.html
No estimated time of arrival, though. The source is in the Commons
Sandbox CVS.
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel
Each application does get it's own session. It's a security issue, so
one application can't spy on another.
I believe you're going to have to resort to cookies, unless there is a
way that the business logic in the non-Struts application can be called
from within the Struts application. You could
The struts-config.xml probably references a class that does not exist.
Anything under WEB-INF/classes shoudl be found.
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/
Marco Wuest wrote:
>
> He
The tag will let you use relative paths to your images.
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/
Anish Acharya wrote:
>
> Hello everyone. I'm just wondering if anyone has had troubl
This is usually a XML parsing issue. Either there are too many parsers,
or not enough.
First, check to see which parsers are available to your container and
application, these can be specified in several of places:
The CLASSPATH environment variable
The ext/lib folder under your JAVA_HOME
The W
36 matches
Mail list logo