Re: [INVITATION] Velocity-Struts integration

2001-04-16 Thread Incze Lajos
I'm really happy with this, me myself was on this move. My motivation was simple. In my application I have to manufacture form-based files, so needed a general purpose template engine. So, I started to stare tea and velocity as template engines capable rendering not only web pages but fill-in

Re: Logon Dialog

2001-04-02 Thread Incze Lajos
On Sun, Apr 01, 2001 at 11:48:02AM +0100, James Bell wrote: All I have protected my struts application with the following directives from the web.xml file for the application (see below). This works fine. The browser displays a popup alert requesting the authentication info. I have left

Re: Opening files, relative paths

2001-04-02 Thread Incze Lajos
On Mon, Apr 02, 2001 at 11:48:42AM -0500, Allen Walker wrote: What I'm doing is this: java.io.File xmlfile = new java.io.File (path_to_file). Problem is, I don't know how to specify the var path_to_file other than the absolute path. I find the relative path to be /jakarta-tomcat/bin, but

Re: dropdown values gone after validation error

2001-03-29 Thread Incze Lajos
On Thu, Mar 29, 2001 at 10:49:24AM -0600, Young, Wayne wrote: I have the following struts/JSP fragment that creates a dropdown with values from the networkTypes attribute. html:select styleClass="Field" property="networkType" size="1" html:options property="networkTypes"/

Re: standard administrative actions?

2001-03-29 Thread Incze Lajos
On Thu, Mar 29, 2001 at 10:34:47AM -0500, Maring, Steve wrote: I understand what the end result of these do, but how do they do them, and how are they used? Do they modify the struts-conf.xml or just the ActionMapper? Just the later.icnze

Re: java.lang.IllegalStateException: Can't happen - classname is null , who added this ?

2001-03-29 Thread Incze Lajos
On Thu, Mar 29, 2001 at 09:46:15AM -0500, Szlapa, Michael wrote: Every now and then I get the following exception: Location: /poc/ Internal Servlet Error: java.lang.IllegalStateException: Can't happen - classname is null, who added this ? ... To be precise it happens when I navigate back

Re: forward in struts-config.xml file

2001-03-29 Thread Incze Lajos
During the demo i noticed that i get a 404 error when trying to reach this page (which is as it should be). I want to keep an indefined state page to these. My problem is that i don't want to write the 'undefined.jsp' in each You can specify an 404 handler page for the servlet engine

Re: exception handling

2001-03-21 Thread Incze Lajos
On Wed, Mar 21, 2001 at 02:23:38PM -0800, s l wrote: Is there a way to catch exceptions throw in bean's getter methods (so we don't have to see the stack trace on web page)? __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail.

Re: Getting Locale from a non-struts servlet

2001-03-13 Thread Incze Lajos
I would be pleased if I would be able to specify a default local in web.xml for struts (as an init parameter). All the other ways can be late to override the system/servlet-engine default locale. (E.g. if you use the servlet container's authentication the user can enter at many different places

Re: problem with using redirect tag

2001-03-12 Thread Incze Lajos
How come the 'amp;' is append after the '' ? "amp;" is the html encoded "". incze

[From the jakarta-taglib list:] [PROPOSAL] custom tag library extension for ultradev]

2001-03-05 Thread Incze Lajos
I've forwarded this as experianced some interest on the list in respect to Dreamweaver.incze - Forwarded message from Dan Mandell [EMAIL PROTECTED] - Date: Mon, 5 Mar 2001 06:09:12 -0800 To: [EMAIL PROTECTED] From: Dan Mandell [EMAIL PROTECTED] Subject:

Re: Admin actions

2001-03-03 Thread Incze Lajos
On Sat, Mar 03, 2001 at 02:52:53PM +0100, Johan Compagner wrote: This would be very nice but remember that the struts-config.xml sits inside the war file And you don't have any control over it then. Some containers extract it (like tomcat) others work directly in it. And maybe other extract

Re: Nested tags don't work. What alternatives are there?

