RE: Path Finder

2003-07-30 Thread Steve Raeburn
Place the tag in the 'head' section of your JSP. Relative paths will be then be calculated based on the location of your JSP. Alternatively, use the tag to rewrite the value of the URL as a context-relative path. " TYPE="text/css"> Steve > -Original Message- > From: Altug B. Altintas

Path Finder

2003-07-30 Thread Altug B. Altintas
Hi, My Jsp page include the followings; When i call this JSP page there is no problem, http://localhost:8080/engine-struts/jsp/yield/verigirisi-struts.jsp CSS file applied to this page but when an error occurs, it goes valition pages (struts forwards i

Could one figure out the context path in Servlet.init() method?

2003-07-30 Thread Jing Zhou
Hi, Maybe I overlook something. We can get context path from HttpServletRequest.getContextPath() at request time. But could one get the same path when the servlet is initialized? Or simply say why we do not have an API like ServletContext.getContextPath()? Jing Netspread Carrier http://www.netspr

RE: How to add action errors from action class's execute method

2003-07-30 Thread Steve Raeburn
If you add an error in your action: errors.add("username", new ActionError("error.username.unique",regform.getUsername())); ... saveErrors(request, errors); // And don't forget to save them ;-) You can refer to the error by the property name (e.g. "username") in your JSP

Re: Need help for design

