Hi all,
why have a frameset and open a link without this framset. Then I want to go
back to the frameset with this forward.
forward name=start_mitarbeiter path=/main.jsp/ the main.jsp is the
page with the frameset.
But this forward opens a new window? Why does it do that and how can I open
this
Hello,
at a jsp-Page I want to populate the a form, the
required data are in a bean. How do I populate it? I´m new at the struts
framework and I didn´t find documentation for this. The
Struts-Example-Webapplication is nonapparent for me.
For Detail:
The user has see a list as an dynamic
Hi John,
If you don't get any answer on the struts-user
mailing list please repost on the cactus-user list, I know for sure that several
persons have done it and would be able to give you the code. Basically, there is
no helper class for the time being, meaning that before calling your
Hi all,
I'm a newbie in struts.
I'd like to use log4J with struts.
I don't know where i must do the log4J configuration.
In another servlet, i would do it in init method but i would like to use
ActionServlet.
Where can i put code like :
BasicConfigurator.configure() . ?
Thanks for help.
Hi,
I've followed various threads (Long Story Short etc) about Dave Hays index
tags enhancement and after much hair tearing!
The suggested code for the form bean is:
private ArrayList parameterList = new ArrayList();
public ArrayList getParameterList()
{
Hi all,
I'm a newbie in struts.
I'd like to use log4J with struts.
I don't know where i must do the log4J configuration.
In another servlet, i would do it in init method but i would like to use
ActionServlet.
Where can i put code like :
BasicConfigurator.configure() . ?
Hello
JSPTL allows you to do the following by using the Simplest
Possible Expression Language (SPEL) provided with the
reference implementation:
tag attribute=$foo.bar.baz/
tag attribute=$param:paramName/
The above examples make things prettier but don't really
add much functionality over
Why don't extends the Action servlet ???
You can create a MyActionServlet which extends ActionServlet and initialize log4J.
Then you replace in the web xml the ActionServlet Class with the MyActionServlet
Class.
I didn't test it, but I think that it works.
Arnaud H
-Message
Thanks Mark and Arnaud for help.
Both soluces are working.
-Message d'origine-
De: Heritier Arnaud [mailto:[EMAIL PROTECTED]]
Date: mardi 31 juillet 2001 11:36
À: '[EMAIL PROTECTED]'
Objet: RE: struts and log4J
Why don't extends the Action servlet ???
You can create a MyActionServlet
Craig's slides for BOF #1291, Approaches to User Authentication and
Access Control in Web Applications is available for download at
http://husted.com/about/struts/resources.htm#new
True to the school, it's in Open Office format
http://www.openoffice.org/ .
Craig R. McClanahan wrote:
I
I know. This is what I had and didnt like. So we are saying that we need
to re-design the html form tags to handle this in an elegant way, right?
- Original Message -
From: Ted Husted [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 31, 2001 7:12 AM
Subject: Re: Are form
Hi,
I have the same problem as Michael, trying the IBM employeelist example,
and I don't know how to make it work.
Has anybody have an idea about it?
Regards.
Maria Laura.
-Mensaje original-
De: Panayotou, Michael [mailto:[EMAIL PROTECTED]]
Enviado el:
Title: Wrong ordering of rendered html elements when using templates under WAS 3.5.x
You
need to use flush="true" on your template:get tags. :) WebSphere needs it's hand
held to do the include properly. :-P
(ex.
template:get name="main" flush="true" / )
-Chris
Christopher Assenza Phone:
Hello,
does anyone have an idea, how to use the same physical jsp page in different
action mappings (with different actions).
I do not see a way to describe that my action path should be a locigal path
using a page, which does not fit to
the pathname of the page.
Example:
JSP is
Having *a lot* of input fields (50+ hidden and non-) on my JSP appearently
results in the exception below. Has anyone seen this one before? Is this
due to WebSphere's outdated version of Jasper? At first I thought it was a
limitation in the WTE only but WAS 3.5.3 throws the same exception.
This is an evil error but it's not really Struts' fault. Basically the error
is the fact that a compiled JSP (servlet really) can't have a single method
greater then 64k - but with all those tags being compiled in directly the
size grows pretty large. I asked this a while back and Martin Cooper
What elegant way did you have in mind?
Personally, I'd either add a property to the bean to represent the flag,
or send a second ActionForm bean down as a helper and specify that as
the name attribute for the tag.
If the value is dynamic, it has to be coming from somewhere, so why not
an
I tend to agree with Tim here, but only in certain circumstances. If you
place very specific HTML code in your tag library then that tag library has
become very restricted in its use - basically it can only be used in the
original context for which it was designed, otherwise the HTML will
This looks like a very useful paper but how do you open and read the
paper if you only come equipped with the text tools from the microsoft
monster?
Scott Ryan
Developer
First Bank Data Corporation
Work: (303) 235-1485
Cell:(303 263-3044
[EMAIL PROTECTED] 07/31/01 05:19AM
Craig's slides
The easiest way is to let the log4j static initializer work for you. Place
log4j.jar in your WEB-INF/lib directory and your log4j.properties file in
WEB-INF/classes.
- Original Message -
From: DUPRAT Alexandre [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 31, 2001 5:03 AM
At this time, the current ActionMapping is not exposed to the JSP, so it
really can't tell which ActionMapping was used to call it. (Though, it
would be cool they could;-)
You might want to route control first through an Action, and then to the
JSP. This way you can put something in the request
Antigen for Exchange found Taylor, Michael(LIT).vcf matching =*.vcf file
filter.
The file is currently Deleted. The message, HTTP Session Usage, was
sent from Taylor, Michael(LIT) and was discovered in IMC Queues\Inbound
located at IBC/PA1/MG01.
Open Office is a free download, and available even to the monsters
amongst us ;-)
Scott Ryan wrote:
This looks like a very useful paper but how do you open and read the
paper if you only come equipped with the text tools from the microsoft
monster?
Scott Ryan
Developer
First Bank Data
There is a target attribute in the html:FormTag
Have you tried setting the target to _top ?
HTH,
Pete
Stefan Faist wrote:
Hi all,
why have a frameset and open a link without this framset. Then I want to go
back to the frameset with this forward.
forward name=start_mitarbeiter
Thanks for the reply David.
Yeah, 'action' checking is another way of determining wether or not to
do the validation.
I guess I was wondering if it was possible to configure the Form to
prevent first time checking ? Would anyone else find this useful ?
Given the recent discussions about
can anyone please helpi want to redirect the user to another page, after
showing a page with a message, for a few seconds.
This is what I have
META HTTP-EQUIV=Refresh CONTENT=5; URL=/logon.jsp This URL doesn't
work though!! Please help
The usual solution would be to design your forms to contain hidden
fields that tell the Action which operation to perform with the next
request. So typically, there would be one button with a hidden field
that conveyed whether this was the FirstAction or the SecondAction.
These would all go back
Hi all,
is it somehow possible to include the output of an action in one JSP?
Now, when I try to include a *.do page, the server complains, it cannot
forward to the action's jsp (of course, since I don't want to forward,
I want to inlcude).
The only solution I've found, is to len the Action's
--- Emaho, Ghoot [EMAIL PROTECTED] wrote:
Thanks for the reply David.
Yeah, 'action' checking is another way of
determining wether or not to
do the validation.
I guess I was wondering if it was possible to
configure the Form to
prevent first time checking ? Would anyone else find
Hi,
I need to create a GUI front end to the web.xml file. This way the file can
be configured from a web page. What I thought about doing was to create an
admin screen, have the user log in, and check against a file etc. Then I was
going to get the servletContext, open a stream and read the
Antigen for Exchange found Alex Colic.vcf matching =*.vcf file filter.
The file is currently Deleted. The message, best way to create front end
to web.xml, was
sent from Alex Colic and was discovered in IMC Queues\Inbound
located at IBC/PA1/MG01.
It is on the web page's documentation but nowhere to be found in the source
or TLD...I'm assuming it's been deprecated. It may be a good idea to take it
off the page cause I was all excited about it until my JSP screamed at me.
:P
Chris
Hi All,
I have just started with Structs and JSP. I would like to get an idea
from the group if they know of a open-source/free IDE for Linux to
develop JSP/Struts pages. I would like to have source level debugging
etc with Tomcat support.
Thanks for the recommendation in advance.
Kumar
Hi!,
I'm María Laura, and I have the problem mentioned here: the employeelist
app index.jsp page throws the following error:
Mensaje: Server caught unhandled exception from servlet [jsp]: Missing
message for key index.title
Firstly, I edited the ApplicationResourses.properties
Craig,
You say that you should be able to run with no problems, without
trying to access the network. But it seems to me that the internal
DTDs are used only after an attempt to access them via the network times
out. Am I mistaken on this? It seems that when I start my server
(either
I have a Data Object (DO) that we use to throw b/w our EJBs and forms.
1. In one particular DO, I am using the Gregorian Calendar to set day, month
and year.
2. I am using the validation framework to validate that day is b/w 1-31, that
month is b/w 1-12 and year is b/w 2001 and 2100.
Hello struts users,
I followed up with olivierbazoud's post yesterday regarding the layout tags
listed at http://struts.application-servers.com/ .
I definitely liked the underlying motives for the tags and the efforts to
simplify even further programming of standard maintenance screens:
Do you have setLenient(false) on the GregorianCalendar
class? It should reject inappropriate dates then. I
don't know why it doesn't default to this behavior.
David
--- Matt Raible [EMAIL PROTECTED] wrote:
I have a Data Object (DO) that we use to throw b/w
our EJBs and forms.
1. In
Hi everyone, does anyone have problems referring to their jsp pages
within the /WEB-INF dir? I tried to hide these jsp's so that users can't
directly access them (without performing actions). I'm running this example:
http://husted.com/about/struts/struts-stub.zip
I'm trying it with
Hello All,
I just went through the installation for JRun, and there is one more change
that needs to be made, which I just wanted to post for anyone searching the
archives. In logon.jsp, where:
redisplay=false
change it to:
redisplay=%= false %
Have fun!
Hilary
The logic:empty and logic:notEmpty tags are part of Struts 1.1, and
hence only available in the nightly builds at this time. If you're using
Struts 1.0, that would explain the problem you are seeing.
For documentation that accurately reflects the build you are using, your
best bet is to use the
41 matches
Mail list logo