I have a problem using the new action configuration:
resolveEntity('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN',
'http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd')
Not registered, use system identifier
Parse Fatal Error at line 5 column -1: External entity not
Hi,
we're developing a web-app currently using Struts 0.5 milestone release.
In this application we store a object in the session context that contains a
HashMap which we try to access
from a JSP. This works fine.
However when we try to iterate through the HashMap like this (contents
property con
I also have a similar problem but using a Vector instead of a HaspMap
Any feedback would be appreciated
Regards,
Jon-Paul
-Original Message-
From: Jannik Nørgaard Steen [mailto:[EMAIL PROTECTED]]
Sent: 24 November 2000 11:22
To: [EMAIL PROTECTED]
Subject: logic:iterate does not work wi
Title: logic:equal help ?!?
Hi,
I've just started with the logic-library of the Struts framework
I'm using the following code to create a dynamic html-table:
true
Hello,
We're looking at struts for a few days now and it looks good, but I was
wondering the following:
What's the difference between action.xml and struts-config.xml for the
action mapping? I see that in both files you nearly define the same things.
Can somebody explain us the difference pl
As I undertand it...
action.xml was used up to the 0.5 milestone release.
The current development release is able to use either, but from v1.0+
action.xml will no longer be supported.
> -Original Message-
> From: De Smet Koen [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 24, 2000
Title: logic:equal help ?!?
Hi Michael,
That's a classic: rule
true
Remove the / from your opening tag and
everything will work as expected. The XML parser is not smart enough to
complain that it encountered a closing tag without opening...
But take care that the comparison will try to chec
Title: logic:equal help ?!?
Hi
Pierre,
thanks
!!! That's it.
Sometimes the solution is so easy
:-))
I've
looked at that problem over hours without seeing the wrong slash
Thanks
again.
Michael
-Ursprüngliche
Nachricht-Von: Pierre Métras
[mailto:[EMAIL PROTECTED
Hi Koen,
Use the struts-config.xml if you want to create a new application. It's the
new version 1.0 file format used by struts. For compatibility with version
0.5, Struts can read the old action.xml file. The version you choose to use
is defined in web.xml:
action
org.apache.st
Hi,
we looked in the Struts source code a second time. Line 283 and 284 says:
else if (collection instanceof Map)
iterator = ((Map) collection).entrySet().iterator();
This gets you an iterator of the *mappings* in the Map. So each element is a
java.util.Map.Entry - right ?
The doAfterBody
Not sure if this is exactly the same thing, but I had a similar problem
yesterday - I think you need to add the following to your action servlet
configration in web.xml for your app.
validate
true
Sorted it out for me anyway!
Regards
James Wiltshire
-Original Message-
Are you not worried about code breaking when container vendors take
advantage of the spec? We can define something now that will support the
current spec. I propose replacing servlets such as DatabaseServlet with the
concept of a "plugin" (hopefully, you can come up with a less overused
name):
1.
Hi,
I trying to get my head around the Digester.
Is this based on a well known pattern?
Could someone point me to extra documentation/explanation re. the digester?
I'll probably have more specific questions when I understand it a bit
better.
Thanks
Ray
Hello,
Is there any milestone release after 0.5 ? I can only see nightly
builds. When is the next release likely?
Thanks,
Mihir
Ned Seagoon wrote:
>
> I take it the
> custom tags have access to the form beans?
>
Yes.
Custom tags are initialized with an instance of javax.servlet.jsp.PageContext, which
provides access to (among other things) all of the attributes in all of the scopes.
Therefore, they have access to the fo
Martin Weber wrote:
> Hi !
>
> I am using apache 1.3.12, tomcat 3.1 and struts.
Tomcat 3.1 has quite a few bugs, one of them being the use of URL rewriting when
running behind Apache. I
would suggest trying this with 3.2 -- you will still need the rewrite rule that you've
described, so that
A
Vilavanh Messien wrote:
> I analyzed the struts example in order to develop my own small application.
> Unfortunatelaty, I don't really understand how the user's information are
> saved
> in the "database.xml" file.
> The DatabaseServlet must write the information in the "database.xml" when
> the
Mike Dunn wrote:
> Are you not worried about code breaking when container vendors take
> advantage of the spec? We can define something now that will support the
> current spec. I propose replacing servlets such as DatabaseServlet with the
> concept of a "plugin" (hopefully, you can come up with
If I understand, destroy() should be called when the servlet container (i.e
Tomcat) is shutdown.
But, in my small application, destroy() seems not to be called so that
information cannot be
written database.xml.
I didn't manage to find where my error is.
Thanks
-Message d'origine-
De : C
Vilavanh Messien wrote:
> If I understand, destroy() should be called when the servlet container (i.e
> Tomcat) is shutdown.
> But, in my small application, destroy() seems not to be called so that
> information cannot be
> written database.xml.
> I didn't manage to find where my error is.
>
Tom
Actually, I'm using Tomcat 3.2.
If the prob comes from Tomcat, why the struts example has no trouble with it
?
-Message d'origine-
De : Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Envoyé : 24 novembre, 2000 16:00
À : [EMAIL PROTECTED]
Objet : Re: need some explanations
Vilavanh Messi
Vilavanh Messien wrote:
> Actually, I'm using Tomcat 3.2.
> If the prob comes from Tomcat, why the struts example has no trouble with it
> ?
>
The bug doesn't bite everyone -- whether or not your struts-example gets shut
down correctly or not depends on what other web apps are defined in the sam
Hi,
I am trying to use Struts 1.0 (20001115) with Orion Server 1.4.
If I use the struts-config.xml with validate=true in the web.xml the
following exception occurs:
java.net.MalformedURLException: unknown protocol: jndi
Okay, no prob. I deleted the validation in web.xml so at startup it uses
Hi,
I need to access the session (to get and set
attributes) from a custom tag. Any idea?
Thanks
--ani
> Hi,
> I need to access the session (to get and set attributes) from a custom tag. Any
>idea?
getPageContext().getSession()
--
Matthias(mailto:[EMAIL PROTECTED])
> I need to access the session (to get and set attributes) from a custom tag. Any idea?
... or of course ...
getPageContext().getAttribute("AttributeName", SESSION_SCOPE) and
getPageContext().setAttribute("AttributeName", attribute, SESSION_SCOPE)
--
Matthias(mailto:[EM
I think this works also, right?
HttpSession session = (HttpSession) pageContext.getSession();
String = (String) session.getAttribute("...");
--ani
- Original Message -
From: "Matthias Kerkhoff" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Sent: Frid
Hi,
I have to code a menu. Depending on the user interaction, different features
will be executed. These features are Struts actions *.do URL with associated
JSP files for the views. The menu is included on all the forms.
Should I use an Action class to manage the menu processing, knowing that n
28 matches
Mail list logo