Antwort: Re: unsafe path error

2001-01-25 Thread michael . brohl
Hello Joshua, the path shown in the error message must be constructed by Tomcat/Struts itself. There isn't any explicit drive in any of the configuration files. I got a hint from Daniel Bauert who tells me to check the path and folder names bacause they are case sensitive. In fact, my

Struts V1.0 and JRun 3.0

2001-01-25 Thread Santschi Oliver
Does anybody has (bad) experience with JRun 3.0. The struts example 0.5 worked properly. And now, the example 1.0 is not working anymore... Regards Oliver

AW: Struts V1.0 and JRun 3.0

2001-01-25 Thread Oliver . Lauer
Hi, you have to fix several changes in your sources see http://jakarta.apache.org/struts/release.html or http://jakarta.apache.org/struts/userGuide/index.html concerning 1.0. Oliver -Ursprngliche Nachricht- Von: Santschi Oliver [mailto:[EMAIL PROTECTED]] Gesendet am: Donnerstag, 25.

why struts-config.xml AND action.xml

2001-01-25 Thread michael . brohl
Hello, going through the struts example I wonder why there is an action.xml and a struts-config.xml because there are many equal entries (action-mappings). Thank you for the explanation in advance. Regards Michael

AW: why struts-config.xml AND action.xml

2001-01-25 Thread Oliver . Lauer
Hi, those two, I guess, are more or less redundant while action.xml is depreciated and has a different syntax and dtd. I used struts-config.xml within the example and this one worked. Oliver -Ursprngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet am:

i18n and weblogic 6.0

2001-01-25 Thread Van der Auwera Koen
hello I developped a struts-application (using i18n) on tomcat 3.2 and it works fine. Now I got it running on Weblogic 6.0 but I got a problem though: In the jsp's I use the struts-tag bean:message key="menu.search" / So I should get on my screen "Search" but instead I get "\nSearch". Any

Antwort: AW: why struts-config.xml AND action.xml

2001-01-25 Thread michael . brohl
Hi, so in fact I only have to concentrate on on of these configuration files? Would be nice to read that in the documentation or have I missed something? Regards Michael [EMAIL PROTECTED] am 25.01.2001 11:30:41 Bitte antworten an [EMAIL PROTECTED]

AW: Antwort: AW: why struts-config.xml AND action.xml

2001-01-25 Thread Oliver . Lauer
See http://jakarta.apache.org/struts/userGuide/building_controller.html#config Oliver -Ursprngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet am: Donnerstag, 25. Januar 2001 11:26 An: [EMAIL PROTECTED] Betreff: Antwort: AW: why struts-config.xml AND

type attribute in struts-config.xml

2001-01-25 Thread Howard Moore
I've noticed that the 'type' attribute of 'action-mappings', 'form-beans' and 'global-forwards' elements in struts-config.xml is ignored (in the 2122 build). Is this likely to be fixed for version 1.0? --- Howard Moore Senior Software Engineer

RE: Where are the *.tlds ?

2001-01-25 Thread Hines, Bill
I'm always pleasantly surprised when I look, and as of a few seconds ago there are 909 subscribers to STRUTS-USER (!!). There are 450 on STRUTS-DEV. Yes, and the number of messages here daily often exceeds that of JSP_INTEREST! And more importantly, the messages and discussions here tend to

RE: RE: no 'application' init parameter for ActionServlet causes NullPoin terException in struts:errors / ??

2001-01-25 Thread perry . tew
Martin, Thanks for the response. That's sort of the same conclusion I came to. If that's the way it needs to be, that's fine. I like the design of the resource file. I just skipped it in the interest of getting my first example working with as little as possible. Craig Company: Prehaps

Re: struts example Exception

2001-01-25 Thread Rob Leland
java.lang.NoClassDefFoundError My guess is that is unable to find one of your class referenced in your jsp file. This could be a custom tag or a java class. Double check your class paths. -Rob

Re: why struts-config.xml AND action.xml

2001-01-25 Thread Rob Leland
It is confusing. If you are starting a new application then use struts-config.xml and delete action.xml. The action.xml was originally used with struts 0.5, after that struts-config.xml was created which replaces action.xml. It is only left in the example application since struts 1.0 will still

RE: unable to get validation on jsp

2001-01-25 Thread Byomakesh Parida
hi i am unable to rectify these error if it's known to u please let me know. the error is by which i am unable to get the validation part. 500 Internal Server Error /mm/BoxAction.do: javax.servlet.ServletException: Exception thrown processing JSP page. java.lang.IncompatibleClassChangeError:

RE: FormTag problem

