ISBN:
---
Ok, the line: works
fine, displays the value, but the line:
Doesnt add the isbn parameter, it renders it only as:
http://localhost:8080/test/addItem.do , I want it to render it as something
like
http://localhost:8080/test/addItem.do?isbn=""
Thanks for any h
Hi Nigel Ainslie,
Ah yes .
When I rewrite "BeanName" to "beanName" in struts-config.xml , it works good.
Very thx.
:=)
ÔÚ 2001-03-22 15:39:00 ÄúдµÀ£º
>...maybe you have a case-sensitivity issue. Sounds like your bean property
>name should be "beanName" to allow methods "getBeanName" and
>setBea
..maybe you have a case-sensitivity issue. Sounds like your bean property
name should be "beanName" to allow methods "getBeanName" and
setBeanName"?
-Original Message-
From: JeanX [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 22 March 2001 3:29
To: struts-user
Subject: problem of newbie
Hi struts-user,
I have a problem , pls help me.
I have a class that extended ActionMapping class .
It has a BeanName property.
And I config this property in struts-config.xml like below:
S
On Wed, 21 Mar 2001, G.L. Grobe wrote:
> I can see that for a radio tag, the property is the name of the bean that
> was mapped in the struts-config.xml file. But how does the getter method in
> the action form bean actually get called, or how does the app know which
> getter method to use?
>
On Wed, 21 Mar 2001, Phillip Rhodes wrote:
> In the action class perform method, there is a return type of a
> ActionForward object.
>
> But I want to go straight to a servlet in this method (FOP, generating a
> PDF). (Wondering, can ActionForwards refer to servlets?)
>
> I know I can re
Phillip Rhodes wrote:
>
> In the action class perform method, there is a return type of a
> ActionForward object.
>
> But I want to go straight to a servlet in this method (FOP, generating a
> PDF). (Wondering, can ActionForwards refer to servlets?)
>
> I know I can return a ActionForward
I can see that for a radio tag, the property is the name of the bean that
was mapped in the struts-config.xml file. But how does the getter method in
the action form bean actually get called, or how does the app know which
getter method to use?
I have a working example where my action does a get
In the action class perform method, there is a return type of a
ActionForward object.
But I want to go straight to a servlet in this method (FOP, generating a
PDF). (Wondering, can ActionForwards refer to servlets?)
I know I can return a ActionForward object that points to to a jsp that
wo
In doing some recent
development using struts I was using
the tag with a property attribute. In other words in
my JSP page I have something which looks like below:
.
.
.
.
.
.
If there is a
"validation" error I see the
error printed along with the header and footer. The problem
Hi,
I am trying to get struts-example running on Orion
Server 1.4.5 on Win2K. I moved the struts-config.xml file and changed web.xml as
specified in the installation instructions but I still get an error when I try
to access the application (see error log below). It seems that when the Acti
Johan,
I'm using Tomcat Version 3.2.1 and the readme document had the following
information
on Tomcat versions. There isn't info about 3.2.2 & 3.3 there but probably if
you
download those versions there will be a readme explaining the changes.
Besides the differences in functionality the other d
On Thu, 22 Mar 2001, Johan Compagner wrote:
> Hi,
>
> One tomcat question for this list (i know there are some tomcat developers here)
> Why can't i find changes.html or something like that for the tomcat versions?
>
The short answer is that most folks don't take the time to do detailed
rele
FWIW,
I did our 3.5.3 installation yesterday and it was as per 3.5.2. I still
needed the changed action servlet and also a change of the
struts-config.xml to use a SYSTEM DTD rather than a PUBLIC one.
It did NOT work out of the box. getResourceAsStream still appears to be
broken in 3.5.3
--
dIo
Hi,
One tomcat question for this list (i know there are some tomcat developers here)
Why can't i find changes.html or something like that for the tomcat versions?
You got now a
3.1.x branch (doesn't seem to be in development anymore)
3.2.x branch (still development 3.2.2 beta 1 as latest mile s
One possibility would be to have an XML syntax like this:
The first string
The second string
etc.
Then you configure the digester to call a method each time it sees a
, and that method appends the string to the end of your
string array.
--
Martin Cooper
- Original Messag
Hello,
I have developed my own struts web-app, that
invloves a form and then a confirmation screen.
There is validation done on the form, in the
ActionForm's, validate() method.
The following behaviour is occuring:
1) A user makes a number of errors (say 3) on the form
and is returned to the s
On Wed, Mar 21, 2001 at 02:23:38PM -0800, s l wrote:
> Is there a way to catch exceptions throw
> in bean's getter methods (so we don't have
> to see the stack trace on web page)?
>
> __
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Ma
On Wed, 21 Mar 2001, Steve A Drake wrote:
> I'd like to initialize a String[] contained in an object with the
> Digestor (i.e. in a database.xml file). Can I do that? If so, what's the
> syntax? Thanks.
>
>
How are you planning to represent the data used to populate the String
array? You c
Maya Muchnik wrote:
> Maybe somebody from developers can answer to me. Do I need to keep the
> Apache license in the above of my code if I have modified that code. For
> example, I am using Craig. M. LogonAction.java and have modified it a
> lot. Do I need to keep the license including some record
You could use the JSP error handling mechanism to
display a friendly message instead of the stacktrace.
Within the error handling page you could log the
exception to the file system or a database.
Look into the page directive tag, in particular the
isErrorPage and errorPage attributes.
scott.
-
I'd like to initialize a String[] contained in an object with the
Digestor (i.e. in a database.xml file). Can I do that? If so, what's the
syntax? Thanks.
Maya Muchnik wrote:
> 1/
> How about several files under A directory:
> B.properties
> B_en.properties
> B_de.properties
> B_fr.properties
>
> and so on...
>
> Can you see it, that you have a problem.
Yeah, it's abit of a problem. The "overridden" PropertyMessageResources
would need to be smar
thx a lot,
this was my question. :-)
"Craig R. McClanahan" schrieb:
> On Wed, 21 Mar 2001, hunkpapa wrote:
>
> >
> >
> > "Craig R. McClanahan" schrieb:
> >
> > > On Fri, 4 Jan 1980, hunkpapa wrote:
> > >
> > > > Hi,
> > > > I've a problem with beans.
> > > > I can use a bean with the writeTag a
Is there a way to catch exceptions throw
in bean's getter methods (so we don't have
to see the stack trace on web page)?
__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
On win2K on the first request we get a ClassCastexception, for the
subsequent requests process flows in the normal way. This happens if we
don't use a .war file.
cheers,
Amar..
-Original Message-
From: maarten ectors [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 21, 2001 3:57 PM
To:
You should not see any differences between HP-UX and NT- assuming WL is
started up in the same way. I am currently developing on NT and deploying to
our HP-UX 11 test environment without any problems. I would verify that the
classpath... and WL classpath... are identical in both environments (the
On Wed, 21 Mar 2001, Maya Muchnik wrote:
> Craig,
>
> 1/ If we will have one extra servlet whose main functions are init and destroy
> how this concerns computer resources?
The only extra resource is the fact that this servlet class is loaded,
normally for the life of the web app. In the cas
For some reason login.jsp is looking for org/apache/struts/action/ActionForm
class and this class not found.
The error is:
NoClassDefFoundError: org/apache/struts/action/ActionForm
Try to find a reference to this class (web.xml, struts-config.xml).
Maya
Manuel Alzola wrote:
Hello. I´m havin
Craig,
1/ If we will have one extra servlet whose main functions are init and destroy
how this concerns computer resources? And this servlet will be idle?
2/ Who is calling doGet () method of DatabaseServlet? There is no mapping for
"database" servlet. Maybe it is automatically?
Maya
"Craig R.
We have no problems installing struts on WL 5.1 for
windows nt but after installing service pack 8,
putting in the web.xml that JSPs need to be
precompiled, copying the .properties in the _tmp dir
and trying with and without .war we still get the
class cast exception on HP-UX. Anybody knows why?
The best references for Struts, Turbine, and Velocity are probably:
< http://www.mail-archive.com/general@jakarta.apache.org/msg00495.html >
<
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg03206.html
>
and
< http://jakarta.apache.org/velocity/ymtd/ymtd.html >
There's also a
We have no problems running Struts on out NT version
of weblogic but despite all suggested fixes weblogic
keeps throwing the class cast exception on out HP-UNIX
version.
To summarize:
We did no put struts in the weblogic classpath.
We did add to the web.xml the code to precompile JSPs
We tried
1/
How about several files under A directory:
B.properties
B_en.properties
B_de.properties
B_fr.properties
and so on...
Can you see it, that you have a problem.
2/
How about a file name as extra init parameter that has names of all properties
files that you want to "combine". But this becomes a
Hello. I´m having a problem with
a project I started modifying struts-example from beta 1.0
I renamed the webapp and changed the LogonAction
and LogonForm to a different package. This classes are available under the
directory /WEB-INF/classess. I also changed the package and class names i
Hi,
Maybe somebody from developers can answer to me. Do I need to keep the
Apache license in the above of my code if I have modified that code. For
example, I am using Craig. M. LogonAction.java and have modified it a
lot. Do I need to keep the license including some record from cvs? Or I
need to
You are locked into a single vendor solution with that. ASP does a really
poor job of separating UI from business logic. I don't recommend it.
-Original Message-
From: malcolm davis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 10:25 PM
To: [EMAIL PROTECTED]
Subject: RE: Altern
Expresso Framework has been in development since 1996 and was released as
Open Source in mid 1999 - so it is a mature and stable product with over
33,000 downloads and nearly 3000 developers on the listserv. Last week we
annouced a major new release of Expresso, version 3.0. The press release can
On Wed, 21 Mar 2001, Ken Beyer wrote:
> Ken Beyer wrote:
>
> > > Anyone have a snippet of a build.xml that's does this "combining" of
> > > the properties files?
> >
>
> I appologize for beating this thread to death, but I want to mention 2
> more things.
>
> 1) I think I found another way t
Ken Beyer wrote:
> > Anyone have a snippet of a build.xml that's does this "combining" of
> > the properties files?
>
I appologize for beating this thread to death, but I want to mention 2
more things.
1) I think I found another way to merge multiple
properties files (if anyone cares :-). I cou
On Wed, 21 Mar 2001, Nick Afshartous wrote:
>
> > On Tue, 20 Mar 2001, Maya Muchnik wrote:
> > >
> > > Can I put a.gif into the property file too, and have the second statement as
> > > this:
> > >
> > > Or I can have
> > >
> > >
>
> Craig R. McClanahan writes:
> > The assumption
On Wed, 21 Mar 2001, Tewathia, Atul wrote:
>
>
>
> I get the following erroe on using the struts-form.tld in my program.
>
> Error also occurs for attribute 'isKey'. It works on removing those
> attributes from struts-form.tld.
> Is it okay if i continue doing so. I wonder where this will
On Wed, 21 Mar 2001, Tewathia, Atul wrote:
>
> I am new to struts. I have gone thru the theoretical part of struts and
> found the concept interesting. Even read thru some examples.
>
> But there are some doubts like...
>
> What happens to javascript validations? Where do we fit them in th
I am trying to use this for different "look". But my principle is simple. In one
application a.gif - is a blank,
in other - it is some picture. And so on... Change your property file to point to a
different directory for different "look". But in this approach you have one match
between application
On Wed, 21 Mar 2001, hunkpapa wrote:
>
>
> "Craig R. McClanahan" schrieb:
>
> > On Fri, 4 Jan 1980, hunkpapa wrote:
> >
> > > Hi,
> > > I've a problem with beans.
> > > I can use a bean with the writeTag and this works out well.
> > >
> > > But how can this bean access the session ?
> > > I
Title: Struts Action Graphs
Hi everyone,
I have created some XSL that takes the (old) action.xml and (new) struts-config.xml files and produces a graph showing the various forwards, forms, actions, etc. You can then use dot to convert the graph into an image.
I threw together a website wher
Will Struts run on iPlanet Applicaiton Server 6.0? I am using Struts on
WebLogic 6.0 now but we will switch to iPlanet soon.
Thanks.
> On Tue, 20 Mar 2001, Maya Muchnik wrote:
> >
> > Can I put a.gif into the property file too, and have the second statement as
> > this:
> >
> > Or I can have
> >
> >
Craig R. McClanahan writes:
> The assumption behind this new facility is that you need to
> internationalize your
Are you using 0.5 version? Because 1.0 has struts-html.tld. Can you switch
to the latest version?
"Tewathia, Atul" wrote:
I get the following erroe on using
the struts-form.tld in my program.
Error also occurs for attribute 'isKey'.
It works on removing those attributes from struts-form.tld
You can find some analysis and comparison by searching, for example,
"Velocity" or "Trubine" in our archieve emails.
Muhammad Aamir wrote:
> Hi,
>
> I recently explored the Struts Application framework features and
> developed an small application using Struts.
>
> Recently I
> I get the following erroe on using the struts-form.tld in my program.
>
> Error also occurs for attribute 'isKey'. It works on removing those
> attributes from struts-form.tld.
> Is it okay if i continue doing so. I wonder where this will stop.
Just use struts-html instead of struts-form. st
> "Tewathia, Atul" wrote:
> What happens to javascript validations? Where do we fit them in the
> comlete picture?
Client-side validation using Javascript is on the list for Struts 1.1.
David Winterfeldt has a very nice start on a package that does this at
< http://home.earthlink.net/~dwinter
Hi,
I think you need to change or property name to view or change getter/setter
and other stuff. See below in red.
Maya
"G.L. Grobe" wrote:
I'm new to struts and trying to get my index.jsp
to show up, but instead I
get the following error:
500 Internal Server Error
javax.servlet.jsp.JspException:
It appears that makes this call at the end of its
doStartTag() method:
return (SKIP_BODY);
while makes this call:
return (EVAL_BODY_TAG);
I suppose that is forcing the error message to be displayed. Too bad since
it really aids in prototyping to be able to substitute text in this fie
I find the 240ms delay satisfactory for most of my apps because the business
side logic usually takes longer to execute.
I applaud WebLogic however for their timings. Especially (IIRC) since
WebLogic is supposed to be 100% Java. I know that some other servers that
churn JSP very well are hybrids.
At 10:25 PM 20/03/01 -0800, you wrote:
>Eric,
>Have you looked into ASP.net vs ...?
The main problem there is that a lot of the development tools are
beta, and finding an ISP that will host it is also difficult. It will
be at least 12 months before it has settled down.
--
Kumera - a new Open So
What happens to javascript
validations? Where do we fit them in the comlete
picture?
They don't happen at the moment. Part of the Struts 1.1 plan is to look
at some forms of
autogeneration of JavaScript validation. A few people have implemented
their own system
for this.
Who takes care of whethe
You have to call the saveErrors(request, errors) method also
-Original Message-
From: Marc Ellison [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 6:18 PM
To: '[EMAIL PROTECTED]'
Subject: the errors tag
Hi,
Am trying out the errors tag but to no avail...I have the following co
Title: Error in struts-form.tld
I get the following erroe on using the struts-form.tld in my program.
Error also occurs for attribute 'isKey'. It works on removing those attributes from struts-form.tld.
Is it okay if i continue doing so. I wonder where this will stop.
/Abc.jsp(2): E
Title: Confusion : Usage of Struts
I am new to struts. I have gone thru the theoretical part of struts and found the concept interesting. Even read thru some examples.
But there are some doubts like...
What happens to javascript validations? Where do we fit them in the comlete picture?
W
"Craig R. McClanahan" schrieb:
> On Fri, 4 Jan 1980, hunkpapa wrote:
>
> > Hi,
> > I've a problem with beans.
> > I can use a bean with the writeTag and this works out well.
> >
> > But how can this bean access the session ?
> > I want to read values I placed in the session
> > to use them in t
As Craig
pointed out, I moved to Tomcat/4 beta and reloading issue is solved. Changes to
actions and action forms are refreshed automatically by Tomcat itself.
A tip for
Jbuilder, instead of compiling and copying class files, just change the output
directory to ../WEB-INF/classes and J
Sorry, I still can't get around this, can anyone help?
I've seen it in action in the test app, I've read the documentation, but I
still can't precheck with .
I have a list of checkboxes generated *dynamically* from DB records by the
& tags. The user defines their own subset of
these checkboxe
63 matches
Mail list logo