Hi Vincent,
Have a look to Components proposal. Components proposal can be seen as
"extended templates". With Components you can define your template's
contents/attributes in a separate file, and insert content by using its name. A
content, named a component, can also inherit from other
J'espere, que cela prendra en compte l'internationnalisation. Les fichiers de
resources, ne permettent pas de gerer des pages stylises.
Ce qui m'interesserait, dans un systeme de templates, ce sont des feuilles de style
(pas xsl) qui s'appliqueraient sur des beans, et qui permettrait au
Merci.
I will have a look at it.
For my problem, I use . . . heuh, Tomcat 3.2.1 :(
I just tried with Catalina 4.0b1 and . . . wow, it works fine :)
Does I need a special parameter in server.xml, something else ???
Vincent
-Message d'origine-
De : Cedric Dumoulin [mailto:[EMAIL
Hi struts-user,
Can I nest struts:message tag in struts:link tag ?
Because I want to setup some query parameter reserved values in resources.
Thx
:=)
Best regards,
JeanX
pacificnet.com(GZ)
Hello,
We at Tufan Infotech are evaluating Struts for using in our web application
development.
I am not able to connect to a Oracle 8i database and retrieve or update
data. The datasource configuration in struts-config.xml is given below.
!-- == Data Source Configuration
Title: JavaScript in Struts
How do I perform javascript validation in struts pages ??
If you are using WebLogic 5.1 (Service Pack 8)---
http://jakarta.apache.org/struts/installation-wls.html
If you are using WebLogic 6+ --- It appears you can just follow the
Installation guide...
(http://jakarta.apache.org/struts/installation.html)
-brian
-Original Message-
From:
I don't quite understand the the below quote from the example tour. The
paragraph doesn't make sense. Anything in request scope will be removed
after the request is over automatically. So there's no need to remove it
just so if the user comes back later to the same page--it would have
been long
Hi, Christophe,
I understand that you prefer to talk in French. But we cannot read your email. If you
would like to talk only with Cedric, you can send email only to him, not all struts
users.
Thanks and sorry for any interruption.
Maya
Christophe Vigny wrote:
J'espere, que cela prendra en
There is a good description of what you want to do in an IBM Redbook titled
"Design and Implement Servlets, JSPs, and EJBs for IBM WebSphere Application
Server" (SG24-5754-00, August 2000). You can probably download the PDF from
IBM's Redbooks web site. The techniques aren't specific to
Hi,
If i use Tomcat as a static (gifs) and dynamic (jsp) server, that is mostly
used inside a debugging evironment or maybe if it is specified that everything
in the webapp\app dir must be served by tomcat (still find this a very bad idee),
then i noticed that i get socket exceptions on
I've been seeing this under JDK 1.3 also. I also get a similar error when my
stylesheet loads.
Wayne
[EMAIL PROTECTED]
-Original Message-
From: Johan Compagner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 8:49 AM
To: Struts
Subject: Bug in tomcat or the JDK (testing it
That is not the bug. It's a feature ;-).
When your browser realizes that it already has a copy of given file in
browser cache, it abruptly closes the connection in order not to waste time
and bandwidth. This causes exception on the server (tomcat) side of the
connection. It is plainly cosmetic
- Original Message -
From: Joel Shellman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 28, 2001 4:22 PM
Subject: Removing ActionForm's from context
I don't quite understand the the below quote from the example tour. The
paragraph doesn't make sense. Anything in
Right, but notice the exact wording--it says "remove it only if the
scope is set to "request""--but that's the main case where you wouldn't
need to remove it. page and session removal would make sense, but
request removal only makes sense in the situation you describe which I
would think wouldn't
Well it is finally time for me to use the iterate tag. Unfortunately I
ignored the millions of past posts about the iterate tag- so if this
question has already been answered I apologize in advance :) However, after
searching through some previous posts and the documentation I can't
understand
After quite a bit of effort, I have finally gotten the Struts example to
work flawlessly in WebSphere 3.5.3. What's funny is that I was reading your
post Richard and was thinking to myself: "Gee, I've done ALL of this EXACTLY
-- in fact I'm even on the same OS, just different drive letters, WHAT
Hello,
How to encode one pool of connections for whole
application ?
Should I encode this in some main servlet and then
receive connection
from this servlet ?
In struts-config.xml I have a section:
data-sources data-source
autoCommit="false" description="Trial
access to database"
If changing the DTD's to SYSTEM, do so ONLY AFTER using the Convert a War
util. Ant doesn't seem to like it the other way! :)
Chris Assenza
-Original Message-
From: Assenza, Chris [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 10:37 AM
To: '[EMAIL PROTECTED]'
Subject: RE:
Title: please help!
Hey guys,
I am using tomcat to deploy this internalization example and i got this error message. can anyone have any idea how to fix this problem? Thanks.
org.apache.jasper.compiler.CompileException: D:\tomcat\webapps\hello-world\hello.jsp(2,0) Unable to open taglibrary
To avoid thecosmetic ugliness, you can change the level of debug for the log
in the tomcat server.xml file. The default setting is INFORMATION. This is
a good setting for development but in production I would recommend putting
it to ERROR. See the comments in Tomcat's server.xml file for more
In order for the designer to be able to view a default row in a table
(that I'm generating using iterate and jsp:getProperty--or I could use
bean:write), I want to stick in a body value in there as a dummy value.
Then the designer can open up the jsp page in the browser without it
having to be
Hi. Just one more question on this...
If I find an error when I do the initial check in the controller (see history),
can I forward to an error page directly from the init() method? Is there a way
to do this elegantly?
Thanks,
Dave
"Craig R. McClanahan" [EMAIL PROTECTED] on
Running this example on weblogic 6 gives the following
error. Can somebody point out the mistake i am making...Below is the action
mapping where i am getting the error. The error is got at the /action
tag.
!-- Search Results View
Reservation Info_14 Action --
action
It looks like you are ending you action tag in the first tag (i.e
action ../) . Try removing that and it should be fine.
Laine
-Original Message-
From: Nanduri, Amarnath [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 12:09 PM
To: '[EMAIL PROTECTED]'
Subject: problem
Thanks a lot Laine. It works now.
cheers,
Amar..
-Original Message-
From: Laine Donlan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 12:10 PM
To: [EMAIL PROTECTED]
Subject: RE: problem using weblogic 6 and struts 1.0
It looks like you are ending you action tag in the
Title: please help!
Hi
See-Yam,
I am
new to this list and don't know much myself, but I have seen a message like this
one when an XML file did not conform to the DTD that was specified for it. Try
looking at the DTD to see if something in the XML is not valid. If this is the
example that
ahh but if that is the case. how much data must be send to the client
before it does noticed it?
Because at this time the it is bufferd to a 8Kb buffer before it sends out
but if the client can figure it out with say 1Kb then why wait for a buffer of 8KB to
be read before sending it?
I tracked
No. The init() method is called during servlet startup, not in the context
of a request. No request means no response - there's no place for a JSP to
go. I think you're pretty much stuck with logging an error and/or throwing
an exception.
--
Martin Cooper
- Original Message -
From:
I think you have some other versions of servlet or XML classes in your
j2ee.jar file.
-Original Message-
From: Ted Bergeron [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 3:31 PM
To: Struts-User
Subject: Struts and j2ee.jar
I have a very simple app running on struts/tomcat
I am using the html:errors tag to display my messages, but I find that I
have to wrap each of my message key values with a li/li for them to
display properly.
Is there a way that as I iterator through my errors, that I could output
the error message with the li tag?
Thanks!
Hi,
I have a problem with this attribute - no visible value at the browser. Is
this a bug or I am missing something?
Thanks in advance.
Maya
Hi, this is an old email, but not resolved, at least for me. Maybe somebody can give
me a hunt.
I have tried both suggestions. Both are not working. Maybe I am doing something
wrong.
Thanks in advance.
Maya
Craig Tataryn wrote:
How about this:
!-- MyResources would be replaced with whatever
Harcq,
I just ran into this problem myself with WebSphere. The GetTag.java - the
source behind the template:get tag that actually does the include calls
pageContext and includes whatever content should go in. By default, the
servlet engine should flush the buffer (that's what allows an include
I am trying to get struts working for Weblogic 5.1 SP8. I am getting the
error below. This doesn't seem to be the class cast exception I am seeing
often in the archives here ( yes, I tried looking there first for an answer
to this...I swear! ). Anyone have any idea? Do I need to do something in
Hi all-
Ive been trying to get cocoon and struts together, however one is using
the servlet.jar the other servlet_2_2.jar.
Is it possible to combine these two?
If you have an answer, please cc me at [EMAIL PROTECTED] since I cant
get listserver mail from work.
Thanks!
The html:errors tag generates output like this:
(errors.header)CR-LF
(message1)CR-LF
(message2)CR-LF
...
(messageN)CR-LF
(errors.footer)CR-LF
where the values in parentheses are keys into the application's properties
file, and message1 through messageN are your error message keys. Since CR-LF
Thanks for posting this, Chris.
I added it to the installation guide, and the Jyve FAQ.
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 737-3463.
-- http://www.husted.com/about/struts/
I am very curious about whether the struts framework could be
applied in a 'load-balanced' or 'webserver-farm' environment. One of the
main requirements of the application I am currently working on is that it
function properly in such a distributed or load-balanced environment where
each
Hello,
How do I redirect to the input jsp page from the formbean's validate
method instead of populating ActionErrors. I knew redirecting from the
perform method of the Action object, wondering is it possible to simulate
the same from the validate method.
Thanks in advance,
Senthil
It's been my impression that the bigger servers can maintain session across
webservers. I thought that when something was stuck in the session that it
must be Serializable and when session.setAttribute(x,y) was called that the
object was stashed somewhere, such as a ldap or database and keyed by
Is it possible to target a specific frame with an ActionForward? For instance if I want to return to a search page that exists in a leftmost frame if the target of the search results link was a contents frame?
Thanks
Sean
-- Sean Giles, [EMAIL PROTECTED] on 03/28/2001
Am I just not seeing it or what? Currently, this is what i'm doing:
input type="radio" name="answerid" value="bean:write name="poll"
property="currentanswer.answerid"/"
It would be great to do something like this:
html:radio name="answer" property="answerid" valueName="poll"
On Wed, 28 Mar 2001 [EMAIL PROTECTED] wrote:
Hi. Just one more question on this...
If I find an error when I do the initial check in the controller (see history),
can I forward to an error page directly from the init() method? Is there a way
to do this elegantly?
The init()
On Wed, 28 Mar 2001, Joel Shellman wrote:
I don't quite understand the the below quote from the example tour. The
paragraph doesn't make sense. Anything in request scope will be removed
after the request is over automatically. So there's no need to remove it
just so if the user comes back
Yes. High-end servlet engines will replicate session state between one or
more servers in the cluster; to how many it gets replicated depends on the
specific implementation. For example when you cluster Weblogic servers,
each new session is assigned a primary server and a secondary server. All
On Wed, 28 Mar 2001, Rafal Zakrzewski wrote:
Hello,
How to encode one pool of connections for whole application ?
Should I encode this in some main servlet and then receive connection
from this servlet ?
In struts-config.xml I have a section:
data-sources
data-source
On Wed, 28 Mar 2001, Kurt Olsen wrote:
It's been my impression that the bigger servers can maintain session across
webservers. I thought that when something was stuck in the session that it
must be Serializable and when session.setAttribute(x,y) was called that the
object was stashed
I'd like to translate the following to scriptlet-free JSP. (Hey, that
rhymes!)
String focus;
if (request.getParameter("startAtTheTop") != null) {
focus = "field1";
} else {
focus = "field2";
}
The main problem I'm facing is that I need to be able to use 'focus' as the
value of a tag
On Wed, 28 Mar 2001, Sean Giles wrote:
Is it possible to target a specific frame with an ActionForward? For
instance if I want to return to a search page that exists in a leftmost
frame if the target of the search results link was a contents frame?
Which frame the output goes to is
I made the equivalent of the errors tag, but it
iterates through the error messages.
validator:errorsExist
bean:message key="errors.header"/
ul
validator:errors id="error"
libean:write name="error"//li
/validator:errors
/ulhr
I think this should work. The most likely reason I can think of for what
you're seeing is incorrect settings in your struts-config.xml file.
You might want to check the following:
1) The 'name' in your action must match the 'name' in your form-bean.
2) The 'scope' in your action must be
Rafal,
You might want to change from the thin to ora8.
'ora8' was designed to be used for connection pooling.
The 'thin' driver was developed for applets.
- malcolm
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 7:41 PM
Probably not the right group and I'm new to ejb's and am having a problem
getting a sesson bean going from within an Action class (a class from the apache
struts framework which probably doesn't make a difference what the class is). Is
this on the right track to doing this correctly, though
55 matches
Mail list logo