2003-07-30 Thread Prashanth.S
Hi, U can use authenticator classes of whatever server u use...Example is to use cauchoauthenticator [if u r using resin web server]...etc Thnks Prashanth Anubhav Kale <[EMAIL PROTECTED]> wrote: Hello I want to create a simple JSP page with login and password fields. If i/p is correct (verified

RE: SSLEXT

2003-07-30 Thread Nagendra Kumar O V S
hi amit, yes, i tried with method=post but still it appends...   ---Original Message---   From: Struts Users Mailing List Date: Thursday, July 31, 2003 10:48:42 AM To: [EMAIL PROTECTED] Subject: RE:

Need help for design

2003-07-30 Thread Anubhav Kale
Hello I want to create a simple JSP page with login and password fields. If i/p is correct (verified against a database) I should give user access to some JSP pages. If user tries to go to these JSP pages directly without entering correct username and password then he should be redirected back

Re: How to add action errors from action class's execute method--Got the solution

2003-07-30 Thread Prashanth.S
Hi stephan, Try looking through the following url http://www.javaranch.com/newsletter/Mar2002/newslettermar2002.jsp Here they have explained how to use actionerrors...I too didnt knew abt this option... Hope i havent misleaded u... Thanks Prashanth Stephan Wiesner <[EMAIL PROTECTED]> wrote: Hi

Re: How to add action errors from action class's execute method

2003-07-30 Thread Prashanth.S
Hi stephan, Even i too dont know abt that option...Another important thing is that in tag u must use {message=true} attribute in order for message to get displayed...That thing is not specified in docs...I dont know why HTH Prashanth Stephan Wiesner <[EMAIL PROTECTED]> wrote: Hi Prashanth

RE: IPlanet 6 SP2 and Struts 1.1 with templates TLD

2003-07-30 Thread thirumalai . veeraswamy
> -Original Message- > From: Philippe Van Der Gucht [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 24, 2003 4:32 PM > To: Struts Users Mailing List > Subject: Re: IPlanet 6 SP2 and Struts 1.1 with templates TLD > > Philippe Van Der Gucht wrote: > > Hello, > > > > Another unlucky one try

Missing resources attribute org.apache.struts.action.MESSAGE

2003-07-30 Thread gowri shankar
hi, when i tried to run my first web application using struts, i got the following error, i got this example application from http://www.javaranch.com/newsletter/Mar2002/newslettermar2002.jsp i have been trying to fix this error for quite some time and I would really be glad if someone helps me ou

Re: How to add action errors from action class's execute method

2003-07-30 Thread Stephan Wiesner
Hi Prashanth, thanks that did indeed help. Though I don't understand, why I should not use the actionerrors. There certainly should be a way to display a selected one, if I can display all? Stephan Prashanth.S wrote: Hi stephan, For ur problem i recommend that u use action messages not actione

Re: How to add action errors from action class's execute method

2003-07-30 Thread Prashanth.S
Hi stephan, For ur problem i recommend that u use action messages not actionerrors.. http://jakarta.apache.org/struts/api/org/apache/struts/taglib/html/package-summary.html#doc.Other.messages hope the above link helps.. Thanks Prashanth Stephan Wiesner <[EMAIL PROTECTED]> wrote: Hi Anurag, your p

RE: SSLEXT

2003-07-30 Thread Amit Rana
Does it appends the form parameter values even when Method=POST? Regards, Amit. -Original Message- From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 1:13 PM To: [EMAIL PROTECTED] Subject: SSLEXT hi,   SSLEXT really works great for me when i switch from "

RE: struts-el example app not working?

2003-07-30 Thread Steve Raeburn
Well, I managed to get it running but I'm definitely not a convert to Netbeans :-( - In Netbeans, go to the Runtime tab and expand the Explorer view until you see the 'Internal Tomcat' server. - Right click on it and change the IDE Integration Mode from Full to Minimum. That seems to get it w

[OT] Problem with html-el and JSTL

2003-07-30 Thread Charles Canning
Hi, I have a form using html-el and jstl. I have a loop inside the form The forEach gets the two objects oin the list, but the tags return empty strings? Does anyone know what might be causing this. If I do a it prints the address of a jstl object. I kn

struts 1.0.2 - application deployed in root (/) gives invalid form actions(//) in iPlanet/Sun ONE Web Server

2003-07-30 Thread thirumalai . veeraswamy
Hi, In struts 1.0.2, I have deployed an application in the root (/) instead of virtual folder. In this case my form actions rendered as //. Because of this the browser assumes I have given some web site name and navigates to http:// instead of http:///. This generates the following html

Re: How to add action errors from action class's execute method

2003-07-30 Thread Stephan Wiesner
Hi Anurag, your proposal works for me, but how can I recall the value? I can get at it with but I want to display it by key, not all stored values? Stephan Anurag Garg wrote: Hi, U can create the ActionError object and add them in the ActionErrors class in the action class. Now

Struts and Jetspeed

2003-07-30 Thread jakarta-lists
Hello, Has anyone successfully use Struts with Jetspeed? I'm looking into the possiblilty of having jetspeed do the authentication, templating and layout.. while struts will handle the control of the app. It sounds like a good idea to me, but I haven't worked with struts enough yet to know

SSLEXT

2003-07-30 Thread Nagendra Kumar O V S
hi,   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

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

2003-07-30 Thread Andrew Hill
InputStream is = servlet.getServletContext().getResourceAsStream("/WEB-INF/dir/file.x"); Thats fine if your in an action, but down in your business classes you dont want to be dependant on the servlet api classes. Obviously the trick is to have some kind of interface (which in my apps I usuall

Re: Transaction Token

2003-07-30 Thread manglu
Joshua, If the token is invalid you tell the User that they might have attempted multiple submissions etc via an error page Manglu Joshua White wrote: And if the token is not valide, do you redirect them to an error page? manglu <[EMAIL PROTECTED]> wrote: The Trans token is fairly SImpl

RE: Help needed in Struts deployment on Weblogic 8.1

2003-07-30 Thread souravm
Hi Rajendra, I'm using ant. I'm specifying .war properly in application.xml. I didn't understand which lib you are referring to for specifying the struts.jar. Might be that is the problem. Could you please explain it again ? Regards, Sourav -Original Message- From: [EMAIL PROTECTED] [m

RE: struts-el example app not working?

2003-07-30 Thread Steve Raeburn
I'll try to take a look at Netbeans sometime, but it may not be for a few days. If I have any success I'll post back to the list and copy you. If, in the meantime you find the problem, do post the result here. Steve > -Original Message- > From: struts [mailto:[EMAIL PROTECTED] > Sent: Jul

RE: Struts Action in Welcome File List

2003-07-30 Thread John Cavacas
Can you deploy and run correctly struts-blank.war? If you can bring up http://localhost:8080/struts-blank/ then its not a Struts problem. Check the slash on your action. If your action is defined like so: Specifying should also work. I think... John This communication is intended for the u

Re: Displaying is easy, capturing is not

2003-07-30 Thread Ajay Patil
Dear Rick, I had implemented the JSP as follows: The top part of JSP shows the search form. The bottom part of JSP shows the results. The tag is used to show the results (the bottom part is not displayed if the Results bean is NULL) Initially, Results bean is NULL and user will see only the top

Re: [struts-atlanta] New file uploaded to struts-atlanta

2003-07-30 Thread James Mitchell
I also added this to the sourceforge site for easy download. http://sourceforge.net/projects/struts -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org 678-910-8017 AIM:jmitchtx - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sen

Re: struts-el example app not working?

2003-07-30 Thread struts
Yep the stand alone (Tomcat 4.1) works fine. Just install the struts-el-exercise-taglib.war through the tomcat manager and no problems. Barry - Original Message - From: "Steve Raeburn" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, July 30, 2003 4

Re: struts-el example app not working?

2003-07-30 Thread struts
May have to give that a try. Thanks, Barry - Original Message - From: "Steve Raeburn" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, July 30, 2003 4:27 PM Subject: RE: struts-el example app not working? > 4.0.6 works for me. I don't remember the

RE: struts-el example app not working?

2003-07-30 Thread Steve Raeburn
4.0.6 works for me. I don't remember the details, but I *think* Netbeans has cropped up as a problem before. If you can, try it with a standalone version of Tomcat and check the mail archives for Netbeans issues. Steve > -Original Message- > From: struts [mailto:[EMAIL PROTECTED] > Sent:

RE: struts-el example app not working?

2003-07-30 Thread Steve Raeburn
The URI is not the problem, it's exactly the same as mine (as it would be if the example hasn't been modified :-)) This is mine: <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %> This may also be valid, depending on what (if anything) you've got configured in web.xml <%@ tagl

Re: struts-el example app not working?

2003-07-30 Thread struts
Yes I just verified, Basically I unpacked the war and ran it. I did check the web.xml and struts-config and they look okay out of the box. Barry - Original Message - From: "Canning, Chuck" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wednesday, July 30

RE: struts-el example app not working?

2003-07-30 Thread Canning, Chuck
Hey Barry, I didn't read enough of the stack trace, sorry. Caused by: java.lang.NullPointerException at org.apache.struts.util.MessageResources.getMessageResources(MessageResources .java:577) at org.apache.struts.taglib.html.BaseHandlerTag.(BaseHandlerTag.java:10 8) ... 38

RE: struts-el example app not working?

2003-07-30 Thread Alex Shneyderman
You uri look suspicious. I think it has to read something along <%@ taglib uri="http://jakarta.apache.org/struts/tags-html-el"; prefix="html-el" %> open up the jar, in META-INF dir there is a bunch of TLDs just read off the uris from there. > -Original Message- > From: struts [mailto:[EM

Re: struts-el example app not working?

2003-07-30 Thread struts
I am running Tomcat 4.0xx (using netbeans 3.5 with Tomcat bundle) Barry - Original Message - From: "Steve Raeburn" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, July 30, 2003 4:03 PM Subject: RE: struts-el example app not working? > Works fin

RE: struts-el example app not working?

2003-07-30 Thread Steve Raeburn
Works fine for me with the 1.1 release version on Tomcat 4.1.24. What container are you running on? Steve > -Original Message- > From: struts [mailto:[EMAIL PROTECTED] > Sent: July 30, 2003 3:52 PM > To: [EMAIL PROTECTED] > Subject: struts-el example app not working? > > > Hello, > > Whe

Re: struts-el example app not working?

2003-07-30 Thread struts
I did include the struts-el.jar file. - Original Message - From: "Canning, Chuck" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wednesday, July 30, 2003 3:58 PM Subject: RE: struts-el example app not working? > Hey Barry, > > Did you include the struts

Re: not displaying the errors?

2003-07-30 Thread James Adams
Thanks for the help. It turned out I'd added a seperate app.properties file in the init parameters for the struts Action servlet in the web.xml which didn't contain the messages I needed. This caused struts to ignore the app2.properties that I'd specified in the message-resources tag of struts-co

RE: struts-el example app not working?

2003-07-30 Thread Canning, Chuck
Hey Barry, Did you include the struts-el jars from the contrib directory or just the standard struts1.1 jars? Chuck -Original Message- From: struts [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 5:52 PM To: [EMAIL PROTECTED] Subject: struts-el example app not working? Hello,

struts-el example app not working?

2003-07-30 Thread struts
Hello, When testing the struts-el example I get the following error. The problem goes away if I remove: <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %> Of course this is useless because the html-el tags do not function. I have even tried incorporating the struts-html-el in m

Re: Validator Framework: Can not evaluate regular expression

2003-07-30 Thread David Graham
Password fields are only run against the "required" validation in the client side javascript for security purposes. Password fields are validated with all rules on the server side though. David --- Dirk Behrendt <[EMAIL PROTECTED]> wrote: > Hi! > > No, I do not have an extra '<' in my code. Th

RE: Struts Error Handling Problem

2003-07-30 Thread Yansheng Lin
I didn't finish the first paragraph!! Sorry. See [[append]] --- What do you mean if there is a reason for this? In the case of an error, you can output error msg through [[append]] and all the data entered will be retained if you return to the original jsp page. --- Outlook is horrible for ed

RE: Struts Error Handling Problem

2003-07-30 Thread Yansheng Lin
What do you mean if there is a reason for this? In the case of an error, you can output error msg through In your case, you might want to try return back to your input instead of forwarding it to the .jsp page. I know they are almost the same, but they is a mirror difference. So here comes th

Object-=>Form-=>Object

2003-07-30 Thread Jim Bruno Goldberg
Hi, Folks! Can anyone help me with a ActionForm object mapping? I have a ActionForm with a method setInside(InsideObject a) and I want o map this object to a SelectBox on a form is JSP (...) I must maintain the setInside(InsideObject a) in ActionForm because this is generat

Validator Framework: Can not evaluate regular expression

2003-07-30 Thread Dirk Behrendt
Hi! No, I do not have an extra '<' in my code. The regular expression is not evaluated. Example: When I use ^[a]$ the user only should input "a". But in my case you can input anything you want. There are some ideas? Dirk If your code is a direct cut-n-paste, you've got an extra '>' i

RE: reset() in my action form is not working

2003-07-30 Thread victor gusz
Thanks, Amit, its working now. --- Amit Kirdatt <[EMAIL PROTECTED]> wrote: > Have you tried > request.setAttribute(mapping.getAttribute(), new > SampleForm()); ? > Although I do agree with Michael. > > -Original Message- > From: victor gusz [mailto:[EMAIL PROTECTED] > Sent: Wednesday, J

Re: reset() in my action form is not working

2003-07-30 Thread victor gusz
Thanks, its working now. --- Michael Ruppin <[EMAIL PROTECTED]> wrote: > That's not what the ActionForm.reset() method is > for. > It's called prior to population of your ActionForm > from the request, to set values for things which may > not be in the request [but should be], like > unchecked >

RE: reset() in my action form is not working

2003-07-30 Thread Amit Kirdatt
Have you tried request.setAttribute(mapping.getAttribute(), new SampleForm()); ? Although I do agree with Michael. -Original Message- From: victor gusz [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 3:32 PM To: [EMAIL PROTECTED] Subject: reset() in my action form is not working

Re: reset() in my action form is not working

2003-07-30 Thread Michael Ruppin
That's not what the ActionForm.reset() method is for. It's called prior to population of your ActionForm from the request, to set values for things which may not be in the request [but should be], like unchecked checkboxes. What you need is some ActionForm.setEmpty() method to call before forward

reset() in my action form is not working

2003-07-30 Thread victor gusz
Hi, I define a reset function and seset every form variables to null, since I want to reset all inputs to null after I hit submit button. I also put the following line before I return ActionForward in my action class: request.setAttribute(mapping.getAttribute(), sampleForm); But its not working,

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

2003-07-30 Thread Wendy Smoak
> Even though this is a frequent question, > I could not get the Exact syntax for doing it. > ""/> If this element inside the form that belogs with the Action that uses registrationForm, then you don't need the 'value' attribute at all. Struts will magically populate the form element from the

RE: html:select and data refresh

2003-07-30 Thread Rick Col
Thanks, Richard: The trouble is that I cannot use frameset in my design. So, it really gives me headache now :((. regards, --- "Yee, Richard K,,DMDCWEST" <[EMAIL PROTECTED]> wrote: > Rick, > Check out using html frameset and frames. Have the > result of your form go to > a different results fra

Re: html:select and data refresh

2003-07-30 Thread Ashish Kulkarni
Here is the thing u can try, onchange event check if the result table is displayed, if yes clear it first, and then load the new table Ashish --- Rick Col <[EMAIL PROTECTED]> wrote: > Thanks, > > Sorry for being naive on this. I am new to both > javascript and struts. I am already using onchange

RE: ActionForm resulting in 'No collection found'

2003-07-30 Thread Sudheesh_Clement
See, what ever you store in the request last only for that request.. That's according to the servlet spec. The only problem using session is that, you should clean the session variables , after use, If you store too many data in the session and not clean up it can slow your server down or cr

RE: ActionForm resulting in 'No collection found'

2003-07-30 Thread Kukwa, Brian (DeepGreen Bank)
Just want to clarify the example given by Struts and your statement. In the example, the request variable is being set. Is there a reason why the example and your statement would differ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 3:1

RE: Struts Action in Welcome File List

2003-07-30 Thread Bailey, Shane C.
Are you talking about a person using the same container as you? Because I know with JRun there isn't any work arounds needed. So I know that a physical file does not have to exist for every container. I'm surprised JRun worked like this since it caused me a problem with SecurityFilter that Tomc

RE: Struts Action in Welcome File List

2003-07-30 Thread Karr, David
Well, I haven't tried this, but I did notice someone a while ago saying that this DOES work, as long as you use a small trick. The "welcome-file" does have to specify a file that exists, but that doesn't mean the web container will actually SERVE that file. The person who mentioned this said that

tiles and c:redirect

2003-07-30 Thread Sloan Seaman
I have a .jsp file that is inserted via the tiles:insert tag. In this file is a c:redirect (much like the logic:redirect) tag that should do a redirection. The redirection is not occurring. I have checked the path, and even tested a blank page that did nothing but redirect and it still does no

RE: html:select and data refresh

2003-07-30 Thread Yee, Richard K,,DMDCWEST
Rick, Check out using html frameset and frames. Have the result of your form go to a different results frame. Regards, Richard -Original Message- From: Rick Col [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 12:04 PM To: Struts Users Mailing List Subject: Re: html:select and

Re: ActionForm resulting in 'No collection found'

2003-07-30 Thread Sudheesh_Clement
I think instead of setting the form in the request you should set at the seesion, request variables last only for one single request. That' s one way the form is available in susequent pages I hope that will help |-+---> | | "Kukwa, Bri

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

2003-07-30 Thread Bailey, Shane C.
You can do that with the struts tags as well. But that is only for the value just like for JSTL. you could replace the bean:write with hard text too I assume. I am guessing the Struts tags and JSTL tags are written the same way. But what was wished for is having any attribute of a t

ActionForm resulting in 'No collection found'

2003-07-30 Thread Kukwa, Brian (DeepGreen Bank)
I'm running into a problem retrieving an ActionForm from a JSP page. In my derived Action, ListUsersAction, I am instantiating an ActionForm. This ActionForm, ListUsersForm, is then being set in HTTPServletRequest. When trying to access the ListUsersForm from the subsequent JSP page, it is

Re: [OT]http to https shift

2003-07-30 Thread Tim Shadel
In addition, if you want some pages of a single application (either the Tomcat one or the WebSphere one) to be specifically HTTP or HTTPS, you may want to check out SSLExt (http://sslext.sf.net). When you make your decision, just make sure you know the ramifications of switching from HTTPS to

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

2003-07-30 Thread Brendan . Johnston
The JSTL authors decided that the value might need calculation to work it out, but that a pattern would not require other tags to determine. Were they right? Maybe, maybe not. If they adopted the approach I suggested, they would just have some extra busy work supporting nesting for everything, bu

Re: html:select and data refresh

2003-07-30 Thread Rick Col
Thanks, Sorry for being naive on this. I am new to both javascript and struts. I am already using onchange to load data. Can I use another attribute, such as onblur, or onclick to do the job? And how do I reload the page to the previous page (that is: with no table display)? regards --- Ashish

Re: html:select and data refresh

2003-07-30 Thread Ashish Kulkarni
Hi, i guess u can try onchange event on select, to find out when the user selectes some thing and clear the result table displayed below for clearing the table u can use java script or will have to reload the page Ashish --- Rick Col <[EMAIL PROTECTED]> wrote: > Hi, guys: > > I have a list for us

html:select and data refresh

2003-07-30 Thread Rick Col
Hi, guys: I have a list for user to select, when user select one item from the list, and hit search button, a results table will be displayed at the bottom half of the page. Now, if user selects another item from the list, I want to refresh the table (or page?) and make the results table disappear

RE: Displaying is easy, capturing is not..

2003-07-30 Thread Yee, Richard K,,DMDCWEST
Mona, You might consider first displaying the values and providing an edit button next to the values. If the user presses the edit button, then the row is displayed as editable fields. Another solution might be to use check boxes to select which rows should be edited and then present only those row

RE: Displaying is easy, capturing is not..

2003-07-30 Thread Alawadhi, Mona
Thank you - I am definately considering that. I'll probably limit the user. -Original Message- From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 2:04 PM To: 'Struts Users Mailing List' Subject: RE: Displaying is easy, capturing is not.. Mona, I don't

RE: Link/Forward inside error message

2003-07-30 Thread Kat Luna
Ah, good idea. I keep forgetting about logic:present tags. I'll give that a try. thanks, Kat --- "Bailey, Shane C." <[EMAIL PROTECTED]> wrote: > > > 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 erro

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

2003-07-30 Thread Steve Raeburn
Try JSTL. For example: is equivalent to: 26/12/1968 The content of the second example can even be generated by nested tags. Steve > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: July 30, 2003 11:10 AM > To: [EMAIL PROTECTED] > Subject:

Re: Link/Forward inside error message

2003-07-30 Thread katluna1
Ah, that's a good idea. I never remember to use the logic:present tags. I'll give it a try. thanks, kat --- In [EMAIL PROTECTED], "Bailey, Shane C." <[EMAIL PROTECTED]> wrote: > > > It makes sense that the struts tags are done being interpreted after the > error message is displayed so it

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

2003-07-30 Thread Brendan . Johnston
It would be nice if this: Parsed the same as: aValue 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: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Wedn

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 few

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 this

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 i

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 values!!

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: error.password.exp

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 contain

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: 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 cla

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: ...etc,

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

Re: Struts console plug-in - Bug - rewrite attribute

2003-07-30 Thread message message
It seems the mistake is in the dowbload application From: "K.C. Baltz" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: Struts console plug-in - Bug - rewrite attribute Date: Wed, 30 Jul 2003 09:14:09 -070

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? >^[a-zA-Z0-9_.-]*$ -jeff On Wednesday, July 30, 2003, at 07:14 AM, Dirk Behrendt wrote: > >^[a-zA-Z0-9_.-]*$ -Ursprüngliche Nachrich

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

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: -Original Message- From: James Childers [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 12:36 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Prob:Calling a bean:write inside html:text Y

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 w

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,

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 t

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. "/> I tried leaving the quotes but invain. Is there a proper sy

Re: Struts Action in Welcome File List

2003-07-30 Thread K.C. Baltz
I believe the Servlet 2.3 spec allows for what Shane descibes (virtual paths for Welcome files). Can't wait for Tomcat 5. K.C. Suzette Daniel wrote: Nope this is not supported, the web.xml must map to a file. -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent:

Re: Struts console plug-in - Bug - rewrite attribute

2003-07-30 Thread K.C. Baltz
Is it possible you're confusing rewrite with redirect? K.C. message message wrote: To whom it my concern, I was using the Struts console plug-in Eclipse with the Struts-logon application. the console gives the error message "Invalid struts config File error on line 44:Attribute "rewrite"

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 > > http://jak

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 > > -O

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 i

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

2003-07-30 Thread Tuna Vardar
It works that way, thank you very much for your help. Pankaj Borgaonkar wrote: Give jsp name in the input parameter directly ... As if the values are present in the form bean then it has display ... Provided ur form bean properties has proper set and get and u r able to see errors using tag ...

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 J2EE

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. ... ... link to each as "/a.do?subtask=method1" and "/b.do?

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): Suzette H. Daniel -Original Message- From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 11:37

  1   2   >