Re: TAG-File for Dreamweaver

2000-11-16 Thread Thierry Cools
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

Re: encodeURL tag

2000-11-16 Thread Pierre Métras
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

Re: encodeURL tag

2000-11-16 Thread Martin Cooper
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

Re: Install failing with ClassNotFound for XalanLiaison

2000-11-16 Thread Mike Williams
On Fri, 17 Nov 2000 01:33, Laird Nelson wrote: > The main build of struts gets to the first

Context and path resolution

2000-11-16 Thread Nikolaus Rumm
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

TAG-File for Dreamweaver

2000-11-16 Thread Nikolaus Rumm
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

Re: Using buttons for forwarding

2000-11-16 Thread Pierre Métras
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

Using buttons for forwarding

2000-11-16 Thread Nikolaus Rumm
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

RE: multipart requests

2000-11-16 Thread Schachter, Michael
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:

RE: multipart requests

2000-11-16 Thread Schachter, Michael
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

RE: HowTo: Display a standby page/message for lenghty actions

2000-11-16 Thread Stephen Earl
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

multipart requests

2000-11-16 Thread Sayles, Scott SAXONHQ
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

multipart requests / request attributes and forwarding

2000-11-16 Thread Sayles, Scott SAXONHQ
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

Re: tomcat integrated with apache, struts-example

2000-11-16 Thread Lefty Burgess
[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

RE: Need some help with struts-config.xml

2000-11-16 Thread Immanuel, Gidado-Yisa
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

encodeURL tag

2000-11-16 Thread Pierre Métras
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

RE: RE: HowTo: Display a standby page/message for lenghty

2000-11-16 Thread ggalli
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

RE: ApplicationResources in Struts 1.0

2000-11-16 Thread Kevin Wang
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

Form bean initialization: can reset() get called by ?

2000-11-16 Thread Andrew Boyko
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

Re: ApplicationResources in Struts 1.0

2000-11-16 Thread Craig R. McClanahan
"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

Re: Install failing with ClassNotFound for XalanLiaison

2000-11-16 Thread Craig R. McClanahan
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

Re: Difference between action.xml & struts_config.xml

2000-11-16 Thread Craig R. McClanahan
"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

How can i display dynamic list of check box in my jsp.

2000-11-16 Thread Pool Singh
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

Re: tomcat integrated with apache, struts-example

2000-11-16 Thread hogemark
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

Minimalistic example

2000-11-16 Thread Rajkumar, Joseph
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

Re: *.jsp "back door" issue

2000-11-16 Thread Craig R. McClanahan
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

Re: includeTag struts 0.5

2000-11-16 Thread Dan Finkelstein
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

Need some help with struts-config.xml

2000-11-16 Thread Matthias Kerkhoff
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

localeized include

2000-11-16 Thread Aur Gal
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

Re[2]: HowTo: Display a standby page/message for lenghty actions

2000-11-16 Thread Matthias Kerkhoff
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])

RE: *.jsp "back door" issue

2000-11-16 Thread Colin Sampaleanu
> -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

RE: Problems with example app, and cookie & match tests, in WebLogic 5.1

2000-11-16 Thread Kevin Wang
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

ApplicationResources in Struts 1.0

2000-11-16 Thread Rautenberg, Stefan
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

AW: Problems with example app, and cookie & match tests, in WebLogic 5.1

2000-11-16 Thread Laufer, Michael
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

RE: HowTo: Display a standby page/message for lenghty actions

2000-11-16 Thread Chris Wilson
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

RE: Problems with example app, and cookie & match tests, in WebLogic 5.1

2000-11-16 Thread Seth Ladd
>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

Struts install problem fixed

2000-11-16 Thread Laird Nelson
Fault was bad ant documentation. Cheers, Laird -- W: [EMAIL PROTECTED] / P: [EMAIL PROTECTED] http://www.amherst.edu/~ljnelson/ Good, cheap, fast: pick two.

Re: tomcat integrated with apache, struts-example

2000-11-16 Thread Mike La Budde
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

AW: Problems with example app, and cookie & match tests, in WebLogic 5.1

2000-11-16 Thread Laufer, Michael
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

RE: Difference between action.xml & struts_config.xml

2000-11-16 Thread Ansaldo, Gaston
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

Install failing with ClassNotFound for XalanLiaison

2000-11-16 Thread Laird Nelson
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

RE: Problems with example app, and cookie & match tests, in WebLogic 5.1

2000-11-16 Thread Stephen Earl
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

Re: *.jsp "back door" issue

2000-11-16 Thread Robert Leland
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

RE: Problem with DTD on latest build

2000-11-16 Thread Kevin Gibbs
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 >

HowTo: Display a standby page/message for lenghty actions

2000-11-16 Thread Matthias Kerkhoff
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]