RE: CDManager sample in the book The Struts Framework

2004-03-22 Thread McCormack, Chris
InsertAction.execute appears to be trying to access a datasource which is not initialised. Check the connection details are correct and that the connection is valid before trying to use it. Chris McCormack -Original Message- From: Johnson Leung [mailto:[EMAIL PROTECTED] Sent: 21 March

hrml:link transaction

2004-03-22 Thread James Scrimshire
It appears that the token is not being saved using the transcation=true property is there something i am missing here? the isValidToken(request) method in my Action claims the token is not valid? but this is on the first submission to the action from the followling link html:link

Re: There *has* to be an easy way to do this...

2004-03-22 Thread Mark Lowe
Your using OM objects and stuffing them into your view but this should still work anyhow. CreditCost newCost = new CreditCost(); creditCostList.add(newCost); Have an add action do the above, I assume you're scoping to session as you're iterating through a scoped array/list and not a form

Any body knows how to use Struts Pagination? Give me a sample code

2004-03-22 Thread Ramachandran
Hi Lists, I want to use pagination in my project. I am having all the resources for pagination. Any body please give me sample example for that one using pager-taglib. It will be very helpful for me.. Ram - To unsubscribe,

ActionServlet.getRequestProcessor

2004-03-22 Thread Namasivayam, Sudhakar (Cognizant)
Title: ActionServlet.getRequestProcessor Hi all, I keep getting this exception message when i stop and start the webapp. IF i insert a try catch block in the action servlet class,it works fine... Can any one explain me why this exception occurs? I did verify that

How to Configure Struts in SAP web As 6.3

2004-03-22 Thread Bala S Subramanian
Hi, I am currently trying to plugin the struts 1.1 to SAP Web AS 6.3. I facing a big problem in struts which is mentioned below: javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAGE at

Re: There *has* to be an easy way to do this..

2004-03-22 Thread Joe Hertz
In a word, Doh! I'm using a DynaForm, and frankly, wanted this as a form property, but well...Let's just say I was brainwashed by my previous paradigm. Rather than using a List in the dynaform, I'm going to create a bunch of String[] properties. Not even so much for the decoupling aspect

Re: There *has* to be an easy way to do this..

2004-03-22 Thread Mark Lowe
You could get what you're doing now running using ArrayList as a form property. and then nest your hibernate Beans in there until such a time as you have enough time to change things . form-bean name=creditCostsForm type=... form-property name=creditCosts type=java.util.ArrayList /

Indexed Property

2004-03-22 Thread Prakasan OK
Hi, can anyone give me a sample code for implementing indexed properties? how should the jsp page and the corresponding Action class look like? thanks, Prakasan

java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException

2004-03-22 Thread Bala S Subramanian
Hi , I tried to call the action classes http://localhost/context rootlogin.do, am getting the following exception java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1403) at

RE: java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException

2004-03-22 Thread Ashutosh Satyam
If your application is deployed as a default ROOT application, then Your URL should be only http://localhost/login.do I could make out only this much. If this helps fine, else provide some more information. - Ashutosh Satyam -Original Message- From: Bala S Subramanian [mailto:[EMAIL

Struts Validator

2004-03-22 Thread Matthew Clark
Hi there, I am new to Struts and this mailing list but by no means new to Java. I have been reading the Struts in Action book and taken a quick look at the API etc and have a simple question regarding the Validator in my environment. We are an Application Service Provider and serve well over

RE: java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException

2004-03-22 Thread Bala S Subramanian
Hi, I dont have problem in accessing the url, but it says Class not founf exception. I would like to know from where I can get the SAX jar file so that I can place in Lib directory. thanks Bala Ashutosh Satyam [EMAIL PROTECTED] 03/22/2004 05:34 PM Please respond to Struts Users

RE: java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException

2004-03-22 Thread anuj . upadhyay
SAX is part of the J2SE 1.4.2, see http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/package-summary.html I am not sure which sdk you have and may have to get relevant jar file. More info is available at http://java.sun.com/xml/ and http://www.saxproject.org/. HTH Anuj Bala S

RE: Indexed Property

2004-03-22 Thread Robert Taylor
http://jakarta.apache.org/struts/faqs/indexedprops.html -Original Message- From: Prakasan OK [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 6:18 AM To: Struts Users Mailing List Subject: Indexed Property Hi, can anyone give me a sample code for implementing indexed

RE: java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException

2004-03-22 Thread Bala S Subramanian
Hi, I included the rt.jar which comes along with J2SE 1.4.2 but am getting unsupported version error java.lang.UnsupportedClassVersionError: org/xml/sax/SAXParseException (Unsupported major.minor version 48.0) at java.lang.ClassLoader.defineClass0(Native Method) at

RE: java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException

2004-03-22 Thread Kumar, Ram S
If you get an unsupported version error, you need to download the latest jar files (XML Jar files). Thanks and Regards, S.Ramkumar -Original Message- From: Bala S Subramanian [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 6:45 PM To: Struts Users Mailing List Subject: RE:

RE: java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException

2004-03-22 Thread Bala S Subramanian
I am currently using Struts 1.1 and I would like to know which version of SAX is supported for this. I would be greatful, if anyone of you tell me the site to download the jar files. thanks Bala Kumar, Ram S [EMAIL PROTECTED] 03/22/2004 06:47 PM Please respond to Struts Users Mailing List

RE: java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException

2004-03-22 Thread anuj . upadhyay
Bala, I think the problem is not with the jar but the jdk version. Check which version you have/support and then get the relevant jar. Also have a look at: http://www.artima.com/forums/flat.jsp?forum=61thread=4792 HTH Anuj Bala S Subramanian [EMAIL PROTECTED] on 03/22/2004 02:20:03 PM

Re: java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException

2004-03-22 Thread Christoph Kutzinski
Bala S Subramanian wrote: Hi, I included the rt.jar which comes along with J2SE 1.4.2 but am getting unsupported version error java.lang.UnsupportedClassVersionError: org/xml/sax/SAXParseException (Unsupported major.minor version 48.0) This means probably that you try to run Struts with an

Re: java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException

2004-03-22 Thread Bala S Subramanian
Hi Chris, Previously, i was using jdk 1.3 and I got Class not Found Exception (org/xml/sax/SAXParseException). And, I replaced jdk 1.3 with jdk 1.4 as per group message,then I got the UnsupportedException. I would like to know whether I can download the SAX Parser jar irrespective of

Re: Indexed Property

2004-03-22 Thread Mark Lowe
I don't know how helpful those examples are in reality as there are a few details missing.. So here's an example. Personally i like nesting forms although this isn't to everyone's taste. The example uses LazyList to allow you to scope the form to request and the example was provided by Paul

Re: Indexed Property

2004-03-22 Thread Mark Lowe
correction On 22 Mar 2004, at 14:42, Mark Lowe wrote: I don't know how helpful those examples are in reality as there are a few details missing.. So here's an example. Personally i like nesting forms although this isn't to everyone's taste. The example uses LazyList to allow you to scope the

Form post data in tomcat log

2004-03-22 Thread hermod . opstvedt
Hi I am getting all the post-data from my Strutsform dumped to the Tomcat system log. I have searched around, but have not found any way of turning this off. Anybody have a clue ? Its only the form-post data that gets written to the log. Hermod * * * * * * * * * * * * * * * * * * *

html:Selectalternatives

2004-03-22 Thread as as
Hi I tried a lot but in vain, to show a certain default in a drop down as selected, using my select statement as follows: select name=completeName logic:iterate id=teacher name=teachers option value=bean:write name=teacher property =SSN/ bean:write name=teacher property =completeName/

RE: security framework!!!

2004-03-22 Thread as as
InteresTing discussion.Is there more website links on the same Thanks! Craig R. McClanahan [EMAIL PROTECTED] wrote: (Jumping in late, and trying to catch up on several hundred email messages in my STRUTS-USER folder, but better late than never ...) Quoting David Friedman : Adam, With

Re: html:Selectalternatives

2004-03-22 Thread Mark Lowe
You haven't even tried using the struts tag.. html:select property=teacher html:option value=--/html:option html:options collection=teachers property=ssn labelProperty=completeName / /html:select now if the value of teacher equals one of the ssn values it will be selected. On 22 Mar 2004,

Struts web app performance improvement

2004-03-22 Thread Pingili, Madhupal
Hello All, We just ran the stress test on a web app. ( that searchs/retrieves documents from FileNet IS system) developed using Struts 1.1. Overall, the application appeared to slow down significantly with only 50 users, the average response time on my PC was about 30 seconds to bring up a page

Re: html:Selectalternatives

2004-03-22 Thread as as
MArk, Thanks for the quick reply. Yes, I did try that tooIt shows me correctly (in System.out.println), my form's default value of completeName of teacher but on the jsp page/form bean, it shows the drop down sorted and not the selected value. Really donno what could be wrong...? Thanks in

RE: security framework!!! (Addendum to my previous post)

2004-03-22 Thread as as
Hi, Has anyone tried filters framework (filter tag in web.xml) in struts for role based access to webpages in a enterprise wide application...deployed in weblogic...we tried this and seems each sub-application needs a differenet, its own web.xml and a single integrated web.xml.. Any

Struts/filters

2004-03-22 Thread as as
Hi, Has anyone tried filters framework (filter tag in web.xml) in struts for role based access to webpages in a enterprise wide application...deployed in weblogic...we tried this and seems each sub-application needs a differenet, its own web.xml and a single integrated web.xml.. Any

RE: Struts web app performance improvement

2004-03-22 Thread Smith, Darrin
What sort of box was it run on? Processor speed and number of CPUs please. That would make a big difference. -Original Message- From: Pingili, Madhupal [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 8:54 AM To: 'Struts Users Mailing List' Subject: Struts web app performance

Re: Struts web app performance improvement

2004-03-22 Thread as as
Hi Pingili, I am interested in this topic too...which tool are u using for the stress test... is it JProbe or winRunner... I have a struts app deployed in weblogic, that I want to test and improve performance of... Thaks in advance, Sam. Pingili, Madhupal [EMAIL PROTECTED] wrote: Hello All, We

Re: html:Selectalternatives

2004-03-22 Thread Mark Lowe
What does you form bean look like dyna or otherwise? The value of teacher.getSsn() (i.e. html:options collection=teachers property=ssn ) must match the value of html:select property=teacher or whatever you called it. The value of teacher must be set somewhere, it cant do things by magic. On

RE: Struts/filters

2004-03-22 Thread Pady Srinivasan
We do this in our web app. We have a config xml with all our functional categories defined. All these categories are accessed from the webapp using a menu. We have a second config file that defines all the users/roles. Each role is assigned to one or more functional categories. When user logs in,

Changing the FileUpload-Processing

2004-03-22 Thread Tim . Adler
Hello everybody! I wrote to the Mailing-List some days ago. That was about the displaying of progress-bars during fileupload. I made progress on this in that manner that I have a patched version of the commons-fileupload-library which can do the thing. But now I have to change the way Struts

RE: JSPG0103E: Unable to open taglibrary /WEB-INF/struts-bean.tld

2004-03-22 Thread Randy Dillon
I got this when I deployed without the taglib jar file in the war/ear files. :- -Original Message- :- From: ansuman_behera [mailto:[EMAIL PROTECTED] :- Sent: Friday, March 19, 2004 2:07 AM :- To: Struts Users Mailing List :- Subject: JSPG0103E: Unable to open taglibrary :-

Re: html:Selectalternatives

2004-03-22 Thread as as
I am using ActionForm and not DynaActionForm I will post back now with the actual classes... Thanks! Mark Lowe [EMAIL PROTECTED] wrote: What does you form bean look like dyna or otherwise? The value of teacher.getSsn() (i.e. html:options collection=teachers property=ssn ) must match the

RE: Struts/filters

2004-03-22 Thread Pady Srinivasan
Unfortunately, I cannot give out our code. But it basically involves the following: 1. LoginFilter authenticates the user. Creates a User object. 2. LoginFilter calls a ConfigManager to build a Menu for the User. 3. ConfigManager loads the user profile from an xml file.

Odd behaviour with utf-8 on weblogic 8.1

2004-03-22 Thread Colm Garvey
I've just discovered a very odd bug/feature , but I'm not entirely sure what's causing it. I have a resource bundle for thai which has been encoded as utf-8. If I specify %@ page contentType=text/html; charset=UTF-8 language=java ... in my JSP pages I wind up with gobbledigook, but if I simply

RE: Struts/filters

2004-03-22 Thread as as
I understand. Thanks for the algorith below, though! Pady Srinivasan [EMAIL PROTECTED] wrote: Unfortunately, I cannot give out our code. But it basically involves the following: 1. LoginFilter authenticates the user. Creates a User object. 2. LoginFilter calls a ConfigManager to build a

AW: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-22 Thread Just Fun 4 You
hm. In my ActionClass I have something like this: ActionMessages messages = new ActionMessages(); String text = \n: + getCriticalDate.toString() + --; text = text + getTotalHours() + hours.\n; messages.add(critical.schedule.text, text); saveMessages(request, messages); In my jsp:

RE: Odd behaviour with utf-8 on weblogic 8.1

2004-03-22 Thread Kumar, Ram S
Have you tried? %@ page language=java% % Response.setContentType(text/html;charset=UTF-8); in your jsp page? % Thanks and Regards, S.Ramkumar -Original Message- From: Colm Garvey [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:06 PM To: Struts Users Mailing List Subject: Odd

RE: Refresh parent window on popup submit with old params to parent

2004-03-22 Thread Freddy Villalba Arias
I'd say: Popup submits info. Info ges processed. Popup gets reloaded. On popup reload, invoke refresh on parent, then close (in that exact order). Parent gets fresh info. There is only one race-condition with this approach: The background operations launched by the popup's submit action (I

RE: Struts web app performance improvement

2004-03-22 Thread Pingili, Madhupal
It is Rad View's Web Load tool that our testing team used. -Original Message- From: as as [SMTP:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:02 AM To: Struts Users Mailing List Subject: Re: Struts web app performance improvement Hi Pingili, I am interested in this

Re: AW: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-22 Thread Mark Lowe
Whats actually in your properties file..? Paste the rendered source into the reply, i think its a javascript problem. On 22 Mar 2004, at 18:04, Just Fun 4 You wrote: hm. In my ActionClass I have something like this: ActionMessages messages = new ActionMessages(); String text = \n: +

RE: Struts web app performance improvement

2004-03-22 Thread Pingili, Madhupal
It is IBM AIX 5.1, 1 CPU, 450 MHz, 1GB RAM. -Original Message- From: Smith, Darrin [SMTP:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 10:03 AM To: 'Struts Users Mailing List' Subject: RE: Struts web app performance improvement What sort of box was it run on?

RE: Struts web app performance improvement

2004-03-22 Thread Smith, Darrin
With a single 450 MHz CPU, I can see why it would drag. The cheapest way to improve performance might simply be to upgrade the CPU to something more modern. -Original Message- From: Pingili, Madhupal [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 11:28 AM To: 'Struts Users Mailing

struts-reports

2004-03-22 Thread as as
Hi, I have a struts page that needs to generate reports based on filtering criterion like (date from, date to, type of report, type of data to show). my back end database is hibernate. Is there some sort of open source for such a purpose.basically looking for fast page response time-to fetch

RE: Struts web app performance improvement

2004-03-22 Thread henrik . bentel
Are you running under http or https? Pingili, Madhupal [EMAIL PROTECTED] 03/22/04 11:28 AM Please respond to Struts Users Mailing List To: 'Struts Users Mailing List' [EMAIL PROTECTED] cc: Subject:RE: Struts web app performance improvement It is IBM

complex forwarding logic?

2004-03-22 Thread Nick Wesselman
I'm writing an application that will require some fairly complex forwarding logic. After an action completes, it will need to query my model for the current application state and translate that into the appropriate forward/next step. The forward itself may require some pre-processing. To

Re: struts-reports

2004-03-22 Thread Mark Lowe
On 22 Mar 2004, at 19:06, as as wrote: Hi, I have a struts page that needs to generate reports based on filtering criterion like (date from, date to, type of report, type of data to show). Make some util classes that return what you need with what you need from you model. List fooList =

RE: complex forwarding logic?

2004-03-22 Thread Pady Srinivasan
You can try something like the Interceptor pattern. For a specific request, register a series of command classes with a Manager. The Manager calls each interceptor in the order specified. This way you can add commands ( steps ) without changing existing code. Almost like Struts Action

RE: Struts web app performance improvement

2004-03-22 Thread Pingili, Madhupal
http only. -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 1:07 PM To: Struts Users Mailing List Subject: RE: Struts web app performance improvement Are you running under http or https? Pingili, Madhupal [EMAIL

RE: complex forwarding logic?

2004-03-22 Thread Hookom, Jacob
Leave action forwards alone and instead, create a supporting method that can be called from your actions that looks at your session and returns the appropriate actionforward. So there's your complex logic, I wouldn't re-write the struts forwarding framework. String stepName =

user login authentication and session timeout

2004-03-22 Thread Charles Jordan
I'm looking for examples or to be pointed in the right direction on how to achieve the following. I want my users to be able to access a mojority of my pages without having to login, but if they select a specific page a small login pop-up window would display which would require a valid user name

Struts 1.0.2b and JDK 1.4.2

2004-03-22 Thread Kramer, Brad
Can anyone either confirm or deny if Struts 1.0.2b is compatible with JDK 1.4.2? Thanks a lot! _ Brad Kramer Web Application Server Engineering Phone - 703.833.3402 Pager - [EMAIL PROTECTED] _

Re: Changing the FileUpload-Processing

2004-03-22 Thread Martin Cooper
You shouldn't have to worry about the request processor. The multipart handler is pluggable, so you can simply replace the one Struts uses with your own by specifying the class name in the 'multipartClass' attribute of the controller element in your Struts config file. The multipart handler is

RE: complex forwarding logic?

2004-03-22 Thread Joe Germuska
Depending on your appetite for the cutting edge, you may want to investigate struts-chain, which is currently in contrib, but which is targeted for replacing the current RequestProcessor on a Struts 1.3.x timeframe (which will probably begin in earnest shortly after the move to Apache TLP

RE: user login authentication and session timeout

2004-03-22 Thread Kumar, Ram S
Hi, You can consider the following ways: 1) You can associate an action class for the page that requires a username and password. In that action class you can prompt for username and password. Have a separate action class for the urls that doesn't require login. 2). Have a query string

Error while upgrading from struts version 1.0 to 1.1

2004-03-22 Thread Jignesh Kapadia
Hi , I am upgrading my current application from Struts 1.0 to Struts 1.1. The application is working properly with version 1.0. I just copied the struts 1.1 realted jar files in my web-inf/lib directory. Now when I restart my application it gives meError while loading Action Servlet. its failing

RE: user login authentication and session timeout

2004-03-22 Thread Robert Taylor
Charles, you can use container managed security or the SecurityFilter to authenticate users when accessing protected resources. You can set the session time out by adding something like the following to your web.xml file: session-config session-timeout60/session-timeout /session-config

RE: Error while upgrading from struts version 1.0 to 1.1

2004-03-22 Thread Saul Q Yuan
I think you need to recompile your application against the new Struts.jar file and other jar files it depends on. Saul -Original Message- From: Jignesh Kapadia [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 1:55 PM To: [EMAIL PROTECTED] Subject: Error while upgrading from

AW: AW: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-22 Thread Just Fun 4 You
Hi Mark, the properties file holds for critical.schedule.text: critical.schedule.text=Folgende Termine sind wg zeitlicher Überlastung für The rendered jsp looks like this: ... logic:messagesPresent script language=javascript

[OT] multiple submit buttons on a single page

2004-03-22 Thread Glanville, Jay
Hello all. A slightly of-topic question for the group ... The situation: a form with two submit buttons, and the user doesn't use either of them, but instead submits the form by pressing enter/return in one of the text fields. Question: how does the form get submitted? Is it by: - the action

Re: complex forwarding logic?

2004-03-22 Thread Nick Wesselman
Thats exactly what I'm talking about, except WizardSupport would also do some work setting up the request for the next forward. The problem I'm having is reuse. Say I want to use WizardSupport again in a similar app, but add another step. How can I subclass WizardSupport without having to

Re: AW: AW: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-22 Thread Mark Lowe
Weird .. I thought it might be the accented characters but safari, msie mac and firefox all work. And mise 6 on windoze. If the message gets to your page then its a javascript issue, but i certainly cant recreate it. I assume that logic:messagesPresent /logic:messagesPresent doesn't

AW: AW: AW: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-22 Thread Just Fun 4 You
I am pretty sure that this is a javascript issue. I am just wondering why it all works when I remove the \n character. What does it make the difference to javascript? Maybe others can jump in here. Again: having a string like \nsomeText\nAnotherText\n put in a ActionMessage object causes a

Re: AW: AW: AW: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-22 Thread Mark Lowe
send the whole rendered code with the \n's .. On 22 Mar 2004, at 21:37, Just Fun 4 You wrote: I am pretty sure that this is a javascript issue. I am just wondering why it all works when I remove the \n character. What does it make the difference to javascript? Maybe others can jump in here.

RE: AW: AW: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-22 Thread Saul Q Yuan
Like Mark suggested, it'll help if you post the rendered jsp code here, ie. View source, copy and paste here. Saul -Original Message- From: Just Fun 4 You [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 3:37 PM To: 'Struts Users Mailing List' Subject: AW: AW: AW: multiple

AW: AW: AW: AW: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-22 Thread Just Fun 4 You
Hi Mark, I got it solved. It is really a stupid mistake. In a string I have to put it like \\nsomeText\\nAnotherText\\n. Now it works. Thanks for bearing it... -Ursprüngliche Nachricht- Von: Mark Lowe [mailto:[EMAIL PROTECTED] Gesendet: Montag, 22. März 2004 21:39 An: Struts Users

RE: Struts web app performance improvement

2004-03-22 Thread henrik . bentel
hmm Try load test with only doing one thing. For example, run a load test where you only get a gif or the same static page over again. Something that does not involve business logic. See what performance you get. Then load test one part of you web-app where struts is involved (getting a

Re: [OT] multiple submit buttons on a single page

2004-03-22 Thread Colin Kilburn
Hi Jay, In my experience (although I haven't paid attention to it lately), neither button (e.g. submit=button caption) is submitted. This may also depend on the browser. HTH, Colin Glanville, Jay wrote: Hello all. A slightly of-topic question for the group ... The situation: a form with

Disabling BACK buton

2004-03-22 Thread Au-Yeung, Stella H
We have a Struts application that allows users to create/update orders etc. How can we disable the BACK button so users cannot use it to go back to previous 'submitted' screens to re-submit what's been submitted. Likewise, we don't want the user to go back to an outdated list of search results.

RE: Disabling BACK buton

2004-03-22 Thread Hookom, Jacob
Look at Javaworld.com for an article on struts and tokens -Original Message- From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 3:36 PM To: '[EMAIL PROTECTED]' Subject: Disabling BACK buton We have a Struts application that allows users to create/update

RE: [OT] multiple submit buttons on a single page

2004-03-22 Thread Wendy Smoak
From: Glanville, Jay [mailto:[EMAIL PROTECTED] The situation: a form with two submit buttons, and the user doesn't use either of them, but instead submits the form by pressing enter/return in one of the text fields. Question: how does the form get submitted? Anecdotally, I'd say the

test

2004-03-22 Thread shaz731
pls ignore - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problem with bean

2004-03-22 Thread Vishal Arora
Hi Can anybody me. I m not able to set values in my bean. My bean is having lots of get and set method they all return boolean values but the value i pass is not set it takes the default value. What's the problem does anybody ahve the clue to my problem -- Don't worry about the world coming

Re: Validation Question with Indexed Properties

2004-03-22 Thread Craig Tataryn
friendly *bump* On Sun, 21 Mar 2004 18:12:54 -0600 (CST), Craig Tataryn wrote: Hi, I have the following definition in my validation.xml file: formset form name=MarketAddressForm field property=provStateId

DynaActionForm caching issues?

2004-03-22 Thread Norris, David A. ERDC-CERL-IL Contractor
Hello, This message is in response to Geeta Ramani's post on March 4 entitled DynaActionForm IllegalArgumentException. In short, I have a DynaActionForm defined in struts-config.xml. It's been around for a while, but I find that each time I make a change to it (for instance, adding a new

Urgent

2004-03-22 Thread Vishal Arora
Hi, I m setting boolean values into my get set methods of bean but it is returning default values. does anybody have any answer Thanks in advance -- Don't worry about the world coming to an end today.It's already tomorrow in Australia. Vishal.

RE: DynaActionForm caching issues?

2004-03-22 Thread Norris, David A. ERDC-CERL-IL Contractor
Note: JBoss 3.2.3 includes an integrated Tomcat 4.1.29, which is of course more likely to be relevant to this problem than JBoss itself... -Original Message- From: Norris, David A. ERDC-CERL-IL Contractor [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 4:45 PM To: [EMAIL

RE: Urgent

2004-03-22 Thread Gopalakrishnan, Jayesh
Review your set method and make sure you are storing the value in appropriate member variable ... and are accessing the same variable in the get method. thats all I can say with the info I have. You need to provide more information for us to understand the issue. Please provide the bean code

RE: Urgent

2004-03-22 Thread Dhaliwal, Pritpal (HQP)
Hello Vishal, You should provide more information. How did you declare your bean. Copy that line from the struts-config.xml. Where do you set the values and where do you try to access them? How about if you try to access them right after you set them. I am sure that will work. I think it seems

[OT} web service question

2004-03-22 Thread Ashish Kulkarni
Hi, i am trying to develop a webserivce using RPC and/or SOAP all the samples i have seen dont deal atall with the database or with servlet context, I want to get data from a servlet context which i load when loading the application can anyone provide some code example or site where i can have

Re: AW: AW: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-22 Thread Domingo A. Rodriguez S.
What if it could be solved by escaping again the '\' symbol?. Instead of using '\n' use '\\n'. --- Just Fun 4 You [EMAIL PROTECTED] escribió: Hi Mark, the properties file holds for critical.schedule.text: critical.schedule.text=Folgende Termine sind wg zeitlicher Überlastung für

RE: Error while upgrading from struts version 1.0 to 1.1

2004-03-22 Thread Jignesh Kapadia
Well, All the jar files are compiled properly. do we need to add some special parameter in in Struts-Config.xml file? It seems its looking for some Message Resource Factory Information. Also does Struts 1.1 work with JDK 1.3.* or we need to have JDK 1.4*? I am struggling with this for

UTF-8 encoding problem (Urgent, please help)

2004-03-22 Thread Betty Koon
Hi all, I ran into a problem of posting a hidden form field with a special UTF-8 characters and when it gets to the action and I looked at the action form had a different value, it's no longer containing UTF-8 characteres instead a '? was replaced. In my jsp, I have to put %@ page

Using struts-config to configure properties in action form

2004-03-22 Thread Chan, Jim
I am trying to configure properties in my ActionForm using the struts-config file as follows. form-bean name=myForm type=com.myCompany.MyForm set-property property=foo value=bar / /form-bean public Class MyForm extends ActionForm { private String foo; public void

Re: Error while upgrading from struts version 1.0 to 1.1

2004-03-22 Thread Saul Q Yuan
Well, here is a bit longer version of the reply. There are many changes from Struts 1.0.1 to 1.1, you can find a full description below: http://jakarta.apache.org/struts/userGuide/release-notes.html and the configuration changes below.

Re: Struts web app performance improvement

2004-03-22 Thread Martin Gainty
Herr Bentel: I would look at Performance tuning using Websphere Clustering http://www-902.ibm.com/hk/e-business/events/archives/downloads/win_websphere /performance.pdf BTW (Messaging cannot be clustered at least as of late last year) Vielen Dank, Martin Gainty - Original Message -

RE: [OT] multiple submit buttons on a single page

2004-03-22 Thread Benz Lim
-form action=Action.do || || | [] text field | || | [submit1][submit2] | -/form--- By default the first submit button should be activated for the submission. If you

Re: Using struts-config to configure properties in action form

2004-03-22 Thread Saul Q Yuan
set-property is not a sub-tag of form-bean, form-property is though. If you're not using dynamic form bean, you don't need to define the properties in the form-bean tag. HTH, Saul - Original Message - From: Chan, Jim To: '[EMAIL PROTECTED]' Sent: Monday, March 22, 2004 8:27

RE: Using struts-config to configure properties in action form

2004-03-22 Thread Chan, Jim
set-property is a sub-tag, check out the dtd - http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd I suspect that my problem is because I am supposed to use sub-classes of FormBeanConfig, but I haven't been able to hook it up to my form yet. -Original Message- From: Saul Q Yuan

How can I refresh my jsp

2004-03-22 Thread Mu Mike
sample1.jsp: form action=/action1.do .. /form this is my action definition action path=/action1 type=com.mycom.Action1 name=myForm scope=session forward name=success path=/sample2.jsp/ /action but when I finished the action in sample1, it

Re: Using struts-config to configure properties in action form

2004-03-22 Thread Kumar M
set-property sets the attributes on the FormBeanConfig object itself that is created for that particular form-bean tag. Since foo is not a property on FormBeanConfig you see this error. You can extend FormBeanConfig and include the attribute foo in there but I am not sure what you will gain

Re: Error while upgrading from struts version 1.0 to 1.1

2004-03-22 Thread Jignesh Kapadia
Well I think my struts-config.xml is proper except I dont know what to put for controller /controller In web.xml file all parameters are proper Except following config/${module} and rulesets parameter . My aplication has only one module and I dont know what to put for RuleSet since I am using

RequestProcessor Class cast Exception - correction

2004-03-22 Thread Namasivayam, Sudhakar (Cognizant)
Hi all, Sorry folks... A correction to my previous mail... I do not get this exception message when i stop and start the webapp. Only when a action is invoked this exception occurs!! Both the times( stop-start and action.do ) it is trying to get the

Using SSL Extension and Workflow Extension together

2004-03-22 Thread Scott Ryan
I would like to use the Workflow extension and the SSL/Non SSL extension together. Is this possible? It looks like they replace the capability of the request processor and that they are mutually exclusive. Is there a way to use both? I am using tiles to support my application. I am able to

HELP: applet-to-action anomaly

2004-03-22 Thread w i l l i a m b o y d
hi, please can someone help? i am building a struts 1.1 based web app using j2sdk1.4.2, tomcat 4.0.6. i'm using a 3rd-party tree applet for site navigation (a constraint specified by the client). i've got an action which can be accessed with this uri:

  1   2   >