2001-03-03 Thread Incze Lajos
On Fri, Mar 02, 2001 at 04:53:58PM -0800, Richard D. LeCour wrote: Here's some examples of what I'd like to do: template:put name='some.name' content='bean:message key="some.message"/' direct='true'/ Especially this case is resolvable: template:put name="some.name" bean:message

Re: HTTPClient vs java.net.URLConnection

2001-03-02 Thread Incze Lajos
On Thu, Mar 01, 2001 at 06:22:36PM -0600, Eric wrote: I was using HTTPClient, but I then switched to the com.mortbay.HTTP library (it comes with one of their products or something i believe). I forget why I did so, but I think it had something to do with limitations in dealing with filenames

Re: Servlet 2.2 Authentication

2001-03-02 Thread Incze Lajos
On Fri, Mar 02, 2001 at 12:38:30PM +0100, Marcello Teodori wrote: I would like to use standard a Servlet 2.2 standard authentication scheme with struts adding a domain where to authenticate the user, has anyone already done this? thanx It is independent from struts. With tomcat I had

Re: Why should you call JSP pages directly?

2001-03-02 Thread Incze Lajos
I have had quite a few problems relating to this kind of thing - if you setup your login page as the "welcome" page, or indeed if the user accesses the login page directly, the container has no way of knowing where to go next after submitting the name and password to the j_security_check.

Article on struts

2001-03-02 Thread Incze Lajos
Yet another article on Struts. You won't believe it ...

Article on struts

2001-03-02 Thread Incze Lajos
And now, something completly different: the URL: http://www.sys-con.com/java/archives/0603/mcclanahan/

Re: Passing a bean property to template:put tag

2001-03-01 Thread Incze Lajos
On Thu, Mar 01, 2001 at 10:37:29AM -0500, Mike Bell wrote: Hello, Is there a way to pass a bean property to a template:put content? I've tried using a bean:write... in the content parameter but it just passes it straight through (with or without direct set). I've also tried: bean:define

Re: PROPOSAL: Template Screens

2001-02-28 Thread Incze Lajos
On Wed, Feb 28, 2001 at 01:18:54PM -0700, David Geary wrote: I see template screens as a first step towards Cedric's Components. Template screens provide the foundation necessary for Components: Programmatically defining screens. Slightly off-topic but relates to the template tags. I've

Re: html:image tag border attribute?

2001-02-28 Thread Incze Lajos
On Wed, Feb 28, 2001 at 01:59:59PM -0600, [EMAIL PROTECTED] wrote: Shouldn't there be a "border" attribute for the html:image tag? Or is it there and I overlooked it? As I see struts is tied to the strict HTML 4.01 DTD which does not have this attribute. You are supposed to use CSS for

Re: How does nested syntax in property attribute work

2001-02-28 Thread Incze Lajos
On Tue, Feb 27, 2001 at 06:15:05PM -0600, Shamdasani Nimmi-ANS004 wrote: Hi, In some of the e-mails I have seen nested syntax being used for property attribute, e.g., html:text property="mailingAddress.street"/ what does that mean? Is it that the getMailingAddress() method of the bean

Re: Base tag question

2001-02-27 Thread Incze Lajos
I thought target was part of the spec. In looking at the spec on www.w3c.org, the following page specifically mentions the target attribute: http://www.w3.org/TR/html4/struct/links.html#edef-BASE However, the DTD does not mention the target attribute so I'm a bit confused. I have my

Re: struts-example - handle of ServletException

2001-02-27 Thread Incze Lajos
On Tue, Feb 27, 2001 at 12:07:15PM -0500, Maya Muchnik wrote: Hi, Do you have any ideas how registration.jsp file (struts-example) can be changed to handle a situation when a user call it directly. I do not "like" a SevletException to be displayed: Error: 500 Location:

Re: :80 in URL of Links generated in example app

