Hi,
i had the following case where another process calls an action in my
application with a parameter in url named A.
like: .../actions/process?A=1UNAME=andre
I coded a form bean with a getA/setA pair, but it never gets called. if
I use a in the call to the action, it works.
however,
Hi,
I'd like to know what is the status of struts.tld. It defines an include
tag
wich performs the equivalent of a jsp:include tag. Is it deprecated ?
There is also the bean:include ... tag defined in struts-bean.tld.
From the code,
I understand that the framework is computing an url, and
Quentin,
The problem is that you forward to the desired page using a redirection.
thus you loose everything placed inside the request object when the page
is called by the browser.
Workarounds includes putting the bean in the session scope, or use
forward.setRedirect(false);
Hi guys,
Here is a simple form:
html:form action=/selectTest
html:select property=currentSelection
html:options collection=aList
property=key
labelProperty=label/
/html:select
/html:form
in your action code:
this.getServlet().getServletContext();
(actions are initialized with a reference to the ActionServlet object);
Andre Paradis
-Original Message-
From: Alex Colic [mailto:[EMAIL PROTECTED]]
Sent: September 10, 2001 11:22 AM
To: [EMAIL PROTECTED]
Subject: How
One possibility is that there's a redirection occuring somewhere.
Since error bean is stored in request scope, it would be lost after a
redirection
(a new request).
Andre Paradis
-Original Message-
From: MacKellar, Kimberly [mailto:[EMAIL PROTECTED]]
Sent: September 10, 2001 11:33 AM
You return an instance of ActionForward at the end of the
perform method. In the configuration file, an action can go to a
certain
location by doing the equivalent of jsp:forward .../ or by doing a
redirection (setting the Location header).
But i think the default is using the forward
Hi,
I know i can use logic:equals name=thebean property=id
value=constant to compare a bean's property to a constant, but how do
i compare two beans property for equality using tags?
Thanks
Andre Paradis
Hi guys,
This has probably been answered before,
BeanUtils is deprecated (struts 1.0). What is the correct alternative to
this class?
Thanks a lot,
Andre Paradis
Sorry... just tired...
from javadocs:
At some point after Struts 1.0 final, will be replaced by an equivalent
class in the Jakarta Commons Beanutils package.
-Original Message-
From: Paradis, André
Sent: September 5, 2001 3:52 PM
To: [EMAIL PROTECTED]
Subject: BeanUtils deprecated
Hi,
the following declaration does not compile on iPlanet 6.0 SP2:
logic:equal name=something value=
...
/logic:equal
here's a snippet of the generated java file:
((org.apache.struts.taglib.logic.EqualTag)_JSP__0).setName(sqc_submenu_
currentitem);
Thanks matt,
Is it fixed in SP3 ?
-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED]]
Sent: September 4, 2001 10:53 AM
To: [EMAIL PROTECTED]
Subject: Re: logic tag and empty string value () problem
The workaround is to use a scriplet:
logic:equal name=something value=%=%
Here's a free http sniffer tool in perl. Works great for me. It listen
to a given port and forward to another port, host while printing http
stuff.
might need some tweeking, read the script.
Andre Paradis
-Original Message-
From: Tom Tibbetts [mailto:[EMAIL PROTECTED]]
Sent:
Just install activeperl for windows
http://aspn.activestate.com/ASPN/Downloads/ActivePerl/
then open up a dos box and type
perl http.pl
-Original Message-
From: Tom Tibbetts [mailto:[EMAIL PROTECTED]]
Sent: August 29, 2001 2:40 PM
To: [EMAIL PROTECTED]
Subject: Re: how do I snoop
Matt,
Doing
a redirection causes a new request to be created, thus you
loose
everything you put in the previous request object. You could save
your messages in user session scope, then do your redirection. The next
page will have access to the user session and you'll be able to read those
Ken,
I ran across the same problem...
the tld declaration for struts-html declares a prefix of html for all
of its tags (like html:form) etc.
When you put a normal html tag in your jsp page html, iplanet
interpret that to html: (seems a bug to me...) and tries to find a tag
that does not
-INF\compiled_jsp\
jsp\APPS\oapiW
AR\index.java:70: Class
org.apache.struts.taglib.html.LinkTag not found.
((org.apache.struts.taglib.html.LinkTag)_JSP__0).setHref(./js
p/userLogin.js
p); ^ 3 errors
Any ideas?
-Original Message-
From: Paradis, André [mailto:[EMAIL PROTECTED
Matt,
I package my war file with a build file using ant. I just copy all my
jar files in web-inf/lib, then jar the whole directory structure into a
.war, and deploy the file using iasdeploy.
Once deployed, all jar file contained in my war file end-up
beeing uncompressed in the web-inf/lib
18 matches
Mail list logo