Folks,
I'm using Tomcat 4.01, and I'm seeing behavior that makes me wonder if it's
part of the servlet spec.
In a method called by my servlet.init(ServletConfig) method, I'm calling
config.getInitParameter to successfully get a parameter from my web.xml
file. However, if at the same point in
Michael,
Rather than use an array of Strings for the collection, I'd recommend
wrapping each item in a bean with label and value properties. For
instance, I've done just that for a collection of States, where the label
property is called Name and the value property (which is stored in the db
I retrieve a Collection of items from a database and present them to a user
inside a table populated by a logic:iterate tag. In the body of the
iterate tag, I have an html:link tag to send the user to a page with
details about that item.
How can I forward just the selected item as a request
Hi,
I try to follow the steps in trail 3 described in the following tutorial:
http://gallery.bluestone.com/Scripts/SaIsapi.dll/StrutsTrailMap.class/struts
-trailmap/Trail3.htm
It is just a simple hello-world application the gets text from
a resource bundle and based on the settings of the
I have a struts jsp page with a lot of custom tags; it compiles to around
40k. Under Win2k, when I set JAVA_HOME to run Tomcat 4.1 with the IBM 1.3
JDK, the page executes almost instantaneously, but when I set JAVA_HOME to
the Sun JDK 1.3.1, it takes about 5 seconds to load.
Does the IBM jdk
I hope someone can provide me a sample struts-config.xml snippet for my
workflow stated as below:
1. A form is displayed to the user. The form has some fields with defaults
values (i.e. current date etc) and blank fields
2. The form has the following actions permitted: SAVE (update/insert),
What you are really asking is how to have different buttons fire
different actions.
There are several approach to this. The JavaScript approach is described
here:
http://jguru.com/faq/view.jsp?EID=543699
There is also the new org.apache.struts.actions.LookupDispatchAction in
the nightly
Thanks Ted, I checked the URL and I am doing something similar using
JavaScript. I have a question..
My forwards is as below
forward
name=update
path=/do/prospect/Store/
forward
name=reset
path=/do/prospect/Store/
forward
name=delete
path=/do/prospect/Store/
pls note all forwards
Hello,
I'm fairly new to struts (used over the pass 3 or so weeks) and I have
a question that I'm hoping someone here might know the answer to.
I've looked in the archives and don't believe that I've seen this same
set of problems there, but if I've just missed it, please redirect me.
Here's
Hi Guys,
I am new to struts frame work and I am facing little difficult.
I have a select control in html form using below code to display in html
form (not using html tag lib) in MVC2 model by reading key by key and
reading its value ,
Now i want to do it in struts framework with struts
Hi Guys,
I Have little problem with struts iterate tag lib.
My code is below and just view it and give details.
jsp:useBean id=headerSRBean scope=request
class=com.mybeans.SearchResultBean /
%
for( int i=0;iresultArrList.size();i++){
//retrieve object by object from resultArrList
Subject: Struts Validator Load Failure
From: Paul Heath [EMAIL PROTECTED]
===
The following is a partial stack trace of when the app server tries to load
Struts Validator.
I have the latest version of Digester (v1.1.1) and Struts Validator in my
classpath.
Anyone know how to fix this:
I haven't used the validator, but that is a Digester error. I would
guess that something is wrong in the validation.xml file.
Struts Newsgroup @Basebeans.com wrote:
Subject: Struts Validator Load Failure
From: Paul Heath [EMAIL PROTECTED]
===
The following is a partial stack trace of
Hi folks,
This isn't exactly a struts question but I have seen comments about JavaScript often
enough I was hoping someone could answer this very general question.
The people I work use struts but are avoiding JavaScript because they say that some
clients may have JavaScript functionality
Absolutely. IE calls it Active Scripting, and it is at the bottom of
the Internet Options dialog. I run with Javascript off so I don't have
to look at advertising popups and other look at me!!! shenanigans. A
small but significant population of web-luddites do this. Best to sniff
for it
Personally, I believe that only people that are very computer savy do
this.
However, another reason to avoid JavaScript in validation is if your
application can have an interface other than the web. If the validation
in on the server then the interface could be anything. For example, WAP
and
Thanks for the replies Steve, Mark.
Borland Enterprise Server 5.0 is running JDK 1.3.1 and Tomcat 4.0.1. The
struts web app I'm deploying is the struts/velocity example from Ted, and
has the updated struts and commons-disgester. It would seem this combination
should be ok, any other ideas?
Mark
I'll just add that it's a shame to throw the baby out with the bathwater,
avoiding use of JavaScript altogether. Yes, the cross-browser issues are
real, for even reasonably substantial use. But there are lots of things one
can do that are simple yet supported in the oldest implementations of
Hi everyone,
Does anyone know how to code a Back button -- one that works like the I.E. Back
toolbar button?
I currently use one that requires JavaScript and would like to switch to one that
works with Struts/JSP but is not dependent upon JavaScript.
Thanks.
George
Jack [EMAIL PROTECTED] wrote:
What causes this exception: javax.servlet.ServletException: Cannot find
message resources under key org.apache.struts.action.MESSAGE?
I ran into this repeatedly trying to get Struts working within JBuilder.
I found two things I had to fix:
1. Never rename
Anna Chen [EMAIL PROTECTED] wrote:
Any one has idea about this error?
FATAL: configuration error
org.xml.sax.SAXParseException: The encoding Cp1252 is not supported.
I don't know why you are getting the error, but Cp1252 is the default character
encoding for the assorted java.io reader
Subject: Re: Struts Validator Load Failure
From: Paul Heath [EMAIL PROTECTED]
===
The same validation.xml works in the Tomcat environment with the same
commons, struts, tiles validator jars.
Do I need to be including jaxp or xerces in my classpath as well ? FYI - My
app server is SilverStream
Hi,
I am here again,
Is there any way to compare an object is null??
if( myObject==null){ ]
using struts logic tag.
TAI
RAYAKU
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi,
How do i call a jsp usebean property value in another jsp tag?
Problem Case:
I have an html:hidden element and I want to replace
%=transBean.getTransID()% by using jsp:getProperty name=mybean
property=transID/ in below statement,
html:hidden property=%=transVar%
24 matches
Mail list logo