Re: Template -struts-template and generated HTML / templating using PUSH model

2001-03-28 Thread Cedric Dumoulin
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

Re: Template -struts-template and generated HTML / templating using PUSH model

2001-03-28 Thread Christophe Vigny
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

RE: Template -struts-template and generated HTML / templating using PUSH model

2001-03-28 Thread Vincent Harcq
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

Can I nest struts:message tag in struts:link tag?

2001-03-28 Thread JeanX
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)

Connection to Oracle 8i datasource

2001-03-28 Thread suresh
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

JavaScript in Struts

2001-03-28 Thread Tewathia, Atul
Title: JavaScript in Struts How do I perform javascript validation in struts pages ??

RE: Installing Struts using WebLogic 6.0

2001-03-28 Thread Brian J. Dainton
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:

Removing ActionForm's from context

2001-03-28 Thread Joel Shellman
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

Re: Template -struts-template and generated HTML / templating using PUSH model

2001-03-28 Thread Maya Muchnik
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

RE: Actions and Session Beans

2001-03-28 Thread Hines, Bill
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

Bug in tomcat or the JDK (testing it on 1.2.2)

2001-03-28 Thread Johan Compagner
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

RE: Bug in tomcat or the JDK (testing it on 1.2.2)

2001-03-28 Thread Young, Wayne
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

RE: Bug in tomcat or the JDK (testing it on 1.2.2)

2001-03-28 Thread Szlapa, Michael
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

Re: Removing ActionForm's from context

2001-03-28 Thread Jean-Noel Ribette
- 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

Re: Removing ActionForm's from context

2001-03-28 Thread Joel Shellman
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

Iterate tag problem- can't find properties in the Collection elements

2001-03-28 Thread rhayden
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

RE: The Continuing Misadventures of Struts in WebSphere - VICTORY!!!!!!!

2001-03-28 Thread Assenza, Chris
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

Pooling with Oracle database

2001-03-28 Thread Rafal Zakrzewski
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"

Struts in WebSphere - VICTORY !!!!!!! - Addendum

2001-03-28 Thread Assenza, Chris
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:

please help!

2001-03-28 Thread See Yam Lim
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

RE: Bug in tomcat or the JDK (testing it on 1.2.2)

2001-03-28 Thread Kyle Robinson
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

Why no body allowed in jsp:getProperty or bean:write?

2001-03-28 Thread Joel Shellman
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

Re: Initial security check

2001-03-28 Thread dhay
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

problem using weblogic 6 and struts 1.0

2001-03-28 Thread Nanduri, Amarnath
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

RE: problem using weblogic 6 and struts 1.0

2001-03-28 Thread Laine Donlan
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

RE: problem using weblogic 6 and struts 1.0

2001-03-28 Thread Nanduri, Amarnath
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

RE: please help!

2001-03-28 Thread Iraklis Kourtidis
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

Re: Bug in tomcat or the JDK (testing it on 1.2.2)

2001-03-28 Thread Johan Compagner
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

Re: Initial security check

2001-03-28 Thread Martin Cooper
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:

RE: Struts and j2ee.jar

2001-03-28 Thread Keith Kee
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

html:errors, how to keep html out of messages?

2001-03-28 Thread Phillip Rhodes
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!

REPOSTED: html:image tag altKey - work or not?

2001-03-28 Thread Maya Muchnik
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

Re: Internationalised 'alt' text

2001-03-28 Thread Maya Muchnik
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

RE: Template -struts-template and generated HTML / templating using PUSH model

2001-03-28 Thread Assenza, Chris
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

CreateProcess

2001-03-28 Thread Will Spies/Towers Perrin
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

struts and cocoon

2001-03-28 Thread Ali Ozoren
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!

Re: html:errors, how to keep html out of messages?

2001-03-28 Thread Martin Cooper
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

Re: Struts in WebSphere - VICTORY !!!!!!! - Addendum

2001-03-28 Thread Ted Husted
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/

using struts in a load-balanced environement

2001-03-28 Thread Doug Wright
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

How to redirect to the input jsp page from the formbean's validate method instead of populating ActionErrors.

2001-03-28 Thread Suriyanarayanan, Senthil Kumar
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

RE: using struts in a load-balanced environement

2001-03-28 Thread Kurt Olsen
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

ActionForward and Frames

2001-03-28 Thread Sean Giles
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

Whats the point of html:radio and html:hidden

2001-03-28 Thread Mindaugas Idzelis
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"

Re: Initial security check

2001-03-28 Thread Craig R. McClanahan
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()

Re: Removing ActionForm's from context

2001-03-28 Thread Craig R. McClanahan
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

RE: using struts in a load-balanced environement

2001-03-28 Thread james . webster
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

Re: Pooling with Oracle database

2001-03-28 Thread Craig R. McClanahan
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

RE: using struts in a load-balanced environement

2001-03-28 Thread Craig R. McClanahan
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

Fun with bean:define

2001-03-28 Thread Martin Cooper
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

Re: ActionForward and Frames

2001-03-28 Thread Craig R. McClanahan
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

Re: html:errors, how to keep html out of messages?

2001-03-28 Thread David Winterfeldt
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

Re: ActionForm with no default constructor

2001-03-28 Thread Martin Cooper
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

RE: Pooling with Oracle database

2001-03-28 Thread malcolm davis
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

init'ing a session bean in Action

2001-03-28 Thread G.L. Grobe
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

unsuscribe

2001-03-28 Thread Per Gustafsson