You can also use a promptAction, to populate the form with the values that
you want, before putting it into the request. Some thing lije this:
PromptAction(Populates the form with default values)-ActionForm(Gets the
user input)-DoAction(Process the form)
Regards
-Mensaje original-
Could be that you are having a compatibility problem. We had a similar
problem using Struts with Xalan in ServletExec. The problem was the version
of ServletExec that we used came with some xml tools (crimson.jar, jaxp.jar,
...) that conflicted with the xml tools used by Xalan (xerces.jar,
I think that in the document wrote by L. Maturo there is enough to help you.
http://stealthis.athensgroup.com/presentations/Model_Layer_Framework/Struts_
Whitepaper.doc
Regards
-Mensaje original-
De: Jose Casas [mailto:[EMAIL PROTECTED]]
Enviado el: miƩrcoles 27 de marzo de 2002 0:55
-config.xml is parsed and everything works fine.
I send you the new jar file without the classes that conficts with Crimson
Jaxp.
Regards
Javier
-Mensaje original-
De: Javier Campoamor [mailto:[EMAIL PROTECTED]]
Enviado el: miƩrcoles 20 de marzo de 2002 19:45
Para: Struts Users Mailing
Hi,
I'm having problems while trying to use Xalan with Struts. I have found that
the problem is that when I include the xml-apis.jar file into the
WEB-INF/lib directory I got an exception when I then re-start the
application. It doesn't matter if I use Crimson or Xerces; I always have the
same
.
Best regards
Javier
-Mensaje original-
De: Javier Campoamor [mailto:[EMAIL PROTECTED]]
Enviado el: martes 12 de marzo de 2002 19:35
Para: Struts Users Mailing List
Asunto: Problem handling arrays in an ActionForm
Hi,
I'm having a problem handling arrays in an ActionForm
Hi,
I'm using the nested extension to manage a bean that has a list of other
beans, but I'm having always the same problem that I'm unable to solve.
I have a first action that creates the action form to be showed in the next
jsp. This works and everything I need is in the response. The problem
property names inside of your
loop. Without
using indexed properties, how will struts know which member to update in
your array when a submit is done?
-
-AP_
See my profile at
http://www.myprofiles.com/member/view.do?profileId=128
-Original Message-
From: Javier
Do you know where I can find a really simple example using the
nested tags? I get the general idea that you're supposed to
describe a path to the nested object using '.' separators, but
I can't seem to find any docs or tutorials on using these tags.
Some days ago, Antony made a question and now I'm having the same problem,
can some one explain to me if there is a way to access to the datasource
configured in the struts-config file from a class that doesn't extend an
action?
Thanks in advance
Javier
-Mensaje original-
De:
10 matches
Mail list logo