Re: Inside WEB-INF or ourside WEB-INF? Struts security.

2002-04-19 Thread Victor Hadianto
On Fri, 19 Apr 2002 08:20, you wrote: Most sample apps have the jsp pages and images outside the WEB-INF. Why? Isn't it more secure inside? Not all web container supports files inside the WEB-INF. Tomcat does. -- Victor Hadianto --- Blore's Razor: Given a choice between two

RE: double messages from struts-user?

2002-04-19 Thread Ida Dørum
I have the same problem, but it doesn't happen with all postings. i. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 18. april 2002 18:02 To: [EMAIL PROTECTED] Subject: double messages from struts-user? I'm getting two email messages for every posting to

How can I get an image on the html:file tag button?

2002-04-19 Thread Antony Stace
Hi Can someone please tell me how I can use a graphic button with the html:file tag, currently I have something like html:form method=POST enctype=multipart/form-data html:file property=theFile / /html:form but want to have a button with a graphic on if for the select file button.

Problem setting Charset

2002-04-19 Thread Tom Goeames
Hi! I'm having problems setting the correct charset of my pages. I'm using struts 1.0.2 on BEA weblogic 6.1 sp2 In the web.xml i have set the 'content' init parameter of the actionservlet to 'text/html; charset=UTF-8;'. All the pages are generated correctly. But the problem is that the

RE: Urgent Websphere and location of Struts-Config.xml file

