RE: Struts Action in Welcome File List

2003-07-30 Thread Swaroop George
I got this problem sometime back.. But apparently it was a problem with one of the html tags- it wasn't properly closed. To detect it what I did was to Get a view Source on the blank page. Saved it as a .XML file. Opened the XML file in the browser. It showed exactly where the tag wasn't closed..

Newbie :rendering hidden fields

2003-07-30 Thread Jitesh Sinha
How do you render an input hidden field inside a logic:iterate tag ..?? Actually here is what my code looks like : logic:iterate id=mybean name=formbean property=collectionofmybeans bean:write name=mybean property=aPropertyOfmybean -- Here I want to put my hidden field like this--- html:hidden

Re: Newbie :rendering hidden fields

2003-07-30 Thread Nagendra Kumar O V S
hi, logic:iterate id="mybean" name="formbean" property="collectionofmybeans"bean:write name="mybean" property="aPropertyOfmybean" bean:define id="var"name="mybean" property="aPropertyOfmybean"html:hidden

arrayList size

2003-07-30 Thread Pramod . P
Hi, I am using an arrayList (list1) inside the form bean. How do I check the size of the list (using logic:equal) in the jsp, without creating any other varibale in the form bean (to store the size)? Thanks, Pramod This electronic mail

Re: arrayList size

2003-07-30 Thread Nicolas De Loof
Use this : bean:size id=size name=myFormBean property=theArrayList / logic:equal name=size value=... ... /logic:equal Nico. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 9:39 AM Subject: arrayList size Hi, I am using an

Re: arrayList size

2003-07-30 Thread Pramod . P
Thank you very much!! Konstadinis Euaggelos

Re: arrayList size

2003-07-30 Thread Pramod . P
Thank you !! It is working now! Nicolas De Loof

Re: Unable to compile

2003-07-30 Thread Max Cooper
The modified in the future errors might be due to a change in your system's clock or having the wrong time or wrong timezone offset in your system settings. It looks like there might be other problems, but bad modification times on files can definitely mess up a build so I would fix that first.

Ready-made Struts components?

2003-07-30 Thread Jussi Koiranen
Hello, Does anyone know from where to look for ready-made Struts component packages? I haven't particular need, I am interested about all kind of components, like menuing system, tree component etc. Open source project or commercial product, no matter. I have done some intensive searching, but

Problem with redisplay of form values when issuing error messages

2003-07-30 Thread Rodney Paul
Hi All, I am currently using the Struts MVC2 framework to develop a wizard application. Upon reading the literature in regards to how Struts works, I noticed that my application will does not re-display form values entered by the user if errors are issued. Is it possible to re-display form

Struts with JRun4

2003-07-30 Thread Samanth Athrey
Hi, Has anybody successfully deployed struts with JRun4? Are there any documents? Let me know. Regards, Samanth - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Problem with redisplay of form values when issuing error messages

