I did something similar for Dreamweaver ultradev 1.0, I wrote
a translator that cover almost all visual struts tags, it is not perfect yet but
it works pretty well.
If you're interrested, in the file ( it's a a javascript file
), just send me a mail.
Thierry
Thierry Cools Senior Java Develo
Hi Martin,
You should be right in the terminology. I derived the name of the tag from
the javax.servlet.http.HttpServletResponse method:
public java.lang.String encodeURL(java.lang.String url)
// Encodes the specified URL by including the session ID in it, or,
if encoding is not n
Pierre,
Isn't this URL rewriting? Shouldn't the tag be called rewriteURL instead of
encodeURL?
Unless I'm mistaken, URL encoding is when you encode special characters in a
URL, like turning spaces into %20, etc., and URL rewriting is when you
modify the URL to embed the session ID.
--
Martin Co
On Fri, 17 Nov 2000 01:33, Laird Nelson wrote:
> The main build of struts gets to the first
Hello,
I am still confused about path
resolution.
My directory structure is a s follows:
(the application context is
.../webapps/dolores/)
/dolores/
/html/
/common
/intro
/customer
/artwork
The directory contains a jsp-page
.
H
Hello,
has anyone yet made a TAG.xml-file that describes
the struts 0.5 standard tags for use with Dreamweaver 3 ? If so, could you
please post it to me ?
Hint: Dreamweaver uses TAG.xml files to display
ustom-tags.
Thx
Nikolaus
Hi Nikolaus,
If you want a graphical button, just
do:
Else create a small form that contains your button.
If you're working for IE (doesn't work with NS), you can put your button without
a form and redirect with a link as in the previous sample or with JavaScript
code.
Pierre
Hello,
for design reasons I would like to use a button
instead of a text-hyperlink to forward/redirect a request to another
action/jsp-page. The struts:button tag is only valid inside a form and IMHO not
intended for this use. Is there any workaround available ?
Regards
Nikolaus
It seems as though when using Tomcat ServletInputStream.readLine() hangs at
the end of the request data for a while, I haven't experienced this hang
using a different servlet container. Can anyone else verify this?
-Original Message-
From: Schachter, Michael
To: '[EMAIL PROTECTED]'
Sent:
I'm currently investigating why it takes so long. Apparently the
ServletInputStream.readLine() method is the culprit, but I'm not exactly
sure why as of yet. Look for a fix within the next day.
-Original Message-
From: Sayles, Scott SAXONHQ
To: 'Schachter, Michael'
Cc: '[EMAIL PROTECTED
Would a multipart response accomplish this? Take a look at www.servlets.com
and the com.oreilly.servlet package. Unfortunately, I think this will only
work with Netscape browsers.
Steve...
-Original Message-
From: Matthias Kerkhoff [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September
Michael,
Ya, I've checked it out. It's nice that it's built in. Although, I was
having problems with uploading relatively larger files (like 300k!). For
some reason, the getNextElement() method for MultipartIterator was taking
way too long. I tried setting the buffer sizes to various sizes wit
Hello,
I'm facing a small dilema. I've created a struts action class that handles
requests for uploading files. I'm creating some action errors using the
standard struts method in which the action errors are added to an action
errors object and is forwarded to a page that is using the
tag. Wh
[EMAIL PROTECTED] writes:
>
> [EMAIL PROTECTED] wrote:
> >
> > If I recall correctly you need to modify one of Apaches config files
> > server.xml ?? to tell it that it needs to forward the *.do
> > to tomcat. It is in the Struts install directions. Try one the
> > old users guide for that
Matthias,
form-bean is just a convenient way to map a name
with a class, so that in several 'action' definitions,
you can use the same value for the 'name' attribute.
That's why both 'formClass' attribute of the 'action'
tag has been deprecated.
So, when ActionServlet is trying to locate an appr
Hi all,
Here is a very simple tag. It's role is to add session encoding to its
parameter if the client browser doesn't support cookies.
In the majority of cases, you don't need it because and do
it already. I had the need for it when my application opens a new window
from JavaScript to present
Hi guys,
aren't we dealing with a server based framework implementing MVC pattern?
I mean: if your application receives a request you can respond via
different
pages (a http-refresh waiting page, an error page, a confirmation page etc)
corresponding to the state of a session bean implementing the
This error might be the for Orion. There is an exception relating to jndi
when(?) ApplicationResources is being bundled.
>java.net.MalformedURLException: unknown protocol: jndi
> at
org.apache.struts.digester.Digester.resolveEntity(Digester.java:619)
> at
com.sun.xml.parser.ExternalEn
We've got a form that we want to pre-fill with values
when presenting it for the first time. So we've made
an ActionForm class, whose reset() gets an ID from
the HttpServletRequest and retrieves the data to
initially populate the ActionForm's fields.
However, we want to be able to use validate
"Rautenberg, Stefan" wrote:
> Hi all,
> We are using Struts 0.5 in an application which runs under Jrun 3.0.
> The ApplicationResources.properties was always found in the
> directory /WEB-INF/libs which is automatically added to the classpath by
> Jrun.
>
Does the unmodif
Laird Nelson wrote:
> This is probably a FAQ.
>
> I've read the installation instructions for Struts. I've installed a
> binary version of ant1.2 properly. I've installed a binary version of
> xalan-1.2.1 properly.
>
Are the xalan.jar and xerces.jar files (from the xalan distribution) on your
"Ansaldo, Gaston" wrote:
> Craig:
> thanks for your reply; actually, I undertood it the way your are
> describing the behavior but what I can't understand is why every time I add
> new paths in a Struts 0.5 app I have to update both files. Should be enought
> updating action.xml?
>
You o
iam working on struts framework ..
i have created actionservlet,actionbean and action form.
now i want to display a list of items in my jsp as check boxes ..can anyone
please tell me how to do it..
scenario is like this..
i have to display items which is user going to select .
help is highly app
Great !! Now it works.
I had done step 1) and 2).
I had also come to the conclusion that 3) was necessary, and had done that.
I had also done 4)
But it didn't work.
But then I checked http.conf, and there I found the line
(which I myself had added after I installed struts)
AddHandler jk_serv .d
Hi Folks
Does any one have a very minimalistic example for struts.
I mean just a single text called "firstname" with a submit button.
I want to demo to somebody the response when the text area
is empty vs some entry in it.
I have showed them the struts-example and the other example
from
Colin Sampaleanu wrote:
> > -Original Message-
> > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> > Sent: November 15, 2000 8:51 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: *.jsp "back door" issue
> >
> > Joel Schneider wrote:
> >
> > > Description of Problem:
> > >
> > > A typi
I encountered the same problem. "someone" isn't flushing the prior screen
output. I modified taglibs/IncludeTag.java and added:
JspWriter writer = pageContext.getOut();
writer.flush();
just before
pageContent.include(forward.getPath());
in doEndTag();
Seems to wor
Hi all,
I have some difficulties understanding the struts-config attributes
used to specify bean names/and classes. (See questions at the end of
this mail)
In struts-config there are:
- with
name - Unique identifier of this bean, used to reference it
in corresponding action
is there a tag in struts for localized includes so you can localize big text
portions of your site?
Aur Gal
Dove Solutions
515-469-5877 x126
Hi Chris,
> please correct me if i'm wrong, but i believe this is accomplished in the
> following manor:
> [...]
Thank you for your quick response.
--
Matthias(mailto:[EMAIL PROTECTED])
> -Original Message-
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: November 15, 2000 8:51 PM
> To: [EMAIL PROTECTED]
> Subject: Re: *.jsp "back door" issue
>
> Joel Schneider wrote:
>
> > Description of Problem:
> >
> > A typical Struts based web site might be configured
I got the same error trying running struts-example (latest nightly) on
Orion. However, other apps (struts-template, struts-test) run well for me.
Example seemed loaded on server startup with some extra message about
"...1.0_dtd".
Here's my server startup log...
D:\orion>java -jar orion.jar
New
Hi all,
We are using Struts 0.5 in an application which runs under Jrun 3.0.
The ApplicationResources.properties was always found in the
directory /WEB-INF/libs which is automatically added to the classpath by
Jrun.
Now that we have updated using Struts 1.0 (the ni
Title: AW: Problems with example app, and cookie & match tests, in WebLogic 5.1
Hi Seth,
I'm using Orion 1.3.8 and Struts 0.5.
I just figured out, that I additionally to the 2 steps you have mentioned
also configured the server.xml file in the config directory.
I have entered there an entr
please correct me if i'm wrong, but i believe this is accomplished in the
following manor:
you submit to, or go directly to a simple page that displays your
"processing..." message. that page has a meta refresh tag (or it could even
be javascript for that matter) that redirects to the page/servl
>the mail-archieve is crowded with Struts / Weblogic problems.
>WL seems to have different problems with Struts.
>As I've switched over to Orion Appserver, I've never had the same problems
>again.
That's very interesting... when I tried the latest nightly build of struts
w/ Orion 1.4.0, I still g
Fault was bad ant documentation.
Cheers,
Laird
--
W: [EMAIL PROTECTED] / P: [EMAIL PROTECTED]
http://www.amherst.edu/~ljnelson/
Good, cheap, fast: pick two.
To get tomcat integrated with Apache you will need to do the following:
1) Make sure you have added your context(s) to server.xml.
2) start tomcat
3) review the mod_jk.conf-auto file, it should be very close to what you
want. I had to add these lines to each context using struts:
JkMount /mycon
Title: AW: Problems with example app, and cookie & match tests, in WebLogic 5.1
Hi John,
the mail-archieve is crowded with Struts / Weblogic problems.
WL seems to have different problems with Struts.
As I've switched over to Orion Appserver, I've never had the same problems
again.
Mike
Craig:
thanks for your reply; actually, I undertood it the way your are
describing the behavior but what I can't understand is why every time I add
new paths in a Struts 0.5 app I have to update both files. Should be enought
updating action.xml?
What i'm doing is extending the example app
This is probably a FAQ.
I've read the installation instructions for Struts. I've installed a
binary version of ant1.2 properly. I've installed a binary version of
xalan-1.2.1 properly.
The main build of struts gets to the first
WL has major problems with Web Apps (among other things). Supposedly the
next service pack (7) will take care of some of these issues.
Steve...
-Original Message-
From: John Raley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 11:27 PM
To: Struts
Subject: Problems with e
Great ! Did Duane Fields (WDJSP) contact you ? He indicated that he had a
much
more comprehensive package that he had written for a client
that he would donate to struts.
Originally, I had the token tied in with the standard hidden field
name. I was going to rework the code into a better form, so
Yep, that was it!
I was using the xml file which I used in the 0.5 release - re-ordering the
file cured the problem.
Many Thanks - Kevin
> -Original Message-
> From: Dave Harms [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 15, 2000 10:23 PM
> To: [EMAIL PROTECTED]; Dave Harms
>
Hi all,
I have some lengthy actions (triggered by form submission)
and would like to display a standby message (or page) to the
user. Could someone give me a hint how I should do this with
Struts ?
--
Matthias mailto:[EMAIL PROTECTED]
45 matches
Mail list logo