2001-02-26 Thread Incze Lajos
On Mon, Feb 26, 2001 at 05:34:46PM -0800, Craig R. McClanahan wrote: Rick Smith wrote: Well, I take that back, too. They are just coded differently but both append the :80. Maybe I have a problem with mod_jk. That seems much more likely. A way to prove it (one way or the other) would

Re: can I move struts.jar?

2001-02-19 Thread Incze Lajos
On Mon, Feb 19, 2001 at 04:16:55PM -0600, Qiqi Dong wrote: I have a problem need help. I have many webapps. Everytime I update struts.jar, I have to do it for every WEB-INFs, it's . I tried to place the struts.jar in Tomcat's lib, got the following. Is there a way to have just one copy of

Re: Struts on IBM websphere

2001-02-16 Thread Incze Lajos
On Fri, Feb 16, 2001 at 06:39:30PM +, [EMAIL PROTECTED] wrote: Hi all, I got to know Struts framework recently. I was greatly influenced by this design pattern. I am planning to implement it in my project. However i have a few queries. a. I have to deploy and test my web

Re: template-example and i18n

2001-02-12 Thread Incze Lajos
Instead of using the Name \'Template\' of the page I thought it would be nice to look up this value using the bean:message tag. How shall one do this? I have, newbie as I\'m to jsp and tag libraries, tried template:put name=\'title\' content=bean:message key=\"page.title\"/

Re: ActionForward: scope of modifications?

2001-02-03 Thread Incze Lajos
On Wed, Jan 31, 2001 at 12:31:00PM -0800, John Raley wrote: I didn't do a thorough walk through the source, but it appears that if I modify an ActionForward returned from an ActionMapping passed to Action.perform I am changing global state in struts. Is this correct? Correct. So, you should

Re: html:errors and property attribute

2001-01-31 Thread Incze Lajos
On Thu, Feb 01, 2001 at 09:30:52AM +1100, [EMAIL PROTECTED] wrote: In the code I have (2000-01-19) neither of the ErrorsTag classes in org.apache.struts.taglib.html or org.apache.struts.taglib.form have methods to support the property attribute. Am I missing somthing on this one?

Re: problem building from cvs

2001-01-09 Thread Incze Lajos
trying trax trying xslp trying xalan I think you need one of these XSLT processors. I recommend the recent xalan (just because it works for me - you find it at xml.apache.org). incze

Re: problem building from cvs

2001-01-09 Thread Incze Lajos
On Tue, Jan 09, 2001 at 06:04:52PM -0700, john d ware wrote: Thanks for the note Craig, I build ant from the cvs sources with no trouble. The optional.jar built here contains no Liaison class. I downloaded optional.jar, from ant 1.2 and in it are these 2 liaison classes:

Struts article in Javaworld

2000-12-05 Thread Incze Lajos
FYI: http://www.javaworld.com/javaworld/jw-12-2000/jw-1201-struts_p.html incze

File upload taglib doesn't compile under tomcat 3.2

2000-11-09 Thread Incze Lajos
This error comes from compiling the newly submitted upload tag library: I think uses a servlet 2.3 method, so it should be replaced by some equivalent legal 2.2 solution. - [javac] Compiling 6 source files to /p/import/build/struts/library/classes [javac]

Re: File upload taglib doesn't compile under tomcat 3.2

2000-11-09 Thread Incze Lajos
On Thu, Nov 09, 2000 at 04:34:03PM -0500, Schachter, Michael wrote: Oh, and getTempDir() is in ActionServlet, no 2.3 stuff in there to my knowledge. Don't know, but neither ActionServlet contains this method nor any of it's ancestors (in 2.2/1.1). That's why I thought that this build was

Re: File upload taglib doesn't compile under tomcat 3.2

2000-11-09 Thread Incze Lajos
On Thu, Nov 09, 2000 at 05:46:22PM -0500, Schachter, Michael wrote: Incze, In the most recent cvs version of ActionServlet, located here: http://jakarta.apache.org/cvsweb/index.cgi/jakarta-struts/src/share/org/apac he/struts/action/ActionServlet.java I see the getTempDir() method.