Another approach is to pass the query string options using the
parameter property of the action mapping, and then looking for them in
your action. So, passing a parameter like task=select could also be
represented as:
action
parameter=select
Hello struts-user,
Has anyone answer to question about using struts in Tomcat 4.0?
Today I try to migrate to the Tomcat 4.0b4 and all struts based
applications throw exception at action processing step -
2001-06-24 19:15:00 StandardWrapperValve[action]: Servlet.service() for servlet
The reset() method is called by the Action before populating an
ActionForm from the request.
Generally, this should set your properties to their initial values.
It should have already been called by the time Action.perform() is
called.
It sounds like you are doing the right thing. You should
Hello,
I would like to use a button type as a href, making use of the struts
forward definitions. As I find that using javascript (e.g.
onclick=location.href='desitination') does not work consistently
across Netscape and IE. Does anyone know of a way to do this. I would
have guessed that if
The HTML tags are designed to work within forms, and I believe you will
have to submit to an Action. Otherwise, you're back to some kind of
script.
If creating an ActionMapping for each href you want to use is not a
problem,
then you could have a single RedirectAction that served all the
Thanks Ted,
I was going to use a redirecting action, but it just felt it was a bit
heavy weight considering that the href forwards are available to the
html:link. Looks like I will have to use it in the end then.
cheers
Neil
Ted Husted wrote:
The HTML tags are designed to work within
how can i run struts in J2EE Server...?
is there any special setting to running it...?
i trayed to running the example but it dosn't work
the error like this
A Servlet Exception Has Occurred
org.apache.jasper.compiler.CompileException:
c:\j2sdkee1.3\public_html\bugtracking\index.jsp(4,0)
No offense, but I feel it is much better in
performance to use Java scriptlets for these cases.
The overhead of the tags is just too high to justify
using them.
__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
I am looking in to using Struts as the development framework for generating
pages. I have two questions:
1. How can I submit two different actions for the same form?
2. How can I submit a form using an image and html link instead of a submit
button.
Some elaboration for each question is in
9 matches
Mail list logo