2001-01-25 Thread Howard Moore
If I understand it correctly, I don't think your modified tag works in all cases. If, for example, you have a web-application called testApp and a logon form at; http://someHost/testApp/admin/logon.do the ActionMapping defined in struts-config.xml must have a path attribute of "/admin/logon"

RE: Post without getting new page? -- RE: Handling refresh in a web based application

2001-01-25 Thread Andrew Boyko
can you just do a simple data post to the server from a web browser (form, link, or any DOM event etc) without causing the browser to expect/display new pages from the server? For instance, when the state at the client side has changed (e.g., the user changed the content in a form,

Invalid Path plague

2001-01-25 Thread Peter Doyle
Hi, Part of my application involves the user filling in multiple forms as part of a wizard. I'm having trouble with paths. My forms are not in my web app root they are in a sub directory. I've followed the struts example as a basis for this application but I cannot satisfy the action mappings

re: FormTag problem

2001-01-25 Thread Chris Smith
The problem is because the action in the jsp form tag is being used for two purposes - for the generated HTML and for looking up the ActionMapping. If you have the directory path in the form tag and modify FormTag.java so it doesn't strip it out, struts will generate the HTML page for you.

Re: Where are the *.tlds ?

2001-01-25 Thread Craig R. McClanahan
"Hines, Bill" wrote: I'm always pleasantly surprised when I look, and as of a few seconds ago there are 909 subscribers to STRUTS-USER (!!). There are 450 on STRUTS-DEV. Yes, and the number of messages here daily often exceeds that of JSP_INTEREST! And more importantly, the messages and

Re: AW: HtmlTag - locale

2001-01-25 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: Hi Craig, it seems to me that you've written the spec. and SUN and I didn't read it till the end :-) ! Well, I'm one of the participants in the expert group on the servlet 2.3 and JSP 1.2 specs, and my "day job" is implementing them (in Tomcat 4.0) -- I almost, but

Re: AW: JDBC Connection Pooling

2001-01-25 Thread Dzenan Ridjanovic
Look at the following example: http://drdb.fsa.ulaval.ca:8080/membership05/doc/membership05.html Ted Husted wrote: Depending on what you are trying to do, you may want to setup a new servlet from scratch. The GenericDataSource is in the Utilities package, and may also be used outside of

Re: Examples in Code

2001-01-25 Thread Dzenan Ridjanovic
Look at the examples in http://drdb.fsa.ulaval.ca:8080/dr/html/struts/membership/index.html Ted Husted wrote: On 1/25/2001 at 12:48 PM [EMAIL PROTECTED] wrote: An example in code would be really nice :-), although I'm happy to help out in that regard. Thanks for mentioning that! I've