2003-07-30 Thread Navjot Singh
it WILL redisplay the form with filled values. say, you submit a filled form, some data was wrong, the same form will be displayed WITH filled-in values. navjot |-Original Message- |From: Rodney Paul [mailto:[EMAIL PROTECTED] |Sent: Wednesday, July 30, 2003 2:09 PM |To: Struts Users

RE: Struts with JRun4

2003-07-30 Thread PREETAM Balijepalli
Hey there is nothing diffuclt in struts with Jrun -Original Message- From: Samanth Athrey [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 2:13 PM To: [EMAIL PROTECTED] Subject: Struts with JRun4 Hi, Has anybody successfully deployed struts with JRun4? Are there any documents?

RE: Problem with redisplay of form values when issuing error messages

2003-07-30 Thread Rodney Paul
Hi Navjot, In my application this does not happen. I have tried many things to make it work, but simply it does not work. I dont know why this is the case, as I am using the standard Struts framework. I am using however a special Action class known as LookupDispatchAction. Cheers Rodney

Re: Struts 1.1 and Tiles

2003-07-30 Thread Siva
I feel you need to specify the tiles processor in the struts-config. Please add the following line in your struts-config.xml file controller processorClass = org.apache.struts.tiles.TilesRequestProcessor/ Siva Oliver Reflé wrote: Hi fellows, At the moment I am working on tiles. But I have

AW: Struts 1.1 and Tiles

2003-07-30 Thread Oliver Reflé
I added the line buit i still got the same error -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Siva Gesendet: Mittwoch, 30. Juli 2003 10:55 An: Struts Users Mailing List Betreff: Re: Struts 1.1 and Tiles I feel you need to specify the tiles

Re: AW: Struts 1.1 and Tiles

2003-07-30 Thread Siva
r u able to access .basic.layout ?? Oliver Reflé wrote: I added the line buit i still got the same error -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Siva Gesendet: Mittwoch, 30. Juli 2003 10:55 An: Struts Users Mailing List

AW: AW: Struts 1.1 and Tiles

2003-07-30 Thread Oliver Reflé
I found the error :( It was my netbeans. It added name.jsp.jsp to my jsp names. This was why it didn't work. Sorry for that. Olli -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Siva Gesendet: Mittwoch, 30. Juli 2003 11:06 An: Oliver Reflé Cc:

RE: Ready-made Struts components?

2003-07-30 Thread Imran Bohoran
The struts site has a link for the utilities. http://jakarta.apache.org/struts/resources -Original Message- From: Jussi Koiranen [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 2:28 PM To: Struts Users Mailing List Subject: Ready-made Struts components? Hello, Does anyone know

Re: Newbie :rendering hidden fields

2003-07-30 Thread Gabriel Guerreiro
Use it just like bean:write html:hidden name=mybean property=aPropertyOfmybean/ I use it a lot. Jitesh Sinha wrote: How do you render an input hidden field inside a logic:iterate tag ..?? Actually here is what my code looks like : logic:iterate id=mybean name=formbean

Re: Transaction Token

2003-07-30 Thread Joshua White
And if the token is not valide, do you redirect them to an error page? manglu [EMAIL PROTECTED] wrote: The Trans token is fairly SImple Before a form is sent to the User in your action class make a saveToken(request) call. When the form is displayed on the client side there is a token

SSLEXT

2003-07-30 Thread Nagendra Kumar O V S
SSLEXT really works great for me when i switch from "http" to "https". Well when i am in https mode i submit a form as post methods, however the subsequent page is not secured. Obviously the action redirects to http mode, that is ok with me but it appends the

Re: Struts with JRun4

2003-07-30 Thread Michael Nascimento Santos
Yes. Believe it or not, I have a mission critical application running with JRun 4, Struts 1.1, JSTL 1.0 and other APIs right now and it works pretty well, I would say. JRun has a few issues with its EJB container and transactions, but that has nothing to do with your question :-P []s Michael

DispatchActions - using form validation for only some methods

2003-07-30 Thread Paul McCulloch
Hi, I've just moved to using dispatch actions from my own implementation of something similair to relay actions. One facility my implementation gave me was to have the form validated when some actions were called, and not validated for other actions (at the expense of a bloated

Uploading a file to server using struts

2003-07-30 Thread bhanu sistla
Hi All, I have an urgent requirement. Has any body have the code how to upload a file to server using struts frame work. Regards Bhanu - Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger

AW: Problem in using Validator Framework with Struts

2003-07-30 Thread Dirk Behrendt
Hello! I found the problem. I poited to a wrong DTD... Thanx! Dirk -Ursprüngliche Nachricht- Von: Stephan Wiesner [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 30. Juli 2003 06:58 An: Struts Users Mailing List Betreff: Re: Problem in using Validator Framework with Struts Hi Dirk, did

Validator Framework: Can not evaluate regular expression

2003-07-30 Thread Dirk Behrendt
Hello! I want to check login and password fields. If I submit with empty textfields, the errors are shown correct ( required). But my regular expression was ignored. (see code below). What is necessary to check regular expressions? Dirk Struts-config.xml - form-bean

RE: Uploading a file to server using struts

2003-07-30 Thread Suresh Addagalla
You can use this code in your Action class after declaring a form element of type FormFile. FormFile file = (FormFile) theForm.get(theFile) ; String fileName = file.getFileName() ; int fileSize = file.getFileSize() ; if ( (fileName != null)

Visual HTML editors with Struts

2003-07-30 Thread Mike DiChiappari
Looking through the mail archives, this seems to have been an active subject. We are looking at using Struts. We'd like to take advantage of the separation of business logic and presentation. However, our designers would like to continue using their visual HTML tools - particularly Adobe

Re: Validator Framework: Can not evaluate regular expression

2003-07-30 Thread Jeff Kyser
If your code is a direct cut-n-paste, you've got an extra '' in your first regular expression? var-value^[a-zA-Z0-9_.-]*$/var-value -jeff On Wednesday, July 30, 2003, at 07:14 AM, Dirk Behrendt wrote: var-value^[a-zA-Z0-9_.-]*$/var-value

Re: Uploading a file to server using struts

2003-07-30 Thread vellosa
As part of the struts distribution there is a war file called struts-upload.war which explains just this! from:=?iso-8859-1?q?bhanu=20sistla?= [EMAIL PROTECTED] date:Wed, 30 Jul 2003 13:10:56 to: [EMAIL PROTECTED] subject: Re: Uploading a file to server using struts Hi

Re: Uploading a file to server using struts

2003-07-30 Thread Andrew Geery
There is an example upload application in the struts distribution (struts-upload.war in the webapps directory) bhanu sistla wrote: Hi All, I have an urgent requirement. Has any body have the code how to upload a file to server using struts frame work. Regards Bhanu

Re: Struts with JRun4

2003-07-30 Thread Zoran Avtarovski
We have a number of apps with struts 1.1, JSTL and JNDI. Nothing overly different to deploying on other app servers. Zoran Hi, Has anybody successfully deployed struts with JRun4? Are there any documents? Let me know. Regards, Samanth

RE: Unable to compile

2003-07-30 Thread Mainguy, Mike
If you have these errors... [javac] file org\xml\sax\helpers\DefaultHandler.class not found Make sure you have xerces.jar in your classpath Ignore the time warnings or set your clock. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003

[OT] Best super-class for context handling.

2003-07-30 Thread Simon Kelly
Hi all, Bit off topic, sorry. But. What is the recommended super class to extend for a static class that could handle URL resolving? I want to put any code from all my other classes into one single class so I don't have to keep passing the ServletContext around when a class needs to resolve an

Problem using DynaValidatorForm and html:select

2003-07-30 Thread Daniel Massie
In my form I have a html:select field with multiple=true as shown below: html:select multiple=true property=property1 logic:iterate collection=%=myTypes% id=type type=java.lang.String html:option value=%=type%/ bean:write name=type/

Re: [OT] Best super-class for context handling.

2003-07-30 Thread ian_d_stewart
There shouldn't be a need to pass the ServletContext around. Just call servlet.getServletContext() within your action. Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614) 213-6100 Simon Kelly [EMAIL PROTECTED] on

Re: [OT] Best super-class for context handling.

2003-07-30 Thread Simon Kelly
It's not for the actions (sorry I should have stated it in my original post) it's for the business logic and auxillary classes. Cheers Simon. - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 2:52 PM Subject: Re:

Re: Visual HTML editors with Struts

2003-07-30 Thread ian_d_stewart
I assume by 'visual HTML tool' you're referring to a WYSIWYG editor. In that case, any editor that supports JSP should work just fine. I don't use the abominations personally, so can't recommend one. As far as using struts w/o the custom tags, it's certainly doable, but hampering your

Help needed in Struts deployment on Weblogic 8.1

2003-07-30 Thread Navneet Saraogi
Hi, We've a application that uses Struts 1.0 Ejb's... This application is deployed on Weblogic 8.1 on a Windows XP machine... We've created an ear for the application and deployed it using the admin console... The familiar classNotFound issue has been hauting us for some time... Initially

Re: Help needed in Struts deployment on Weblogic 8.1

2003-07-30 Thread rajendra . x . yadav
This note might help: Appservers are not meant to make everything deployed on them accessible to the classpath of everything else. You still need to tell it where things lie. I'll assume that the servlet is in a WAR file, and the WAR file, in turn, is packaged in an EAR file, like this:

Lost form data after form.validate() and issuing error messages

2003-07-30 Thread Tuna Vardar
Hello, I lose all form data if validate returns error for the form input. If action goes through validation without creating of any errors, XAction works fine. ShowXAction is used to display jsp and jsp posts to XAction. Any comments? You can see the code below. cheers, tuna

Running Struts 1.0.2 in WebLogic 7.0

2003-07-30 Thread souravm
Hi All, I've deployed struts 1.0.2 in WebLogic 7.0. Now when I'm trying to access a JSP which uses Struts ActionForm I'm getting NoClassDefFoundError : - Jul 30, 2003 6:54:13 PM IST Error HTTP 101017 [ServletContext(id=460784 7,name=mizuhoapplicationweb.war,context-path=/mizuhoapp)] Root

Re: [OT] Best super-class for context handling.

2003-07-30 Thread ian_d_stewart
Ideally your business objects shouldn't know anything about the deployment environment. Not only is this good design, but it also allows you to migrate between (or support multiple) deployment environments with minimal hassle. If all you want to do is convert between relative paths and URI's,

AW: Running Struts 1.0.2 in WebLogic 7.0

2003-07-30 Thread Oliver Reflé
Hi, is the struts.jar file in the CLASSPATH of your web ? You have to copy it to WEB-INF/lib, then it should work. Oliver -Ursprüngliche Nachricht- Von: souravm [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 30. Juli 2003 15:27 An: Struts Users Mailing List Betreff: Running Struts 1.0.2

[OT] multiple contexts, one .ear.

2003-07-30 Thread Greg Dunn
I have a Struts application which uses EJB's running on JBoss/Tomcat. In some cases we have two 'clients' running the application on the same server. They can both use the same deployed .ear if it's possible for each of them to use a different .properties file, because they would need to point

Example of .ear including STRUTS and EJB on Borland Enterprise Server

2003-07-30 Thread Laurent MARQUEZ
Hi, I search sample or .ear which can be deployed on BES Including a .jar for EJB And .war using STRUTS FrameWork. Best regards, Laurent. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Running Struts 1.0.2 in WebLogic 7.0

2003-07-30 Thread rajendra . x . yadav
struts.jar should NOT be in your weblogic classpath or the classpath it reads while booting. thanks -raj souravm

html:errors/ not displaying the errors?

2003-07-30 Thread James Adams
Hello, I'm using DynaValidatorForm to check certain form fields are entered as required. The validation is done sucessfully but I've recently added somthing that seems to have stopped html:errors/ from displaying the errors? Does anyone have any suggestions why this might have happened? is

RE: Lost form data after form.validate() and issuing error messages

2003-07-30 Thread Pankaj Borgaonkar
In the input of second mapping try this /showy.do. Because after validate, you have to populate the form values again Let me know this works -Original Message- From: Tuna Vardar [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 6:58 PM To: [EMAIL PROTECTED] Subject: Lost

Re: [OT] Best super-class for context handling.

2003-07-30 Thread Simon Kelly
Ah, right. Not sure whether that's what I'm after. Here's a better explination. I am using files that are contained within the /WEB-INF/ dir within the web application to hold information required by the business logic. These files are not part of the controller or view but are required to

[OT]http to https shift

2003-07-30 Thread Ashish Kulkarni
Hi, i have a website running on tomcat and also on websphere, i want to change some submit to go using https, like the login page and some sensitive information, can anyone point to some resource, where i can get info about submiting a secured response, on tomcat and websphere Ashish

RE: DispatchActions - using form validation for only some methods

2003-07-30 Thread Bailey, Shane C.
Not sure if anybody answered you question or not yet but there are a couple things you can do... 1. Have many action mappings to one DispatchAction. action path=/a parameter=subtask type=my.Dispatch ... ... /action action path=/b parameter=subtask type=my.Dispatch ... ... /action link to each

RE: html:errors/ not displaying the errors?

2003-07-30 Thread Bailey, Shane C.
The errors tag consults a pageContext attribute (I believe in the request) which has a key of Globals.ERROR_KEY (unless you are in a module then I think the key is [Globals.ERROR_KEY + /modulename]) I guess you could start by seeing if the key exists in your JSP. -Original Message-

RE: html:errors/ not displaying the errors?

2003-07-30 Thread Bailey, Shane C.
I forgot to mention that the only time I can remember that happening is when I first when to modules and I tried making my own custom bundle for messages in my module's struts config. Error messages weren't showing up because of the custom resource bundle name in my modules. As soon as I got

RE: Struts Action in Welcome File List

2003-07-30 Thread Bailey, Shane C.
Can't you just do this: welcome-file-list welcome-file/PMTAction.do/welcome-file /welcome-file-list I do it with JRun4. Not sure if all containers will do an action instead of a JSP. -Original Message- From: Jon Wynacht [mailto:[EMAIL PROTECTED] Sent: Wednesday, July

RE: Struts Action in Welcome File List

2003-07-30 Thread Suzette Daniel
Nope this is not supported, the web.xml must map to a file. -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 9:51 AM To: 'Struts Users Mailing List' Subject: RE: Struts Action in Welcome File List Can't you just do this:

RE: DispatchActions - using form validation for only some methods

2003-07-30 Thread Paul McCulloch
I don't think I can utilise the first approach as I am always using the same action (via the html form's submit). The second approach may do the trick - though I'll have to start using the validator (rather than the default stuff in the action form). Thanks for your help, Paul -Original

Re: [OT] Best super-class for context handling.

2003-07-30 Thread ian_d_stewart
Ok. I think I see what you're trying to do. One approach would be to specify a configuration class that can be passed to the business object(s). Then within your Action class, use Struts/Servlet specific methods to construct the configuration object from your files (if you use XML to specify

RE: Problem using DynaValidatorForm and html:select

2003-07-30 Thread Bailey, Shane C.
Not sure if anybody solved you problem yet (I'm catching up on many struts emails) but change the one line in your struts config: form-property name=property1 type=java.lang.String[] / -Original Message- From: Daniel Massie [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 8:52

Re: [OT] Best super-class for context handling.

2003-07-30 Thread Simon Kelly
That's great. Thanks for your help. Cheers Simon. - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 4:09 PM Subject: Re: [OT] Best super-class for context handling. Ok. I think I see what you're trying to

RE: [OT]http to https shift

2003-07-30 Thread Amit Kirdatt
So your form resides on Websphere and you want to post it to the tomcat server? Or is it vice-versa? Can you please explain what exactly you are trying to do? -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 9:10 AM To: [EMAIL PROTECTED]

RE: [OT]http to https shift

2003-07-30 Thread Ashish Kulkarni
Hi, i have website which works on tomcat or websphere, it is dependent on the client to select anyone, so if the client is using tomcat the form will be on tomcat and will be submited on tomcat, and same will be for websphere Ashish --- Amit Kirdatt [EMAIL PROTECTED] wrote: So your form resides

RE: Multiple modules - Please help

2003-07-30 Thread Steve Raeburn
It wouldn't be (easily) possible to change ForwardAction to be configurable between context and module relative because the ActionMapping only has one parameter which is already being used to provide the path. A couple of options would be to create a second version of ForwardAction

request.getSession().invalidate() problem

2003-07-30 Thread Ionel Gardais
Hi, I am using the invalidate() method to force logout of the logged client but even after a call to this method, clients can navigate to a secured content without beeing prompt for their password. Do you know what the problem is and/or how to solve it ? thanks, ionel

RE: Problem using DynaValidatorForm and html:select

2003-07-30 Thread Daniel Massie
thanks, after changing that and the cast to String[] it works :) -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: 30 July 2003 15:32 To: 'Struts Users Mailing List' Subject: RE: Problem using DynaValidatorForm and html:select Not sure if anybody solved you

RE: [OT]http to https shift

2003-07-30 Thread Amit Kirdatt
Well in that case if you have your site running on https then the form will automatically be submitted via https. Make sure that your login page is being submitted via https (https://www.yourserver.com/login.jsp --Amit -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]

Re: Fwd: Openings in J2EE/Struts

2003-07-30 Thread K.C. Baltz
For future reference, commercial announcement emails like this one should have a subject that begins with [ANN]. This allows readers to filter traffic that is not specifically Struts related. K.C. Ajay Patil wrote: Hello, I am forwarding information about openings in J2EE/Struts in our

Re: Lost form data after form.validate() and issuing error messages

2003-07-30 Thread Tuna Vardar
Hello again, I wrote struts-config.xml wrong, the rright one is as follows: !-- -- action path=/showx attribute=XForm scope=request validate=false type=com.xxx.yyy.ShowXAction forward name=success path=/x.jsp/ /action !-- -- action path=/x name=XForm

RE: Help needed in Struts deployment on Weblogic 8.1

2003-07-30 Thread souravm
Hi Rajendra, The problem is - f I only deploy the .war of my application. It works fine. However, if I deploy the same .war within a .ear file, the error appears. Regards, Sourav -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 6:52 PM

RE: [OT]http to https shift

2003-07-30 Thread Ashish Kulkarni
Hi, this is what i need to do suppose i have a jsp login.jsp and there is a form defined in in like this html:form action=pages/login focus=userId /html:form how can i make this request go using https instead of http Ashish --- Amit Kirdatt [EMAIL PROTECTED] wrote: Well in that case if you have

Re: Lost form data after form.validate() and issuing error messages

2003-07-30 Thread Tuna Vardar
yes, it goes to execute method of ShowXAction. Pankaj Borgaonkar wrote: Did u checked that after validate is the control is going to ShowXAction this method ? -Original Message- From: Tuna Vardar [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 8:45 PM To: Struts Users Mailing

RE: [OT]http to https shift

2003-07-30 Thread Amit Kirdatt
It works automatically! You don't have to mess with anything if you make sure that the user is accessing the login.jsp page via https -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 10:24 AM To: Struts Users Mailing List Subject: RE:

Validating fields only in some situations question....

2003-07-30 Thread Todor Sergueev Petkov
Hello, I have a question : I am using Validator framework with Struts. I have a login form on my web page which is associated with 3 buttons - Login, to log the user in Reset , to reset the form fields Register, which brings the user to a new registration page I

RE: Help needed in Struts deployment on Weblogic 8.1

2003-07-30 Thread rajendra . x . yadav
the ear should know where the war is. Are you using ant ? Where you make your web app... make sure you include struts.jat in lib dir tag . thanks -raj

RE: [OT]http to https shift

2003-07-30 Thread Mounagurusamy, Jayakumar (HAL)
You can get full details of how to switch back and forth between https and http at following link, as well at the other following link you can down load the distribution. Hope this helps http://jakarta.apache.org/struts/faqs/ssl.html http://sourceforge.net/project/showfiles.php?group_id=59967

RE: Validating fields only in some situations question....

2003-07-30 Thread Suzette Daniel
I haven't tried this myself, this is directly from Ted's book Struts in Action(http://javaboutique.internet.com/resources/books/strutsAction/struts7 _2.html): html:cancel onclick=bCancel=true/ Suzette H. Daniel -Original Message- From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED]

RE: Validating fields only in some situations question....

2003-07-30 Thread Paul McCulloch
I asked pretty much the same question a few hours ago. Heres the answer I got... Not sure if anybody answered you question or not yet but there are a couple things you can do... 1. Have many action mappings to one DispatchAction. action path=/a parameter=subtask type=my.Dispatch ... ...

Re: request.getSession().invalidate() problem

2003-07-30 Thread Michael Nascimento Santos
If you are using BASIC authentication, it will never work because of the way browsers work. []s Michael Nascimento Santos JSR-207 Expert Group Member Sun Certified Programmer for the Java 2 Platform Sun Certified Programmer for the Java 2 Platform 1.4 Sun Certified Web Component Developer for

Re: request.getSession().invalidate() problem

2003-07-30 Thread Erik Price
Ionel Gardais wrote: Hi, I am using the invalidate() method to force logout of the logged client but even after a call to this method, clients can navigate to a secured content without beeing prompt for their password. Do you know what the problem is and/or how to solve it ? This only works

RE: [OT]http to https shift

2003-07-30 Thread Ashish Kulkarni
Hi I have login.jsp called from http, so need to switch to https while submiting the request Ashish --- Amit Kirdatt [EMAIL PROTECTED] wrote: It works automatically! You don't have to mess with anything if you make sure that the user is accessing the login.jsp page via https -Original

RE: [OT]http to https shift

2003-07-30 Thread Ashish Kulkarni
Hi Thanx Ashish --- Mounagurusamy, Jayakumar (HAL) [EMAIL PROTECTED] wrote: You can get full details of how to switch back and forth between https and http at following link, as well at the other following link you can down load the distribution. Hope this helps

Prob:Calling a bean:write inside html:text

2003-07-30 Thread guruprasad jakka
Hi, Even though this is a frequent question, I could not get the Exact syntax for doing it. I tried initializing a textbox from one of the earlier bean's property,by nesting the bean:write inside html:text. It is giving errors. html:text property=username value = bean:write

newbie-question: validation across multiple pages

2003-07-30 Thread Sebastian F. Martin
Hi all, I've been studying the mailing list but couldn't find anything that would help me. I'd be grateful if someone could give me a hint on this: I am collecting user input across multiple pages and validate it in the validate() method of the ActionForm. If an input field on the second or the

Re: [OT] Best super-class for context handling.

2003-07-30 Thread Craig R. McClanahan
On Wed, 30 Jul 2003, Simon Kelly wrote: Date: Wed, 30 Jul 2003 15:47:55 +0200 From: Simon Kelly [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: [OT] Best super-class for context handling. Ah, right.

RE: Prob:Calling a bean:write inside html:text

2003-07-30 Thread James Childers
YOU CAN'T NEST TAGS. YOU CAN'T NEST TAGS. You, or anyone else, cannot nest tags. Tags cannot be nested. Nesting tags is prohibited. If you nest a tag inside another tag, the page won't compile. Nesting tags ist verbotten. Do not nest tags if you want your page to work. The following won't

RE: Prob:Calling a bean:write inside html:text

2003-07-30 Thread Witbeck, Shane
hmm...someone on a rant here ;) what you want to do is something like: html:text name=yourBeanName property=yourBeanGetter/ -Original Message- From: James Childers [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 12:36 PM To: Struts Users Mailing List; [EMAIL PROTECTED]

extension + extended path info

2003-07-30 Thread Mainguy, Mike
All, I have a question about extended path info. It seems like an increasingly common way of passing additional information (action/read/update type info) to the servlet context. Is there any move to suggest this (or has it been suggested) as an improvement to the framework? It seems it

AW: Problem in using Validator Framework with Struts

2003-07-30 Thread Dirk Behrendt
Hi! No, the code was not cut and paste... Dirk If your code is a direct cut-n-paste, you've got an extra '' in your first regular expression? var-value^[a-zA-Z0-9_.-]*$/var-value -jeff On Wednesday, July 30, 2003, at 07:14 AM, Dirk Behrendt wrote:

RE: Prob:Calling a bean:write inside html:text

2003-07-30 Thread Craig R. McClanahan
On Wed, 30 Jul 2003, James Childers wrote: Date: Wed, 30 Jul 2003 11:35:53 -0500 From: James Childers [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: Prob:Calling a bean:write

Link/Forward inside error message

2003-07-30 Thread Kat Luna
Hi all, I have an error message in ApplicationResources.properties like this: error.password.expired=Your password has expired. Please go to Change Password and select a new one. However Change Password needs to be a link to the Password Management page. In the JSP, I would have put:

RE: Problems with Struts 1.1, html-el, and weblogic 6.1

2003-07-30 Thread Brendan . Johnston
I am using WebLogic 6.1 and struts I have not tried html-el. There are a few options for where you can put the libraries: 1. I have them in the lib directory under WEB-INF. 2. Another option is to put them in the classpath in startWebLogic. 3. The priority/treatment of

Displaying is easy, capturing is not..

2003-07-30 Thread Alawadhi, Mona
Hello Everyone, I wonder if someone can help me with this problem. I would appreciate any smart suggestion. I have a JSP that displays a collection (ValueObject fields) Let's call the collection ABC - it consists of 6 items. I might have more than one ABC collections to display. This can be done

RE: Help needed in Struts deployment on Weblogic 8.1

2003-07-30 Thread Richard J. Duncan
This looks like a class loading issue. In particular it sounds like your action classes are being put into the ejb.jar as well as or instead of in the .war. Make sure that: - War contains web assets + action classes and libs used by the front end (e.g., struts.jar and friends) - EJB jar

RE: Link/Forward inside error message

2003-07-30 Thread Bailey, Shane C.
It makes sense that the struts tags are done being interpreted after the error message is displayed so it won't get interpreted if in the error message. You could do something like (possibly a little modification to determine exactly which error is returned): Properties file:

Re: Displaying is easy, capturing is not..

2003-07-30 Thread atta-ur rehman
Hello Mona, is ABC is bean that has six properties that you need to show? and then you have a collection of ABC objects in a List or Vector? if so, you can use the indexed properties to capture all the changes done on the page. and yes, usually one submit button is enough for six hundred

RE: Displaying is easy, capturing is not..

2003-07-30 Thread Paananen, Tero
How can I do that using one submit button? Yes, see the discussions about indexed properties this week. That's what they're for. -TPP - This email may contain confidential and privileged material for the sole use of the

RE: Displaying is easy, capturing is not..

2003-07-30 Thread Gandle, Panchasheel
Use Map Backed Beans for that... Panchasheel -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 1:32 PM To: Struts Users Mailing List Subject: Displaying is easy, capturing is not.. Hello Everyone, I wonder if someone can help me with

RE: Displaying is easy, capturing is not..

2003-07-30 Thread Yee, Richard K,,DMDCWEST
Mona, I don't think the user's browser will handle many more than 50 (a guess) much less 600 text input elements on a single page. I think you should re-think the UI so that fewer input elements are needed. Handling 600 input fields on the server side will take a long time (several seconds to a

RE: Prob:Calling a bean:write inside html:text - Nesting is nice

2003-07-30 Thread Brendan . Johnston
It would be nice if this: aTag anAtribute=aValue / Parsed the same as: aTag anAtributeaValue/anAttribute /aTag Failing that it would be nice if any tags with attribute also accepted nested tags with the same name and meaning as an alternative. Brendan -Original Message- From:

  1   2   >