calling form bean method

2001-08-30 Thread Ali Ozoren
Hi all, I have a method that returns a String in the form bean. How can I call it from within the JSP page that uses that bean? Couldn't find a way to refer to the underlying form bean.. Thanks, --a

Transforming xml with xsl in custom tag

2001-08-30 Thread Pulkka Kari
Hi all, I have the following problem: I have a jsp-page that imports all the struts taglib tlds and contains a call to a custom taglib (evliwar:instruments /). This tag receives data from the db as xml and transforms it with a xsl. The output of the transformation contains struts html:xxx-tags.

Validator Input fields of type File

2001-08-30 Thread Ralph vd Houdt
Hi All, I'm using the Struts Validator bij David Winterfeldt. An excelent addition to the struts framework. A little problem arises when I tryed to validate an upload field of a form. The required setting of the validator doesn't work for inputfields with files. I try to validate the other

RE: Transforming xml with xsl in custom tag

2001-08-30 Thread SUHAS G. KULKARNI
But struts tags are identified by tagLibrary ( JSP 1.1 support) In case of XSL the tags that we can use in it should be XSL tags + html presentation tags No struts tags are allowed there . -Original Message- From: Pulkka Kari [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001

AW: Help: Cannot find bean BEAN in scope null

2001-08-30 Thread juraj Lenharcik
put scope=request to your tag -Ursprüngliche Nachricht- Von: Gary Kephart [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 29. August 2001 20:32 An: Struts User Betreff: Help: Cannot find bean BEAN in scope null I get this message in the log file: Cannot find bean

RE: STRANGE: session.invalidate() is not invalidating the session

2001-08-30 Thread Dudley [EMAIL PROTECTED]
i'm having the same problem , please help anyone? -Original Message- From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 9:32 PM To: struts-user@jakarta. apache. org (E-mail) Subject: STRANGE: session.invalidate() is not invalidating the session

RE: Attribute value should be quoted

2001-08-30 Thread Dudley [EMAIL PROTECTED]
send a copy of your jsp, its usually a html tag just above or below the line in question -Original Message- From: David Corbin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 4:04 PM To: Struts User Subject: Attribute value should be quoted I'm getting the following

RE: Tokens?

2001-08-30 Thread Dudley [EMAIL PROTECTED]
Title: Message one would typically use tokens as a means to prevent the user from submitting a page twice when it is undesirable to do so...if u would like more info and some examples let me know -Original Message-From: Steven Leija [mailto:[EMAIL PROTECTED]]Sent: Wednesday,

RE: Tokens?

2001-08-30 Thread Claudio Parnenzini
I'm interested for the code. Can you send me an examples please. Thank you very much -Original Message- From: Dudley Butt@i-Commerce Sent: Thu 8/30/2001 10:45 AM To: '[EMAIL PROTECTED]' Cc: Subject: RE: Tokens?

Re: How to use radio-Buttons when iterating

2001-08-30 Thread Ralph vd Houdt
How to use radio-Buttons when iteratingThis should do the trick. html:radio property=auswahl value=%= adresse.getName() % / or even html:radio property=auswahl value=bean:write name=adresse property=name/ / Greetings Ralph - Original Message - From: Friedli Beat [UFA AG

RE: Configuration problem

2001-08-30 Thread devon . bowen
View source shows a href=http://www.foo.com; foo.com/a I assume you mean a href=http://www.foo.com; foo.com/a Without the close bracket on a. If this is what View Source is showing, then your browser is receiving the correct HTML. In other words, it isn't a problem with your

RE: Dynamic Form Beans?

2001-08-30 Thread Rey Francois
One part of the solution is to use the MappedProperty feature recently added to the jakarta-commons bean-utils. The original submission is in this message: http://www.mail-archive.com/jakarta-commons@jakarta.apache.org/msg03005.html It has been integrated into the commons source, as indicated by

Re: Attribute value should be quoted

2001-08-30 Thread David Corbin
Thanks. I found it, and your assessment was correct. Silly me for trusting the compiler - Original Message - From: Dudley Butt@i-Commerce [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 30, 2001 4:35 AM Subject: RE: Attribute value should be quoted send a copy of

Now Look with radio-Buttons when iterating

2001-08-30 Thread Friedli Beat [UFA AG Her]
Title: Now Look with radio-Buttons when iterating Hi Ralph I tried ... html:radio property=auswahl value=%= adresse.getName() % / and got ... A Servlet Exception Has Occurred org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 49 in the jsp

RE: Attribute value should be quoted

2001-08-30 Thread Dudley [EMAIL PROTECTED]
excellent -Original Message- From: David Corbin [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 11:51 AM To: [EMAIL PROTECTED] Subject: Re: Attribute value should be quoted Thanks. I found it, and your assessment was correct. Silly me for trusting the compiler -

Re: Now Look with radio-Buttons when iterating

2001-08-30 Thread Ralph vd Houdt
Now Look with radio-Buttons when iteratingYou should add the classname of adresse to the type attribute of the iteration. logic:iterate name=radio property=adressen id=adresse type=the fully classified classname of adresse html:radio property=auswahl value=%= adresse.getName() % /

html:image and javascript incompatibility ???

2001-08-30 Thread Arnaud Heritier
Hello Guys!! I've a little problem concerning the use of the html taglib and the javascript code. I'm not sure that it concerns directly the html taglib or the html language itself. The problem is that I would like to propose to the user to confirm an action before to do it. I had written this

RE: html:image and javascript incompatibility ???

2001-08-30 Thread Arnaud Heritier
Sorry, but as you should seen it, I reversed the two JSP codes :-) arno -Message d'origine- De: Arnaud Heritier [SMTP:[EMAIL PROTECTED]] Date: jeudi 30 aout 2001 12:40 A: 'struts users mailing list' Objet: html:image and javascript incompatibility ??? Hello Guys!! I've a

RE: html:image and javascript incompatibility ???

2001-08-30 Thread Satyen . Chikane
When you use a image, instead of using its onclick event , put an href link on the image and it will work fine this is html constraint -Original Message- From: Arnaud Heritier [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 11:46 AM To: 'struts users mailing list'

Websphere deployment problem

2001-08-30 Thread Mohammed_Tarafdar
Hi, when i deploy struts application in websphere 3.5.2 and try to access any JSP file i get the following error. Can anyone let me know how to resolve it. TIA rafee [01.08.30 16:57:04:735 GMT+05:30] 32e0194d WebGroup A SRVE0091I: [Servlet LOG]: jsp11: init [01.08.30 16:57:04:846

How does bean:define work?

2001-08-30 Thread Wittwer Markus
Hi! The bean:define tag simply exposes a bean as a scripting variable by adding it to the page context: // from DefineTag.java pageContext.setAttribute(id, value, inScope); Now one can access the bean by bean:define id=title value=test/ Value of title: %= title % I did the same within a

Re: Validator Input fields of type File

2001-08-30 Thread Ralph vd Houdt
Ah found it, public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = super.validate(mapping,request); if ((file == null) || (file.getFileSize() 1)) errors.add(file, new

Where can I find info Debugging Struts?

2001-08-30 Thread Peter Pilgrim
How do get Struts to write out more verbose debugging information? Where can I find better documentation struts-config.xml ? Struts does not seem to finding my Action? I have copied the struts.jar into the /WEB-INF/lib and find that I getting a class not found exception for Root cause:

Changing the path of a mapping's foward (code review)

2001-08-30 Thread Matt Raible
I am changing the path of a mapping's forward name=success to add parameters on to it. The reason I am adding these parameters is because I have to have a redirect=true on my forward in the struts-config file. If I don't, and I try to forward to another action, iPlanet chokes. I add the

Re: Changing the path of a mapping's foward (code review)

2001-08-30 Thread Jonathan M Crater
matt-- i think the reason you lose your request attributes is because the action servlet performs a HttpServletResponse.sendRedirect instead of a RequestDispatcher.forward when you have redirect=true in your action mapping. thus, unless you add values to the end of the querystring as you're

Re: static text fields on the session or from??

2001-08-30 Thread Keith Bacon
Isn't ApplicationResources.properties designed to hold this sort of info? It has the advantage that you can review/change your literals in one place also supports internationalisation. --- ie. in your jsp bean:message key=LogonForm.literal.please.signon/ will fetch this message

RE: html:image and javascript incompatibility ???

2001-08-30 Thread Arnaud Heritier
Thanx Satyen for this information. But if I use a a href src=??? onClick=javascript:validateAndSubmit(,'') img src=... /a What should I use as src because it will go on it when the answer is negative !!! I can put %=request.getResquestURI()% but I don't find this very beautiful. And

Re: How does bean:define work?

2001-08-30 Thread Erik Hatcher
You need to use the TEI (tag extra info) mechanism and in your TLD do like bean:define does: teiclassorg.apache.struts.taglib.bean.DefineTei/teiclass And then look at the DefineTei class for more insight. Geary's Advanced JavaServer Pages book has lots of great information with

Action fails to be invoked. ActionForm class not found.

2001-08-30 Thread Peter Pilgrim
Hi I __definitely__ copied the struts.jar into my WEB-INF/lib directory. I am using Tomcat 3.2.1 btw. JD 1.3 refresh beta on Solaris 2.6 It seems that adaptive class loader is at fault, but cannot be sure because Struts does not provide any clearer information on what the failure is apart from

Re: html:image and javascript incompatibility ???

2001-08-30 Thread Fabrice CANTEGREL
hi Arnaud, instead of using onClick, just use href= (not href src=) and put your call to the javascript in it. Arnaud Heritier wrote: Thanx Satyen for this information. But if I use a a href src=??? onClick=javascript:validateAndSubmit(,'') img src=... /a What should I use as

RE: html:image and javascript incompatibility ???

2001-08-30 Thread Arnaud Heritier
ok Fabrice !!! I made a fault writting the e-mail (I didn't want to add the src :-) ). So I put my javascript code in the href property and it's better. I'm only staying over a last problem : How to access to the form object in which is the a href= to launch the submit from the javascript code?

RE: STRANGE: session.invalidate() is not invalidating the session

2001-08-30 Thread SUPRIYA MISRA
try adding these lines to the JSP % response.setHeader(Cache-Control,no-store); //HTTP 1.1 response.setHeader(Pragma,no-cache); //HTTP 1.0 response.setDateHeader (Expires, 0); //prevents caching at the proxy server % From: Dudley Butt@i-Commerce [EMAIL PROTECTED] Reply-To:

RE: Websphere deployment problem

2001-08-30 Thread Assenza, Chris
See: http://jakarta.apache.org/struts/installation-was352-x.html Chris Christopher Assenza Phone: 412.201.6026 Fax: 412.201.6060 Email: [EMAIL PROTECTED] ACCESSDATA Moving Your Business from Point A to Point e.SM http://www.accessdc.com/ -Original Message- From: [EMAIL

Re: html:image and javascript incompatibility ???

2001-08-30 Thread Jonathan M Crater
give the form a name and refer to it like document.formName.submit(), or refer to it by its index like document.forms[0].submit() this would be cleaner: script language=javascript function submitForm(f) { if confirm(...) { f.submit(); } } /script !-- other code -- a

Re: Action fails to be invoked. ActionForm class not found.

2001-08-30 Thread Marcelo Stefanelli Santos
Hi Did you put your_directory/moar/WEB-INF/classes in your CLASSPATH ? Your error is related to CLASSNOTFOUND and is related to your CLASSPATH configuration. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 30, 2001 10:37 AM Subject: Action

Re: html:image and javascript incompatibility ???

2001-08-30 Thread Fabrice CANTEGREL
yes. that's it. see normally the name by default of the form is the name of the used formbean. (if i'm not wrong) Jonathan M Crater wrote: give the form a name and refer to it like document.formName.submit(), or refer to it by its index like document.forms[0].submit() this would be cleaner:

RE: html:image and javascript incompatibility ???

2001-08-30 Thread Arnaud Heritier
thanx Jonathhan !! Knowing that my form is in a Page By Page Iterator, I will have to use the document.forms[the_form_nb].submit() method. It will be the evil :-( Why they don't have invent the super property to access the ancestor. SNIF. Thanks for your help, I think I'm on the right way.

Re: Action fails to be invoked. ActionForm class not found.

2001-08-30 Thread Peter Pilgrim
This is the wrong answer because (1) Root Directory: `/home/gdd2_dev/jakarta-tomcat-3.2.1/webapps/pilgpe' `pilgpe' | +-- WEB-INF | | | +-- classes | | | | | +-- com | | | | | +-- learn | | | +-- lib | | | +-- tlds

RE: html:image and javascript incompatibility ???

2001-08-30 Thread Arnaud Heritier
Thanks everybody for your very useful help. It's correctly working now. arno -Message d'origine- De: Arnaud Heritier [SMTP:[EMAIL PROTECTED]] Date: jeudi 30 aout 2001 15:24 A: '[EMAIL PROTECTED]' Objet: RE: html:image and javascript incompatibility ??? thanx Jonathhan !!

subscription

2001-08-30 Thread Kwang-Shi Shu
Shu, Kwang-shi | Tel 732-460-7848 Village Networks, Inc. | Fax 732-460-9851 246 Industrial Way West | Eatontown, NJ 078724| email: [EMAIL PROTECTED]

Re: Action fails to be invoked. ActionForm class not found. [SOLVED]

2001-08-30 Thread Peter Pilgrim
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING

Re: How to handle an ActionForward to a page with an anchor?

2001-08-30 Thread Brian . Duchouquette
Martin, I need to perform a submit in order for the server to see the new value that the user entered on the form in order to add it to the bean. html:link won't do that for me... Brian

RE: Configuration problem

2001-08-30 Thread David Bolsover
Devon oops - just a typo when I sent the mail - but still the problem has gone away - and I don't know why. thanks for time and effort david View source shows a href=http://www.foo.com; foo.com/a I assume you mean a href=http://www.foo.com; foo.com/a Without the close bracket on

Re: Action fails to be invoked. ActionForm class not found. [SOLVED]

2001-08-30 Thread Keith Bacon
Thanks for that Peter - nice to know I was't alone! When using Tomcat I make a habit of restarting it after compiling class files. Otherwise I would get a totally misleading error - I can't remember if it was Action class not found or another. I look forward to the day when auto-reload of every

RE: STRANGE: session.invalidate() is not invalidating the session

2001-08-30 Thread Shamdasani Nimmi-ANS004
I am under the impression that session.invalidate() should be sufficient for logout. The problem that's happening is that I can run the whole application again and go to pages that I didn't go to before logging out, which means these pages were never in the cache. -Nimmi -Original

Any Struts User uses the Expresso Framework ?

2001-08-30 Thread Peter Pilgrim
Hi Now that I was __bloodied__ my fingers with raw jakarta Struts. It 's looking quite good. I can feel the power. I wonder if any struts users are using the Expresso Framework 4.0 ea which integrates the Struts Release 1.0. I am a Core contributer with Expresso Framework so that why I am

RE: Websphere deployment problem

2001-08-30 Thread Mohammed_Tarafdar
Hi chris, i have followed the instructions. I am able to run struts example application but a sample application done by me does not run. TIA rafee Date: Thu, 30 Aug 2001 09:08:27 -0400 To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] From: Assenza, Chris [EMAIL PROTECTED] Subject: RE: Websphere

html:error/ need help? (to TED)

2001-08-30 Thread Satyan Nair
i want to generate a particular link if there is any error! according to the example in strutsthe error tag is html:error/ i want to generate this link only if there is an error html:link page=/editRegistration.do?action=Createbean:message key=logon.registration/ /html:link how

Any workaround for getConnection(username, password)?

2001-08-30 Thread Daniel Jimenez
In an attempt to implement security on our web servers, I've tried to remove the username and password on the struts-config.xml datasource tag. I've done this to retrieve this information from a remote location not located on the actual web server. The problem with this, as many of you

RE: Websphere deployment problem

2001-08-30 Thread Assenza, Chris
Can you provide more details? :-) Chris Christopher Assenza Phone: 412.201.6026 Fax: 412.201.6060 Email: [EMAIL PROTECTED] ACCESSDATA Moving Your Business from Point A to Point e.SM http://www.accessdc.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

RE: Select tag

2001-08-30 Thread Jay Patel
Another way is to have the FormBean populated with the desired value. So when the select tag is rendered, it will automatically select the value from the form bean. -Original Message- From: SUHAS G. KULKARNI [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 12:51 AM To: [EMAIL

RE: html:error/ need help? (to TED)

2001-08-30 Thread Shamir Juma
Try this: logic:present name=%=Action.ERROR_KEY% html:link page=/editRegistration.do?action=Create bean:message key=logon.registration/ /html:link /logic:present Shamir Juma -Original Message- From: Satyan Nair [mailto:[EMAIL PROTECTED]] Sent: Thursday,

RE: STRANGE: session.invalidate() is not invalidating the session

2001-08-30 Thread Keith Bacon
I think there was a recent post dealing with this. Struts tends to create a new session if there isn't one there. (every time the action servlet runs I suspect?). To restrict access to pages you should require the user to be logged on. - At logon add some object to the session (I call mine

dynamic template tag parameter values

2001-08-30 Thread David Boardman
Our site will be accessed by users via other sites on the web. For instance, our site might be accessed from a link on Cisco's site. When this occurs we want the GUI to be different than the default GUI (same general layout, but different graphics etc.) To do this I was hoping to include a

RE: Any Struts User uses the Expresso Framework ?

2001-08-30 Thread Peter Pilgrim
It depends what you need in the end. I would say Struts is a lighter weight framework for developing web applications Expresso is a medium weight framework developing database-driven web applications If you do not need to scalability, distributable server, transaction safe, robust, component

using actions xxxx.do

2001-08-30 Thread Maxime Saby
I just finish the installation of struts but when i access a url with logo.do i do not have the page. The page cant be found. I have the line about the .do action servlet mapping and the tld files where they are supposed to be but nothing ... In my tomcat/lib folder, i have the jasp parser

RE: html:error/ need help? (to TED)

2001-08-30 Thread Satyan Nair
thanks shamir org.apache.jasper.compiler.ParseException: /jsp/logon.jsp(19,23) Attribute value should be quoted i got this error! am i missing something?

RE: STRANGE: session.invalidate() is not invalidating the session

2001-08-30 Thread Shamdasani Nimmi-ANS004
Before I invalidate a session I remove all user session objects and at the top of each JSP I check that the user is logged on(i.e., check for an object in session). If I typein a URL with any JSP it brings up the Logon screen as it should do but if I go back in browser history to the screen

Re: Action fails to be invoked. ActionForm class not found.

2001-08-30 Thread Peter Pilgrim
Whoops! Unfortunately upgrading to Tomcat 3.3 -Beta1 did not solve the problem. There is something wrong here, because when I first unpacked tomcat and deploy my webapp it worked fine. When I ran it again the class loader failed with the same back trace. The backtrace is probably a red

Re: how do I snoop responses

2001-08-30 Thread Tom Tibbetts
I finally got the patience to look at it today. Looks like it will have exactly the level of detail I'm looking for. Problem is that it seems to be able to intercept requests but bombs on the response. Also, as a side note, looks like when you click on a link within an Opera browser window,

Problem with reference to external files (CSS, ...) in JSP

2001-08-30 Thread bruno . o . faure
Hi all There's something I don't fully understand in the forward mecanism : My web application looks something like this : MyWebApp - jsp - css - js - images - WEB-INF - META-INF All my jsp are located in the jsp directory. In each jsp file, I have a reference to

Re: using actions xxxx.do

2001-08-30 Thread Daniel Jimenez
Don't forget your struts.jar in lib and add the ActionServlet as part of your web.xml servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param

How to make reset button clear all fields

2001-08-30 Thread Kwang-Shi Shu
I noticed the following behavior for RESET button in STRUTS framework: The Reset button will clear all fields on the first try. After that, if you encountered validation errors, it seems to remember what have been so far. From that point on, the reset button only clears the new

Re: html:error/ need help? (to TED)

2001-08-30 Thread Fabrice CANTEGREL
maybe the quotes for the name attribute Satyan Nair wrote: thanks shamir org.apache.jasper.compiler.ParseException: /jsp/logon.jsp(19,23) Attribute value should be quoted i got this error! am i missing something? CANTEGREL Fabrice

error running struts in iPlanet

2001-08-30 Thread Fletcher, Ken
I'm getting an Exception that's driving me nuts (any help will be greatly appreciated): action: Error creating ActionForm instance of class xdata.MyActionForm error: Exception Stack Trace: java.lang.ClassCastException: xdata.MyActionForm my struts-config.xml has: form-beans form-bean

RE: html:error/ need help? (to TED)

2001-08-30 Thread Satyen . Chikane
name=%=Action.ERROR_KEY% u missed the quotations probably ... -Original Message- From: Shamir Juma [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 4:39 PM To: '[EMAIL PROTECTED]' Subject: RE: html:error/ need help? (to TED) Try this: logic:present name=%=Action.ERROR_KEY%

Struts Sustem.output/err

2001-08-30 Thread David Corbin
Struts (Tomcat?) seems to spit out some information lines about registering some files (DTDs at least) and later resolving them. Is there a way to turn this off, so that it doesn't generate such? Thanks. David Corbin

RE: STRANGE: session.invalidate() is not invalidating the session

2001-08-30 Thread Luna, Katherine
Title: RE: STRANGE: session.invalidate() is not invalidating the session I also am suffering from this problem. I have the user object in the session, and each jsp page except the logon.jsp checks the session. This prevents display of any page EXCEPT the one immediately following the login

RE: Any Struts User uses the Expresso Framework ?

2001-08-30 Thread Peter Pilgrim
What I was trying to say was metaphorically speaking comparing different boxing weight divisions. Raw JSP Servlets is featherweight Struts is a light weight flyweight Expresso is medium weight WebSphere / Oracle AS / JBoss / Enhydra / BEA are heavy weight because they guarantee Enterprise

custom taglibs

2001-08-30 Thread Metehan Selvi
Are there any additional customtags, which might be useful in case of struts? cheers /mete

Re: Where can I find info Debugging Struts? {SOLVED REALLY]

2001-08-30 Thread Peter Pilgrim
15 minute detention after class. I must remember to: NOT TO EDIT THE TOMCAT LAUNCH SCRIPT ANYMORE AND REMEMBER TO BLANK OUT THE CLASSPATH IF I DO! NOT TO EDIT THE TOMCAT LAUNCH SCRIPT ANYMORE AND REMEMBER TO BLANK OUT THE CLASSPATH IF I DO! NOT TO EDIT THE TOMCAT LAUNCH SCRIPT ANYMORE AND

RE: How to make reset button clear all fields

2001-08-30 Thread Assenza, Chris
One alternative is to write a JavaScript function that will clear all your text fields. Bind the function to the onClick event of a generic HTML button tag and you're set. Note that this only affects what you see on the screen, it's never touching the server. If you were to hit your new reset

RE: How to make reset button clear all fields

2001-08-30 Thread Kevin Hinners
The Reset button is working the way the HTML specification has it defined just as you described. It only resets the fields that have changed since the page was displayed. In order to work around this problem, I created a ResetAction class that gets called when you click on the reset button. This

RE: custom taglibs

2001-08-30 Thread Jay Patel
Check out jakarta taglibs. Jay. -Original Message-From: Metehan Selvi [mailto:[EMAIL PROTECTED]]Sent: Thursday, August 30, 2001 10:52 AMTo: [EMAIL PROTECTED]Subject: custom taglibs Are there any additional customtags, which might be useful in case of struts? cheers

RE: tricky mapping

2001-08-30 Thread Oyer, David
Title: RE: tricky mapping -Original Message- From: Yuriy Zubarev [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 24, 2001 6:17 PM To: [EMAIL PROTECTED] Subject: RE: tricky mapping John, Thanks a LOT!!! Content-disposition header made my day. There is still a problem when

Re: obtaining action forwards in jsps

2001-08-30 Thread Troy Hart
look at html:link forward=someGlobalForward Troy On Wednesday 29 August 2001 04:24 am, you wrote: Hi, Is there any way to obtain the action forward urls in jsps using their logical 'struts-config' name? I'd like to code links etc point to certain action forward urls found in struts config

RE: RONGCHENG BEST CHEER GRANITE CO., LTD

2001-08-30 Thread Oyer, David
Title: RE: RONGCHENG BEST CHEER GRANITE CO., LTD -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 29, 2001 10:50 PM Subject: RONGCHENG BEST CHEER GRANITE CO., LTD ÈôҪȡÏû£¬Çë»Ø¸´: [EMAIL PROTECTED] ZL RONGCHENG BEST CHEER GRANITE CO., LTD

Problem with html:img.. Please Help !!

2001-08-30 Thread Debasish Ghosh
Hi all - This is my second attempt at the problem. I could not fix it. Please help !! I am using Tomcat 3.2.2. When I use an html tag as html:img srcKey=image.logotop/ (I am using Struts), the first time the page comes, the tag gets a sessionId. The cookies are enabled in my browser. For all

RE: Ant build tools - Need address to get grips with.

2001-08-30 Thread Oyer, David
Title: RE: Ant build tools - Need address to get grips with. -Original Message- From: Trond Strømme [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 6:13 AM To: [EMAIL PROTECTED] Subject: RE: Ant build tools - Need address to get grips with. http://jakarta.apache.org/ant/

Re: How to handle an ActionForward to a page with an anchor?

2001-08-30 Thread Marcelo Stefanelli Santos
You can try the focus feature. So when the page loads it'll focus where you want in your form. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 30, 2001 11:38 AM Subject: Re: How to handle an ActionForward to a page with an anchor? Martin,

FAQ additions? (was Re: Help: Cannot find bean BEAN in scope null)

2001-08-30 Thread Gary Kephart
Thomas Quas wrote: Gary, it usually happens to me when I close the html:form too early, meaning there are some html:text's or others floating around after I did /html:form. That was it. After that I had another problem, which a co-worker solved. At any rate, here's two things to put into

Re: How to make reset button clear all fields

2001-08-30 Thread Marcelo Stefanelli Santos
You can try another button (input type button) associated with a method in your bean. This method will reset your atributes in your bean i.e. this.XXX=; (String case) this.YYY=0; (int case) ... - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]

RE: STRANGE: session.invalidate() is not invalidating the session

2001-08-30 Thread Shamdasani Nimmi-ANS004
Title: RE: STRANGE: session.invalidate() is not invalidating the session I don't remember facing this session.invalidate() not invalidating the session problem when I was using tomcat 3.2.1. Are others who got the same problem using Tomcat 4.0-b7 also? -Nimmi -Original

RE: STRANGE: session.invalidate() is not invalidating the session

2001-08-30 Thread Shamdasani Nimmi-ANS004
Title: RE: STRANGE: session.invalidate() is not invalidating the session I do not have a welcome page. The first page is the Logon page where the user enters logon id and password which gets stored in session. During logout I am clearing these values before calling invalidate() so why is the

Re: Any workaround for getConnection(username, password)?

2001-08-30 Thread Marcelo Stefanelli Santos
What you realy need ? - You need to make a connection = commit = disconnect or - Put the connection in the Struts Connection Pool ? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 30, 2001 12:23 PM Subject: Any workaround for

Subscription

2001-08-30 Thread Kwang-Shi Shu
Shu, Kwang-shi | Tel 732-460-7848 Village Networks, Inc. | Fax 732-460-9851 246 Industrial Way West | Eatontown, NJ 078724| email: [EMAIL PROTECTED] 212 882-5035

calling form method 2 / calculated fields

2001-08-30 Thread Ali Ozoren
Hi all- I have this piece of html going against the testForm form bean that is declared for that page. It calls the getTest method. bean:write name=testForm property=test filter=true/ causes public String getTest() { return Test called; } to be called. hence, it seems like fields

repopulating a form

2001-08-30 Thread Austin Conger (Borders Online)
Title: RE: STRANGE: session.invalidate() is not invalidating the session Can someone explain or point me to a solid explanation on how the Struts-example application knows how to repopulate the registration form. I have been unable toduplicate in my own application. What I am doing (which

Strategy for Checking Session Timing Out

2001-08-30 Thread Dan . C . Wieschhaus
If the user disables cookies so that every request coming into the server will create a new session (session.isNew()==true), what strategy could be used to check if their session has timed out? I assume that since every session is new, that using the session.getLastAccessedTime() method is

RE: Tag Iterate !!!

2001-08-30 Thread Ali Ozoren
I have the same problem. It doesn't look like the iterate tag creates the bean declared with the id attribute. --a -Original Message- From: Deadman, Hal [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 1:28 PM To: [EMAIL PROTECTED] Subject: RE: Tag Iterate !!! Based on what you

How to generically forward to page you came from?

2001-08-30 Thread Alex Colic
Hi, I am creating a generic action class that after it is finished it needs to forward to the page that called it. I have tried mapping.getInput() but obviously since I haven't specified a input page in the struts.xml for the action class I can't use that. Any thoughts? Alex

Re: select list

2001-08-30 Thread Blaine Kendall
http://jakarta.apache.org/struts/struts-logic.html#iterate Use the logic:iterate tag to iterate over a collection. I've used a HashMap in the past. The following should work: % java.util.HashMap myhashmap = tc.getMyhashmap(); pageContext.setAttribute(myhashmap,myhashmap,

Re: How to generically forward to page you came from?

2001-08-30 Thread Marcelo Stefanelli Santos
OBS.: I DON'T THINK THIS IS THE BEST WAY BUT... You can use the method: org.apache.struts.action.ActionMapping.addForward(ActionForward forward) that use as parameter an ActionForward constructed with: ActionForward(java.lang.String path) where path is of course your base name Any coments are

Security with Servlet 2.3 API

2001-08-30 Thread Andy Noble
I've just read an article that suggests that authentication can be done bya filter in the servlet 2.3 API, which I believe Tomcat 4 will support. Having seen other threads, there appears to be a number of methods available, such as: 1. subclass ActionServlet 2. JSP custom tags 3. Check in

Is empty body allowed for logic:present?

2001-08-30 Thread Michael Nash
Hello all: I just spent an hour chasing down a silly mistake, and was wondering if there were a way to prevent it: logic:present name=something/ pOk, it's here!/p /logic:present and logic:present name=something/ pNo, not here!/p /logic:present Will display: Ok, it's here! No, not here! Of

RE: Any idea why this form is not being submitted.

2001-08-30 Thread Krueger, Jeff
Title: RE: Any idea why this form is not being submitted. end your form tag /html:form -Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 2:35 PM To: Struts Subject: Any idea why this form is not being submitted. Hi I have a form

[CRAIG CAN YOU PLEASE HELP!!!]RE: STRANGE: session.invalidate() is not invalidating the session

2001-08-30 Thread Shamdasani Nimmi-ANS004
Title: RE: STRANGE: session.invalidate() is not invalidating the session I take it back. I went back to tomcat 3.2.1 andit has the same problem. One thing I did find was that if you went back to the screen with jsessionid in URL using browser back and if that screen has any links, etc. and

RE: How to generically forward to page you came from?

2001-08-30 Thread David Noll
Alex, Here is one approach. When linking to the generic action class, include the URI of the page that the link is on as a parameter. For example: % String referrer = request.getRequestURI(); request.setAttribute(referrer, referrer); % html:link href=/generic/action/class

RE: Any idea why this form is not being submitted.

2001-08-30 Thread Kevin Hinners
You need to give your form a name: html:form name=myForm method=POST action=searchEntity.do If specifying the form name through the struts-config.xml properties file, you should use that name instead. For example, action path=/searchEntity

Re: Any idea why this form is not being submitted.

2001-08-30 Thread dhay
Alex, Do you have a button called submit on the page too? Note - the struts html:submit will by default be called that. If so, javascript gets confused... Dave Alex Colic [EMAIL PROTECTED] on 08/30/2001 04:35:00 PM Please respond to [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED]

  1   2   >