Jsp Compilation question. (Want to load Jsp's from my own location=database)

2001-01-25 Thread Johan Compagner
Hi, My JSP files are stored in a database because it should be possible to change the jsp pages on the fly without deploying a complete new war file and/or shutting down the application server. And it must be possible to upload those jsp pages through our maintenance web pages of our

Re: Handling refresh in a web based application

2001-01-25 Thread Craig R. McClanahan
ron talk wrote: Hi all, is there anyway to determine whether a repeated http request has been generated through a - click on the refresh button on a browser - through clicking the back button a the browser and re-clicking the link/button generating the initial request I am

Re: Nested and indexed attributes with the latest builds?

2001-01-25 Thread Craig R. McClanahan
Kevin Wang wrote: Just wondering whether anyone has successfully used nested/indexed attributes in Struts. Sample codes? It's not very pretty or elegant, but the pages in the "struts-test.war" application include some code that uses these sorts of attributes. Thanks. Craig

Re: new template tag framework

2001-01-25 Thread Ted Husted
On 1/25/2001 at 11:42 AM Craig R. McClanahan wrote: It certainly won't be added to 1.0 at this point. For 1.1, I'm certainly open to cool additions, and will be looking at this one closely. The coolest addition would be one that actually leveraged the Struts framework, the way some of the

RE: new template tag framework

2001-01-25 Thread Deadman, Hal
Doesn't this Components extension leverage the struts framework? It basically just extends the struts ActionServlet. It then provides a component tag library that is backwardly compatible with struts template tags. I just modified a few files in my rather small web application to use the

localization

2001-01-25 Thread Justin Kennedy
Hi all, I'm creating an administrative web application using struts. The application needs to change locales in different parts of the same page. I'm having trouble accomplishing this. I'm using struts 0.5 with tomcat 3.2.1 and jdk 1.3 I have three files in my

configuring database connection pool

2001-01-25 Thread Steve A Drake
Hello. I'm trying to configure Struts to instantiate a database connection pool using the ifxjdbc.jar driver for the Informix Dynamic Server (7.2). So far, I'm getting exceptions at startup. I also get an exception when I try to obtain a DB connection. Any help would be appreciated! Note that

Re: configuring database connection pool

2001-01-25 Thread Craig R. McClanahan
It looks like the Informix JDBC driver is throwing an exception when you call setReadOnly(true) on one of its connections. Could you try that in a standalone program and see what happens, and also what happens if you call setReadOnly(false)? Craig Steve A Drake wrote: Hello. I'm trying

RE: localization

2001-01-25 Thread Scott Sayles
% java.util.Locale locale = new java.util.Locale("fr", "CA"); session.setAttribute("localeKey", locale); % There is probably a way to handle this within the existing Struts API, but in reference to this particular mechanism your attempting... The "localeKey" should actually be set to

Re: configuring database connection pool

2001-01-25 Thread Steve A Drake
On Thu, 25 Jan 2001, Craig R. McClanahan wrote: It looks like the Informix JDBC driver is throwing an exception when you call setReadOnly(true) on one of its connections. Could you try that in a standalone program and see what happens, and also what happens if you call setReadOnly(false)?

RE: localization

2001-01-25 Thread Scott Sayles
Just as an after thought, if you intend on displaying multiple languages within a page, one way to handle this could be to instantiate seperate resource bundles with each using a different locale and then make these available as application or session scope objects. It would be fairly easy to

Re: Post/re-post problems

2001-01-25 Thread Elod Horvath
Bear wrote: Craig, At 10:28 AM 1/24/2001 -0800, you wrote: * Tell my users "deal with it -- this is a web application, not a web site, and the URL that you see is totally irrelevant." I'm perfectly comfortable with this regarding the displayed URL. But what about the refresh

RE: localization

2001-01-25 Thread Justin Kennedy
Thanks for the input Scott. I did what you initially said and it works fine. Basically, the "Administrator" of this application will choose the locale he wants to use before "Adding new data". Picture an Admin app where Shipping carriers and services have to be entered into the system for each

Re: new template tag framework

2001-01-25 Thread Wong Kok Wai
Another approach that's worth considering is the portlet concept in JetSpeed (http://jakarta.apache.org/jetspeed). The added advanatge is it allows the user to customise the layout themselves (a cheap form of personalisation). It certainly won't be added to 1.0 at this point. For 1.1, I'm

workaround for weblogic5.1 cast exception

2001-01-25 Thread renzo estrella
I made the struts-example struts-documentation demo apps work by doing the following 2 steps: 1. For cast exception added this section to web.xml: context-param param-nameweblogic.jsp.precompile/param-name param-valuetrue/param-value /context-param 2. For missing resource

Weblogic 5.1 and Struts 1.0, Classpath question

2001-01-25 Thread rhayden
Well, After much frustration the past few nights I have finally managed to get the Struts 1.0 example application to work on WL5.1. The majority of my problems had to do with the classpath, which I never thought could be so irritating (Thierry Cools suggested not to put struts.jar in the

RE: workaround for weblogic5.1 cast exception

2001-01-25 Thread rhayden
I get the same errors as well (except for the cast exception, I haven't encountered this one... yet). All the test pages execute successfully except for the following 3 which generate the following errors: I am not sure if this is useful, but Craig said "try to break it" so here you go :)

Re: Weblogic 5.1 and Struts 1.0, Classpath question

2001-01-25 Thread renzo estrella
This may be caused by the cast exception problem: MessageTag code first gets tries to get the MessageResources from servletContext.getAttribute() It then cast the object returned to MessageResources this failure may be leading to your problem so I would suggest you try including

Re: Weblogic 5.1 and Struts 1.0, Classpath question

2001-01-25 Thread Harit Nanavati
Just did that .. sturts.jar extracted. directory in WL classpath war file extrected. deleted starts.jar from lib directory added the addtional precomple lines in web.xml All the jsp compiles without problem. But same error again !!.. Missing resources attribute org.apache.struts.action.MESSAGE

Re: Weblogic 5.1 and Struts 1.0, Classpath question

2001-01-25 Thread renzo estrella
I was using the struts 0.5 examples I did not unjar the main struts.jar file, I left that in the lib directory. Instead I unjarred the struts-example.war file modified the web.xml for the struts-example demo. Weblogic5.1 doesn't seem able to read ResourceBundles from a *.war file. I

RE: Weblogic 5.1 and Struts 1.0, Classpath question

2001-01-25 Thread rhayden
Harit, 2) Do not unjar-the-war, or struts.jar :) 1) Do not put struts.jar in the weblogic classpath... Here is my output from wlconfig: WebLogic startup settings are presently: CLASSPATH Prefix c:\weblogic\lib\weblogic510sp8boot.jar;c:\java\xerces-1_2_3\tools\xerces.jar CLASSPATH