2002-04-19 Thread Moritz Petersen
you can put the server into servlet 2.2 compliance mode in the adminconsole. -mo. -Original Message- From: subhendukumar mohanty [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 4:04 PM To: Steven Banks; [EMAIL PROTECTED] Subject: RE: Urgent Websphere and location of

AW: Problem setting Charset

2002-04-19 Thread Punetha, Alkesh
Hi! If your are using jsp try jsp tag for the charset. It works %@page language=Java contentType=text/html; charset=UTF-8% -Ursprüngliche Nachricht- Von: Tom Goeames [mailto:[EMAIL PROTECTED]] Gesendet: Friday, April 19, 2002 12:20 PM An: [EMAIL PROTECTED] Betreff: Problem setting

Re: What does anyone know about this book.

2002-04-19 Thread Peter Pilgrim
Never heard of it. I saw another book yesterday by the very same Mr Goodwill about JSP and Tag Libraries. Part Tag Library implementation and part reference of Jakarta Tags and a bit on JSTL. Instead I bought Java Web Service David A Chappell, Tyler Jewell Oreilly. I am trying to cut down on

RE: Inside WEB-INF or outside WEB-INF? Struts security.

2002-04-19 Thread Galbreath, Mark
All web containers MUST support files inside WEB-INF by specification. As for JSP files, some containers, like Tomcat, considers them controller component Java classes (servlets) and places them in the WEB-INF/class directory by default. Others, like JRun, consider JSPs view components (they

RE: How can I get an image on the html:file tag button?

2002-04-19 Thread Galbreath, Mark
I wrote my own tag to do this. If anyone's interested, I'll post the code - it's quite simple. Mark -Original Message- From: Antony Stace [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 4:12 AM To: [EMAIL PROTECTED] Subject: How can I get an image on the html:file tag button?

RE: Caching in IE

2002-04-19 Thread Phase Web and Multimedia
Well, what I am looking for is simple. I want my pages to pass through the controller. But, when IE caches a page it brings up the cached page and completely bypasses the controler(Action). I have enabled the no-cache mechanism in struts. But, it still seems to happen. The only way I've been able

RE: Caching in IE

2002-04-19 Thread Dariusz Wojtas
Don't know if it will help with newest IE, but it worked for me some time ago, when I experienced similar problem. response.setHeader(Cache-Control,no-store, no-cache, must-revalidate, post-check=0, pre-check=0); //HTTP 1.1 response.setHeader(Pragma,no-cache); //HTTP 1.0

Re: How can I get an image on the html:file tag button?

2002-04-19 Thread Antony Stace
Thanks mark, I am interested, please post the code. Cheers Antony On Fri, 19 Apr 2002 05:33:42 -0400 Galbreath, Mark [EMAIL PROTECTED] wrote: I wrote my own tag to do this. If anyone's interested, I'll post the code - it's quite simple. Mark

combo box selection

2002-04-19 Thread francois . geraerts
Hi , I've got this error when i want transmit the selection of a combo box: L'erreur est survenue sur la requête 'POST' à l'URL http://localhost/SKDBS/ProjSKDBS/resultat.jsp. 19-avr.-02 11:44:26 Information de l'exception com.sssw.shr.http.AgoServletException

Re(2): Caching in IE

2002-04-19 Thread waldemar . cleenewerck
i can only agree with you more -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: How can I get an image on the html:file tag button?

2002-04-19 Thread Stephen . Thompson
I would be interested in this also, Thanks. Stephen. -Original Message- From: Antony Stace [mailto:[EMAIL PROTECTED]] Sent: 19 April 2002 10:40 To: Struts Users Mailing List Subject: Re: How can I get an image on the html:file tag button? Thanks mark, I am interested, please post

Mark's Custom Button Tag

2002-04-19 Thread Galbreath, Mark
Here ya go! My Friday gift to the list. Just modify were obvious (like package name, class name, etc.) to suit your environment. I hope this posts without getting too mangled by the mail server. -- Usage: maintenance:Button label=Confirm width=%= buttonWidth % style=Acc

RE: Caching in IE

2002-04-19 Thread Bill Page
Don't know if the other servlet containers support this but we use JRun and it appears to have helped perhaps solved this problem with an entry in web.xml: web-app welcome-file-listwelcome-file/index.jsp/welcome-file/welcome-file-lis t session-config

RE: Example App for Struts?

2002-04-19 Thread Struts Developer
True. What I really want is someone to hold my hand and lead me through the entire development process, pointing out along the way all the pitfalls and dangers. They should code all the sticky bits and know everything there is to know about my environment, software, legacy apps, and they

RE: Example App for Struts?

2002-04-19 Thread Galbreath, Mark
:-) Me too. (build.xml attached - it does just about everything, but you'll have to, of course, customize it for your environment.) Mark -Original Message- From: Struts Developer [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 7:55 AM To: [EMAIL PROTECTED] Subject: RE: Example

Struts with WAP+HTML projects

2002-04-19 Thread abhishek srivastava
Hello All, Apologies for posting this again. If you had replied to my question could you please re-send your post to my email address directly ([EMAIL PROTECTED]). Because of my mistake in seting up rules for my mail client all mails from this mailing list were getting deleted.

Re: Re(2): Caching in IE

2002-04-19 Thread Struts Developer
rant:peeve What is the point of using a mail client that threads messages when others are using clients that number their responses to a posting? It is hard enough to monitor a list that regularly generates 100+ messages a day, without having to sift through the message subjects looking for

RE: Struts with WAP+HTML projects

2002-04-19 Thread Todd G. Nist
Hello Abhishek, You may want to take a look at the following: http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-strutsxslt.html Struts for transforming XML with XSL (stxx) by By Jeff Pennal, OpenRoad Communications http://www.openroad.ca/opencode/stxx/index.html

RE: Re(2): Caching in IE

2002-04-19 Thread Galbreath, Mark
Your end tag would throw an XMLException. ;-) -Original Message- From: Struts Developer [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 8:10 AM To: [EMAIL PROTECTED] Subject: Re: Re(2): Caching in IE rant:peeve What is the point of using a mail client that threads messages

RE: logic:equal within logic:iterate

2002-04-19 Thread Bill Page
something like this? logic:iterate name=DisplayJobBriefForm property=skillList id=list type=JobBriefSkillBean tr tdbean:write name=list property=name//td % if(list.getRequiredInd().equalsIgnoreCase(dgApplication.SKILL_IS_REQUIRED_AL L_REQS)) out.println(td +

RE: Inside WEB-INF or ourside WEB-INF? Struts security.

2002-04-19 Thread Leonardo Maciel
Maybe because they are just samples. -Original Message- From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 6:21 PM To: [EMAIL PROTECTED] Subject: Inside WEB-INF or ourside WEB-INF? Struts security. Most sample apps have the jsp pages and images

Re: logic:equal within logic:iterate

2002-04-19 Thread Ric Searle
That looks fine, except I don't really like having Java code in my JSP pages, and I thought that that was what the logic:equal tag was supposed to do. Ric On Friday, April 19, 2002, at 02:19 pm, Bill Page wrote: something like this? logic:iterate name=DisplayJobBriefForm

PropertyDescriptor: internal error while merging PDs

2002-04-19 Thread Hoang, Hai
Do you have any ideas what this error mean? I was trying to use the html:select and html:option tags. I've check everything but I can not find anything. Any helps is appreciated. prejavax.servlet.ServletException: PropertyDescriptor: internal error while merging PDs: type mismatch between

Passing parameters

2002-04-19 Thread Bhaskar Gopalan
Hi, I am going to a jsp(A) from two different jsps(B,C). Now, when I click 'save' on A I want to go back to B or C, .i.e. to where I came from. I send the source as a request parameter which is visible in action class of A. Now, when I am done, can i pass the source thru mapping.findForward()?

RE: Passing parameters

2002-04-19 Thread Leonardo Maciel
use a flag variable in the form -Original Message- From: Bhaskar Gopalan [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 10:09 AM To: Struts Group (E-mail) Subject: Passing parameters Hi, I am going to a jsp(A) from two different jsps(B,C). Now, when I click 'save' on A I want

Internationalization and html:submit

2002-04-19 Thread Diego Parrilla
Hi, we are developing an application that uses the i18n capabilities of Struts, and we have found a problem trying to use this capability with the html:submit For instance, if we use in our JSP pages: html:submit property=action value=Accept html:submit property=action value=Cancel then

Computer-programmer.org tutorial...

2002-04-19 Thread Craig Tataryn
Fear not! I had to move over the weekend and thus the webserver that held the computer-programmer struts tutorial is down. I'll bring her back up sometime today and send out an email. Thanks, tataryn:craig status=tired of moving/ Craig W. Tataryn Programmer/Analyst Compuware

DynaActionForm problem with non-string objects

2002-04-19 Thread Frederico Schuh
I'm using some DynaActionForms, but some of them require more complex objects with nested fields, and not only Strings as fields. The problem is that I can only seem to set my objects as null, and it causes problems in the JSPs. Consider this example, taken from struts-config.xml: form-bean

Re: logic:equal within logic:iterate

2002-04-19 Thread Ric Searle
Many thanks, changed the scope of my logic:equal tag and it works perfectly. Ric On Friday, April 19, 2002, at 03:39 pm, Joachim Martin wrote: Hi- I'm not on the Struts list, but I noticed your email on the archive. The id defined by an iterate tag is _page_ scoped, you are looking for

RE: Passing parameters

2002-04-19 Thread Witbeck, Shane
you could do something like this in your action: String forwardPath = /action/Blah?source= + sourceValue; return new ActionForward(forwardPath, true); // which sets redirect=true OR return new ActionForward(forwardPath); // which is redirect=false Sincerely, Shane Witbeck

Re: Computer-programmer.org tutorial...

2002-04-19 Thread Craig Tataryn
Alright, server is back up. Made the IP changes with my registrar so in 24 hours everyone should be able to see the struts tutorial at: http://www.computer-programmer.org/articles/struts/ If you can't wait that long, you can go here for the time being: http://24.82.162.176/articles/struts/

Re: Iterate update

2002-04-19 Thread @Basebeans.com
Subject: Re: Iterate update From: JDavids [EMAIL PROTECTED] === So I did this in bean: public void setFstName (String[] names) { int j = names.length; System.out.println(XXX in set[]+j); for (int i=0; ij; i++){

Re: Computer-programmer.org tutorial...

2002-04-19 Thread Craig Tataryn
P.P.S. The server may go up/down at some point today as I get it all setup. Craig. From: Craig Tataryn [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Computer-programmer.org tutorial... Date: Fri, 19 Apr 2002 09:47:20 -0500 Alright,

RE: Passing parameters

2002-04-19 Thread Frederico Schuh
You could also return a new ActionForward object passing the parameters you want. I don't think it works with mapping.findForward(). --- Leonardo Maciel [EMAIL PROTECTED] escreveu: use a flag variable in the form -Original Message- From: Bhaskar Gopalan [mailto:[EMAIL PROTECTED]]

RE: Caching in IE

2002-04-19 Thread Phase Web and Multimedia
I guess in the end we are performing coding voodoo. Then we look surprised when our client tells us it is not working and we say, Hmmm, I didn't have that problem. It must be your browser. Then move on to a different subject. Brandon Goodin -Original Message- From: Galbreath, Mark

Re: Iterate update

2002-04-19 Thread Arron Bates
Read my first paragraph again, a little more slowly this time :) Arron. Struts Newsgroup (@Basebeans.com) wrote: Subject: Re: Iterate update From: JDavids [EMAIL PROTECTED] === So I did this in bean: public void setFstName (String[] names) { int j = names.length;

Getting client IP address from HTTP request

2002-04-19 Thread Struts Developer
I'm sure that there is a web site/manual/e-mail thread I'm not finding that explains how I go about getting the client workstation IP address from the incoming HTTP request. I need this in my Action class. If any one could share the location of this information I would greatly appreciate it.

RE: Inside WEB-INF or outside WEB-INF? Struts security.

2002-04-19 Thread Micael Padraig Og mac Grene
Thank you for the response, but it is not responsive to the question I asked, I think. My question was: Most sample apps have the jsp pages and images outside the WEB-INF. Why? Isn't it more secure inside? So, where the servlets are ultimately put is not the

RE: Getting client IP address from HTTP request

2002-04-19 Thread Galbreath, Mark
String ip = request.getRemoteAddr(); Mark -Original Message- From: Struts Developer [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 12:20 PM To: [EMAIL PROTECTED] Subject: Getting client IP address from HTTP request I'm sure that there is a web site/manual/e-mail thread I'm

RE: Inside WEB-INF or outside WEB-INF? Struts security.

2002-04-19 Thread Galbreath, Mark
I thought I answered that. If you have nothing that can execute outside WEB-INF, what does security matter? Mark -Original Message- From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 12:32 PM To: Struts Users Mailing List Subject: RE: Inside

Missing ReloadAction is 1.0.2

2002-04-19 Thread Dave Weis
Has org.apache.struts.actions.ReloadAction been intentionally removed/depreciated? I have 1.0.2 from the download site. It's still in the javadocs but it's not in my jar file anywhere. I did have it on an older version of struts, however. Will it be coming back? Also, is there a similar thing

RE: Caching in IE

2002-04-19 Thread Trieu, Danny
set nocache to true for the init param of your action servlet. -Original Message- From: Antony Stace [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 5:55 PM To: Struts Users Mailing List Subject: Re: Caching in IE On Thu, 18 Apr 2002 16:05:16 + SUPRIYA MISRA [EMAIL

*.do ---- Proof of Concepts

2002-04-19 Thread K J
Say I have a web application which contains 1 JSP and I wanted to use Struts. I don't have any action classes, but I want to use the controler servelt and the taglib. Will the *.do work only when you have action classes? What would this entry look like if I only want the Controler servelt to

Re: *.do ---- Proof of Concepts

2002-04-19 Thread Marcelo Vanzin
Make a small action that only redirects to its input when the perform() method is called, e.g.: return new ActionForward(mapping.getInput()); Then use it in all you action mappings in the config file, changing the input attribute to the desired JSP. K J wrote: Say I

RE: *.do ---- Proof of Concepts

2002-04-19 Thread Joseph Barefoot
Marcelo is exactly correct, and here's an expansion of his explanation showing a sample struts-config: ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.0//EN

RE: *.do ---- Proof of Concepts

2002-04-19 Thread K J
So what you guys are saying is that it won't work without the action class? instead of *.do, can I just put *.* or *.jsp ? i.e. !-- Action Servlet Mapping -- servlet-mapping servlet-nameaction/servlet-name url-pattern*.*/url-pattern /servlet-mapping I'm trying to see if I can do

Friday Action Mapping

2002-04-19 Thread Galbreath, Mark
action-mappings action path=/_1056_Benfield_Blvd type=really.great.sports.bar.withAction name=TheStripedUniForm scope=after_4pm forward name=success path=/checkout/theBlonde/atTheBar.jsp / forward name=error

Re: *.do ---- Proof of Concepts

2002-04-19 Thread K J
wow, i didn't know that. i thought since i had this mapping entry(below) in my web.xml, all the requests to the jsp would get intercepted by the ActionServlet! !-- Action Servlet Mapping -- servlet-mapping servlet-nameaction/servlet-name url-pattern*.*/url-pattern /servlet-mapping I

RE: *.do ---- Proof of Concepts

2002-04-19 Thread Greg.Reddin
I beleive you are correct. Do you have a form bean that is being populated? If not, and the taglib is useful to you without the controller, is there any reason for you to use the controller in this case? A controller doesn't really buy you anything if you have no business logic to invoke and

RE: *.do ---- Proof of Concepts

2002-04-19 Thread Manish-Hirapara
Struts has a class org.apache.struts.actions.ForwardAction that will probably fill your need. In your web.xml, you can leave the default *.do configuration as is. In your struts-config.xml, add the following action (in the actionmappings section), and replace the 'parameter' with the jsp file

Re: *.do ---- Proof of Concepts

2002-04-19 Thread Marcelo Vanzin
K J wrote: i thought since i had this mapping entry(below) in my web.xml, all the requests to the jsp would get intercepted by the ActionServlet! !-- Action Servlet Mapping -- servlet-mapping servlet-nameaction/servlet-name url-pattern*.*/url-pattern /servlet-mapping

How can i turn on debug for org.apache.commons.validator

2002-04-19 Thread Parmar, Dipakkumar
I'm having problem with validator, so before ask to list i would like to try myself to find what's going wrong. For this i would like to turn on debug for validator. i tried setting debug level 0 in ActionServlet mapping in web.xml but didn't help. Any help? Regards, Deepak -- To unsubscribe,

RE: How can i turn on debug for org.apache.commons.validator

2002-04-19 Thread Galbreath, Mark
I have debug set to 10 and it is working all too well in JRun. Mark -Original Message- From: Parmar, Dipakkumar [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 3:18 PM To: Struts Users Mailing List Subject: How can i turn on debug for org.apache.commons.validator I'm having

To use form-based authentication or not to.

2002-04-19 Thread jfc100
Hi, What are the factors involved in selecting form-based authentication over, say, custom authentication which can be simple to implement based on a db of registered users who have or don't have an indicator stored in their session(representing a login)? An example of custom

RE: To use form-based authentication or not to.

2002-04-19 Thread Tero P Paananen
What are the factors involved in selecting form-based authentication over, say, custom authentication which can be simple to implement based on a db of registered users who have or don't have an indicator stored in their session(representing a login)? One factor to favor form based

RE: Friday Action Mapping

2002-04-19 Thread James Mitchell
global-exceptions exception key=global.error.too.far.to.Travel path=/apologies/cannot/makeit.jsp scope=request handler=will.toast.you.a.drink.from.Here type=InvalidCityException/ /global-exceptions JM -Original Message- From:

RE: How can i turn on debug for org.apache.commons.validator

2002-04-19 Thread Parmar, Dipakkumar
This will also turn on debug for other packages in struts. I want to just turn on debug for only org.apache.commons.validator. Is there anything i can control from my log4j property file? Deepak -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19,

RE: How can i turn on debug for org.apache.commons.validator

2002-04-19 Thread Galbreath, Mark
Sorry, man...I'm not up on log4j yet. Mark -Original Message- From: Parmar, Dipakkumar [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 4:13 PM To: Struts Users Mailing List Subject: RE: How can i turn on debug for org.apache.commons.validator This will also turn on debug for

RE: How to have two form fields populate the labelProperty of the options tag?

2002-04-19 Thread Ady Das-O'Toole
Rick - you could use the label-value method to construct your options list, this way you set up your labels as a combination of both first and last name from their respective bean properties. If you do go this route, do a search for label-value beans in this archive, I remember seeing a

Re: How to have two form fields populate the labelProperty of the options tag?

2002-04-19 Thread Jim Crossley
The easiest thing would be to include another accessor on the beans in your collection, a la: public String getFullName () { return getLastName()+, +getFirstName(); } Your 'labelProperty' attribute then becomes fullName. -- Jim Rick R [EMAIL PROTECTED] writes: (first, I apologize

Re: How can i turn on debug for org.apache.commons.validator

2002-04-19 Thread Marcelo Vanzin
Parmar, Dipakkumar wrote: Is there anything i can control from my log4j property file? Only if you are using 1.1 beta. -- []'s Marcelo Vanzin Touch Tecnologia [EMAIL PROTECTED] Life is too short to drink cheap beer -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: How can i turn on debug for org.apache.commons.validator

2002-04-19 Thread Witbeck, Shane
Im just guessing but maybe something like this? log4j.category.org.apache.commons.validator=ALL Sincerely, Shane Witbeck __ Developer, Bank of America email: [EMAIL PROTECTED] phone: 904.987.1688 -Original Message- From: Parmar, Dipakkumar

RE: How to have two form fields populate the labelProperty of the options tag?

2002-04-19 Thread Galbreath, Mark
Here's an example: html:select property=[bean_property] styleId=[html_identifyer] logic:iterate name=%= [path_to_bean]% property= [returned key-value object] type=org.apache.struts.util.LabelValueBean id= [some_arbitrary_unique_id]

RE: Internationalization and html:submit

2002-04-19 Thread James Mitchell
I can think of 4 ways I might approach this: 1. Have you thought about using different actions to determine which button was pushed? Example: html:form action=/terms/accept html:submit bean:message key=terms.accept/ /html:submit /html:form html:form action=/terms/cancel html:cancel

RE: *.do ---- Proof of Concepts

2002-04-19 Thread Robert
Actually, you can use .do without actions. This snippet is from a demo app that we have: action name=searchCustomer path=/searchCustomer forward=/searchCustomer.jsp / where the url would be searchCustomer.do and there are no actions and no formbeans for the resulting page (searchCustomer.jsp).

RE: *.do ---- Proof of Concepts

2002-04-19 Thread Joseph Barefoot
Ya don't say? Thanks for the info., I had no idea you could do that. Joe Barefoot -Original Message- From: Robert [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 2:00 PM To: 'Struts Users Mailing List' Subject: RE: *.do Proof of Concepts Actually, you can use .do

Re: *.do ---- Proof of Concepts

2002-04-19 Thread Marcelo Vanzin
Robert wrote: action name=searchCustomer path=/searchCustomer forward=/searchCustomer.jsp / where the url would be searchCustomer.do and there are no actions and no formbeans for the resulting page (searchCustomer.jsp). Interesting, I did not know this. But, you say that no

RE: *.do ---- Proof of Concepts

2002-04-19 Thread Galbreath, Mark
If you don't want to use a bean, omit the name, but you will need a path to map to the HTML form. Mark -Original Message- From: Marcelo Vanzin [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 5:09 PM To: Struts Users Mailing List Subject: Re: *.do Proof of Concepts Robert

RE: *.do ---- Proof of Concepts

2002-04-19 Thread Robert
Mark made a good point about omitting the name. I double checked with another app we wrote and I left the name in the tag, but it didn't cause any 'harm'; again no beans or actions. You are correct that many tags won't work without using formbeans, such as the html:form tag (unless it's

RE: How can i turn on debug for org.apache.commons.validator

2002-04-19 Thread Parmar, Dipakkumar
No. It didn't help. It's displaying messages from all packages, even if i set debug level 0 in web.xml file. -Original Message- From: Witbeck, Shane [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 4:40 PM To: [EMAIL PROTECTED] Subject: RE: How can i turn on debug for

RE: 1001st time this question gets asked

2002-04-19 Thread Shawn Catoe
With the same set up, just the slashes added to the action's path attribute, input attribute, and on the form tag attribute, I am getting the same error. Anyone have any other thoughts on this? Thanks, Shawn Catoe !-- Process a login. -- actionpath=/login

Re: Internationalization and html:submit

2002-04-19 Thread Chuck Cavaness
Although I'm not real found of this action, I would look at the org.apache.struts.actons.LookupDispatchAction. This is a pre-built action that can be used exactly for what you are trying to do. Chuck At 04:30 PM 4/19/2002 +0200, you wrote: Hi, we are developing an application that uses the

RE: 1001st time this question gets asked

2002-04-19 Thread Galbreath, Mark
Your form action should match your action path. The action path is arbitrary - you can call it anything, and as long as your form action matches it, it will map. Mark -Original Message- From: Shawn Catoe [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 5:32 PM To: Struts Users

Re: 1001st time this question gets asked

2002-04-19 Thread Jim Crossley
Shawn Catoe [EMAIL PROTECTED] writes: With the same set up, just the slashes added to the action's path attribute, input attribute, and on the form tag attribute, I am getting the same error. Anyone have any other thoughts on this? Thanks, Shawn Catoe !-- Process a login. --

Validator help

2002-04-19 Thread Parmar, Dipakkumar
Hi, I'm having really hard time to figure out why the validator is not working. Here is the summary what i did: 1. I tried to produce debug/error messages for org.apache.commons.validator but no luck. (see thread How can i turn on debug for org.apache.commons.validator) 2. I override

Re: *.do ---- Proof of Concepts

2002-04-19 Thread Marcelo Vanzin
Robert wrote: Mark made a good point about omitting the name. I double checked with another app we wrote and I left the name in the tag, but it didn't cause any 'harm'; again no beans or actions. I knew about omitting the name, I just found strange that in your example earlier you

Re: 1001st time this question gets asked

2002-04-19 Thread Jim Crossley
Jim Crossley [EMAIL PROTECTED] writes: form action=/login.action method=get name=loginForm That won't work. For the above action, your jsp should contain this: html:form action=/login If you insist on not using struts tags, the equivalent is this: form action=/YourWebAppName/login.do

RE: Validator help

2002-04-19 Thread Honman Lee
I am having issues with my validation too. Did you initialize the validator in the web.xml file? -Original Message- From: Parmar, Dipakkumar [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 2:48 PM To: Struts Users Mailing List Subject: Validator help Hi, I'm having really

RE: Validator help

2002-04-19 Thread Parmar, Dipakkumar
I don't think so i need to initialize the validator in the web.xml file if i use 1.1b1. I did plug In Configuration for validator in my struts-config.xml. Please see my original message. Deepak -Original Message- From: Honman Lee [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002

RE: *.do ---- Proof of Concepts

2002-04-19 Thread Robert
An error of cut and pasting config info :-) That example did have the name, but it really didn't have a form bean in use. -Original Message- From: Marcelo Vanzin [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 4:49 PM To: Struts Users Mailing List Subject: Re: *.do Proof of

FormBean changes not recognized across actions

2002-04-19 Thread C D
Hi, I am having a problem with the following flow would appreciate any help on it JSP(1) - StrutsAction(2) mapping.findForward() from struts_config.xml(3) - Struts Action(4) Any properties that I set on the form bean(request scope) at step 2 are not reflected in the form bean at

RE: Validator help

2002-04-19 Thread Honman Lee
Can anyone help? I am trying to use the validation with Struts 1.0 and I get this message javax.servlet.jsp.JspException: Can't get definitions factory from context. s1.struts.taglib.component.InsertTag$TagHandler

Re: FormBean changes not recognized across actions

2002-04-19 Thread Danny Mui
I had that exact issue earlier this week. The form is reset when passed over to the new action(4) and repopulated from the request so that removes all the changes. At least that's what I convinced myself with looking over the source. You can do the same since it's only java ;) I love open

null in html on validation

2002-04-19 Thread Team Gasoline
Hello -- I'm having a problem with errors being surrounded by null on my page after validation. Here is a snippet of the html when i view source of the page through the browser. tr th align=right User Name: /th td align=left input type=text name=username

Re: How can i turn on debug for org.apache.commons.validator

2002-04-19 Thread @Basebeans.com
Subject: Re: How can i turn on debug for org.apache.commons.validator From: Matt Raible [EMAIL PROTECTED] === Here's what I've done and it seems to work in my log4j.properties file: # These appear to be categories hard-coded in packages

Re: Passing JavaScript variable to a Java Scriptlet on a JSP page

2002-04-19 Thread @Basebeans.com
Subject: Re: Passing JavaScript variable to a Java Scriptlet on a JSP page From: Matt Raible [EMAIL PROTECTED] === #2 can be done much easier using one of the Javascript Remote Scripting libraries out there. www.ashleyit.com has a good one. On 4/17/02 8:36 PM, in article [EMAIL PROTECTED],