remove unsubscribe
Hi Gary,
To keep track of a stateful session bean (or any other object for that
matter) across multiple requests, you will need to store its reference in
the session using setAttribute(). You will also need to perform a check in
the Action each time a request is processed to see if that object
Hello,
I am trying to use OPTIONS tag with bean that has a collection as one of its
member variables ( the appropriate getter method is provided).
Assuming the following scenario
==
public class Cache {
private ArrayList
I would appreciate it. Even if its crude, it sure beats creating one from
scratch!
You may also consider ziping it and posting here, should be very small file
I guess.
Thank you,
Michael
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
Has anyone built ThirdPartyTags (xml) for Dreamweaver (UltraDev)
for the struts JSP taglibs -- specifically the HTML taglib?
[Without a custom third party tags for struts, you can not visualize how
the screens will look in Dreamweaver. So, without a good visual
HTML editor, then graphic
Ioannis,
i've just downloaded your app (actually a great idea! ) but
cannot load the
advanced menu example.
i get an error:
org.xml.sax.SAXParseException: Document root element is missing.
void com.sun.xml.parser.Parser.fatal(java.lang.String,
java.lang.Object[
],
Bill,
there is a DreamWeaver translator
written by Thierry Cools for Struts 0.5 that works pretty well that you can find
and download at Ted Husted's site. http://www.husted.com/about/struts/dw-struts.zip
it doesn't use the new Translation Manager xml approach, but will allow you to
see
I may be wrong but after looking over and debugging
the OptionsTag I believe that:
name="cache",property="productList"
Your productList must be a String.
At this time it can't return another Bean
which itself has properties.
If product is a Bean and it has a property
named productID that you
Title: how to use image to submit a form with html taglib.
Hey, everybody.
Please help on this one.
is anyone know how to use img to submit a form with Struts html taglib?
Thanks.
See-Yam
See-Yam Lim
Software Engineer
Netvendor Inc.
http://www.netvendor.com
mailto:[EMAIL
Hi,
Does anyone know how to associate an image with the html:cancel tag?
Thanks.
-Nimmi
Hi Eric,
It seems that your server doesn't flush out content while including the
template parts.
Cedric
ric Chamberland wrote:
Hi,
i find a way to run struts-blank, struts-documentation and little part of
struts-example. But, when i tried struts-template, i've got only the
Bill,
There is a Dreamweaver/Ultradev Taglib Manager that is
available. It uses the Live Data feature of Ultradev and the tags
aredynamic in the page when you put put them on the page. Struts tagslibs
work with it. I have had mixed success with it. Sometimes I get
errors.
I have included
Hi Anh,
Does your application is at your server root directory, or in a site directory
(like struts-example) ?
In this later case, you need to prefix getted url (template:get
name='header'/) with your site url (%=request.getContextPath()%) like in the
following :
frame name="headerFrame"
Hi,
I'm doing some simple tests and set up with Digester to get familiar with it
before starting in for real.
The following xml produces a java.net.MalformedURLException error when
digester.parse attempts to parse it.
?xml version="1.0" encoding="ISO-8859-1"?
!DOCTYPE request SYSTEM
There seems to be an error in the
http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd file. When I
try to display it I get the following error message:
Cannot have a DTD declaration outside of a DTD. Line 26, Position 12
!ENTITY % BeanName "CDATA"
Mike McAllister
Software Engineer
remove unsubscribe
From: Wilfried Zeise <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: remove unsubscribe
Date: Tue, 03 Apr 2001 09:02:41 +0200
remove unsubscribe
Get your FREE download of MSN Explorer at http://explorer.msn.com
- Original Message -
From: "James Bell" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, April 01, 2001 11:48 AM
Subject: Logon Dialog
All
I have protected my struts application with the following directives from
the web.xml file for the application (see below). This works
Has any one integrated struts with XML/Xsl?
I'd like to know a few thoughts/issues/ideas/patterns
on that.
Thanks,
Ven
__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
Dear All,
Hi. Would really appreciate some help on this one.
I have a Vector called severities in my form bean, which holds my
SelectOptionBeans - these simply hold value and label of my select options, with
appropriate getters and setters.
Having problems referencing these in the
Just realised my confusion with labelName and labelProperty.
BUT, still doesn't work! Figure I have to use "Collection=", to specify the
Vector I wish to iterate over, and then property="value" to get the value from
the bean in the Vector. The Vector is called "severities" in the form bean,
You can use the bean:define to get the collection in
scope for the options tag to use.
bean:define id="severitiesList" name="severityForm"
property="severities"/
form:select property="severity"
form:options collection="severitiesList"
property="key"
I am using orion application server and I am trying to get the examples to
work with struts. I followed the directions in the orion specific install
and I have had no luck.
I get this error. It says it cannot find the jndi protocol. I have
jndi.jar in the classpath?
4/3/01 1:17 PM Started
Struts Collegues
I have a couple of small Struts applications hosted on the web. I am
finding that when I access the Struts jsp pages using Netscape, port 80
(:80) gets attached to the base URL (e.g..
www.stgabe.org:80/whatever.do;jsessionid=cekru16pr1?action=View).
After that, various start to
I am having the exact same problem. My configuration is as follows.. IWS
sitting in front of WebSphere3.5.3 using an NSAPI plugin. struts-example works
perfect when SSL is turned off, however when I turn on SSL and go to the same
page (index.jsp of struts-example) the link tag ceases to
Hi.
Would appreciate it if someone could clear up my confusion with using different
form beans on two consecutive pages.
I have logFilter.jsp which allows user to specify the information they wish to
filter the logfile with. This is contained in LogFilterForm. The next page
displays the
Thanks for the help - this works fine. Just seems a little awkward to me -
presumably this situation crops up quite often. Is there any chance of struts
tag being changed to allow this?
Cheers,
Dave
David Winterfeldt [EMAIL PROTECTED] on 04/03/2001
02:17:43 PM
Please respond to [EMAIL
Yes,
We are using XSL as our output format instead of JSP. Here's what we've done:
1) We created a "Message" object that is an ActionForm. All of our ActionForms
inherit from this object. This way we enforce that the "Message" object is
present for each action and is either in session or
Oops...I put the wrong tag in there:
html:form action="/logon" focus="badproperyname"
(see what I mean?)
- Forwarded by Will Spies/Towers Perrin on 04/03/01 08:12 AM -
Seems certain exceptions don't come with very good explanations. For
example, I have a tag which had a bad property:
html:text property="badpropertyname" size="16" maxlength="16"/
If 'badpropertyname' does not exist the exception I see in the log file is:
javax.servlet.ServletException:
I would like to supply a new class for my Forms. When I look at the view
documentation and the example, I see that it uses an 'ActionForm' class.
However, when I look at the controller documentation it refers to an
'ActionFormBean' class. When I go and look at the struts source I find both
of
Hello,
Does anyone have the strut examples working with orionserver 1.4.5
or later. If not, does anyone know where I can find more information on how
to get this to work. I have implemented the extra procedures required to
set up strut with orion.
Thanks,
Shawn Stephens
I get this
I am also having a problem running struts on Orion.
I followed the instructions and noticed that the directions to install the
sample application on Orion (as written) would not work. First it only
mentions copying one xml file not action.xml (it mentions
struts_config.xsl). Then it asks you to
I too tried the same thing. Can you check your where orion is
located\orion\log\global-application.log and see if you are getting this
error:
java.net.MalformedURLException: unknown protocol: jndi
at
org.apache.struts.digester.Digester.resolveEntity(Digester.java:581)
at
Try to find email with a body "unknown protocol:
jndi". I have remembered it.
--- Shawn Stephens [EMAIL PROTECTED] wrote:
Hello,
Does anyone have the strut examples working with
orionserver 1.4.5
or later. If not, does anyone know where I can find
more information on how
to get this
I beleive my last message might have been a bit confusing. I found a
similiar problem on the sun forum that will help me clarify it a bit more:
I have a question on distributing JSP custom tag libraries in Wep Apps (.war
files). I would like to distribute a custome tag library in a WAR file
Hi,
It seems like the action/formbean system assumes that the user is always
inputting something.
Does this hold true if, for example, a user clicks on a link which takes
them to a page which displays read only information pulled from an XML file?
Can I just use a simple bean (created by a method
I guess you can but then why use Struts at all. The 'user input' can
just be clicking a link and all info be read only. The ActionServlet can
instantiate any number of beans which can then be assigned to ActionForm
properties for jsp retrieval or can be 'chained' from one object which gets
I found out a nice way for struts to handle every request on the website.
Just set
servlet-mapping
servlet-nameaction/servlet-name
url-pattern/*/url-pattern
/servlet-mapping
in web.xml.
In struts-config.xml I have a default handler. What this does is handle the
cookies, and set up some generic
38 matches
Mail list logo