passing input form value to error message

2006-06-19 Thread Dhanasekaran Vivekanandhan
Hi All, I am using struts1.2.9, and one of the form input value is date field and i want to show the error message, "Date entered,0909200 is not a valid date", if the date entered in the form is 0909200. I am using the datePattern validator plugin.I dont know how to pass the user input date value

Re: Urgent: Need help in JSP precompilation

2006-06-19 Thread Lintang JP
maybe you need to include jstl.jar to your classpath ? On 6/20/06, priyadarsh kankipati <[EMAIL PROTECTED]> wrote: Hi, I was facing problem while precompiling the JSPs. I followed the approach given in the below link. http://tomcat.apache.org/tomcat-5.0-doc/jasper-howto.html using ant. The p

Re: Image Caching in Tomcat

2006-06-19 Thread paz . periasamy
Hello Mukta, I would nto advice to disable the Image caching in Tomcat. Since this will affect the performance of the over all server. Moreover the Internet Browser also cahces the Images. Inorder to solve this problem completely, I used to follow a simple solution. Consider the Image tag is

Image Caching in Tomcat

2006-06-19 Thread Mukta
Hi All, I am developing a struts application using JDK version 1.5.0 and Apache Tomcat 5.5 I am using Struts FormFile to upload some images to replace the older ones but when I try to view them in my jsp, it still shows me the older images which have been replaced by the older ones. I have tried

Urgent: Need help in JSP precompilation

2006-06-19 Thread priyadarsh kankipati
Hi, I was facing problem while precompiling the JSPs. I followed the approach given in the below link. http://tomcat.apache.org/tomcat-5.0-doc/jasper-howto.html using ant. The problem I was facing is with the custom tags. I could successfully precompile the struts tags but not the c

Re: [shale] Problems with View controller

2006-06-19 Thread Craig McClanahan
On 6/19/06, Marty Phee <[EMAIL PROTECTED]> wrote: Ok, I've got most everything working. Combination of things mostly me not know how to configure everything. There is a problem though if you use tiger and subview. Only init() will be called if the bean is marked session. If you mark it reque

Re: Not getting URL rewriting with

2006-06-19 Thread Richard Yee
According to the documentation if you use href, the value passed will be unchanged. It looks like you should use action=userlogin_display and the property and name attributes to set the action parameter. -Richard Mon Cab wrote: I have a jsp page called link test (included below), However, the

Not getting URL rewriting with

2006-06-19 Thread Mon Cab
I have a jsp page called link test (included below), However, the url for *Login Link* is not being rewritten to include the jsessionid. Cookies are disabled on my browser, and jsessionid is being generated for form submissions, but not for links. Am I missing something here? Pleae help. <%

Re: [shale] Problems with View controller

2006-06-19 Thread Marty Phee
Ok, I've got most everything working. Combination of things mostly me not know how to configure everything. There is a problem though if you use tiger and subview. Only init() will be called if the bean is marked session. If you mark it request init and destroy will be called. The problem

Bean Information not Displaying on Failed Validation

2006-06-19 Thread Wiles, Cory
I have a form that a user fills out, selects from a dropdown of a recipients and when they click submit the form it is submitted to the recipient they choose. In the email that the recipient receives it has a display of the filled in form information and a link at the bottom that the user can c

Re: Request parameters in action forward

2006-06-19 Thread Don Vawter
Can you take the request parameter and populate a hidden form field with it? Mixing request params with form fields has caused me grief more than once. On Jun 19, 2006, at 7:34 PM, Antonis Lebesis wrote: Hello, I have a jsp (foo.jsp) that displays information about a certain foo. I have defi

Request parameters in action forward

2006-06-19 Thread Antonis Lebesis
Hello, I have a jsp (foo.jsp) that displays information about a certain foo. I have defined a LoadFooAction, that prepares the foo object and the SubmitFooAction, that is called when I want to change the appearance of foo in foo.jsp [suppose that foo is a list of bars and that I want to change th

Fwd: [ANN] Mail Reader sample application implemented with Struts Action Framework + JSP Controls Tag Library

2006-06-19 Thread Michael Jouravlev
Live demo of Mail Reader sample application (built with Struts Action Framework + JSP Controls Tag Library) can be found at the following URL: http://www.jspcontrols.net/mailreader/ Use "user"/"pass" account to log in and manage subscriptions. If you cannot log in then someone apparently already

Re: [shale] Problems with View controller

2006-06-19 Thread Craig McClanahan
On 6/19/06, Marty Phee <[EMAIL PROTECTED]> wrote: I'm using: shale, tiger, tiles. Nothing like trying *all* the new stuff all at once :-). How recent is the Shale build you are using? I ask because there were recent (after 1.0.2) changes in how init and destroy get called such that they sho

Re: Cancel button sets the form value

2006-06-19 Thread Rick Reumann
Monkeyden wrote: I don't use the execute() method of Action at all and have implemented a separate abstract doCancel method in my base action, which cleans up any unecessary state, but this requires an extension of the struts/tiles request processor. I find it easier just to use an html:subm

Re: How to specify default displayed value in html:select

2006-06-19 Thread Rick Reumann
Pankaj Gupta wrote: Hi, Please suggest how can I specify which value(s) to be displayed as selected by default in html:select tag, when specified through collection attribute. I think it's best to set this up in your Action 'before' you forward to the JSP, or if you know what will always be

[shale] Problems with View controller

2006-06-19 Thread Marty Phee
I'm using: shale, tiger, tiles. I have a layout with one of the tiles being AdminContent.jsp. path="/admin/layouts/mainLayout.jsp"> I have a backing bean bean.AdminContent which is also declared as a @View. @Bean(name="AdminContent", scope= Scope.

RE: ajax:autocomplete tag

2006-06-19 Thread Bharat Kumar Meda
Hi, I am using autocomplete feature (using prototype.js) for the name field. Event.observe(window, "load", function() { var aa = new AutoAssist("company", function() {

RE: Help required: No bean found exception

2006-06-19 Thread Samere, Adam J
Perhaps your session timed out? -Original Message- From: Bharat Kumar Meda [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 12:57 PM To: Struts Users Mailing List Subject: Help required: No bean found exception Hi, I have a struts based application for adding, deleting and searc

RE: Submission of collection of collection

2006-06-19 Thread Vijayraghav Nerella -X \(vraghav - eTouch Systems at Cisco\)
Hi Rick, Thank you for your suggestion. Your suggestion solved my problem with great ease. While searching for the solution, I thought of using nested: tag, but I thought nested can generate html tag names of format 'bean1.bean2.bean3.foo...' but will not be able to generate html tag names of

Help required: No bean found exception

2006-06-19 Thread Bharat Kumar Meda
Hi, I have a struts based application for adding, deleting and searching records. (single jsp, three buttons, one form, one action) Form is with session scope. While loading the jsp, I prepopulate with data obtained from DB. Everything was working fine. But suddenly I got the following exceptio

Re: help in maven

2006-06-19 Thread Craig McClanahan
On 6/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Dear all, I am new to Maven. Can u suggest me a good resource to learn maven. A very helpful resource is an online e-book, "Better Builds With Maven"[1]. I have exp. in ant tool. What way maven differs from ant? Help plz. regards

Re: Cancel button sets the form value

2006-06-19 Thread Monkeyden
Sounds like you're expecting to do something with the form after after cancel is selected. If, from a user experience perspective, the cancel button is doing what it's supposed to, you shouldn't care what the form has in it since the user cancelled anyway. I don't use the execute() method of Act

Re: [shale] Design question involving ViewController

2006-06-19 Thread Craig McClanahan
On 6/17/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: >From: "Sean Schofield" <[EMAIL PROTECTED]> > > I am writing an application that is using MyFaces tree2 to allow the > user to navigate to a more detailed view of the item they click on. I > just wanted some feedback on the following strategy:

BlueOxygen.org Projects Release, all WebWork Project, soon will be powered SAF 2 Projects.

2006-06-19 Thread Frans Thamura @ Meruvian
We released 3 new project under our BlueOxygen Projects, the Lotion SFA, Ramen Material Management, Obat Help Desk, and Papaje Job MArketplace. All of these projects powered by Cimande, an integration project of WebWork/Struts Action, Spring, Hiberante, and Velocity. If you are think that JS

Re: Struts1.3

2006-06-19 Thread Ted Husted
We in the process of releasing 1.3.x milestones. Then next one is 1.3.5, which I believe Niall plans to roll by the end of the month. * http://wiki.apache.org/struts/StrutsActionRelease135 * http://wiki.apache.org/struts/StrutsUpgradeNotes12to13 * http://struts.apache.org/struts-action/userGuide/

RE: ServletConfig, ServletContext and ServletContainer

2006-06-19 Thread Pradyumna kumar, Jena \(J.\)
Hi vasu, Your Serveletcontext represent ur webapp while ur servletConfig is associated with a particular servlet , its provides the initial config parameters that are necessary for ur servlet to work properly and we have kept those in xml as per the intention to make ur servlet work like a componen

Re: ServletConfig, ServletContext and ServletContainer

2006-06-19 Thread Paul Benedict
ServletConfig = holder of a servlet's configuration from web.xml ServletContext = the runtime data of your web application (all of web.xml) ServletContainer = the actual web application server. Paul vasumathi <[EMAIL PROTECTED]> wrote: Hi I have a confusion with Difference between ServletCo

RE: How to specify default displayed value in html:select

2006-06-19 Thread Mukta
You can specify in body onload as follows You can specify any index that you want to set as default selection. -Original Message- From: Pankaj Gupta [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 4:13 PM To: Struts Users Mailing List Subject: How to specify default displayed v

RE: How to set size of submit button

2006-06-19 Thread Mukta
Just try -Original Message- From: José Moreira [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 2:59 PM To: Struts Users Mailing List Subject: Re: How to set size of submit button [EMAIL PROTECTED] wrote: > I am using html:submit for creating 4 sumit buttons. The requirement is

ServletConfig, ServletContext and ServletContainer

2006-06-19 Thread vasumathi
Hi I have a confusion with Difference between ServletContext, ServletContainer and ServletConfig? Also the destroy() method is called by the ServletContainer after the threads in service() method exited or the time period expired. My question is, how the ServletContainer come to know threads

Re: Default value for text field

2006-06-19 Thread Dave Newton
Mukta wrote: > You can use > />" > > Really? I would have thought that nesting tags like that wouldn't be legal. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts1.3

2006-06-19 Thread Dave Newton
Gomathi wrote: > Could u tell me the difference between 1.2 and 1.3 0.1 http://struts.apache.org/struts-action/roadmap.html While I haven't poked around this un-released version, my impression is that the biggest difference will be the chaining request processor. If you're looking at a solution

Change field validation order

2006-06-19 Thread finndanvar
Hi James Help! I'm seeking a way to change the field validation order on client side. I want to validate in field order. F.ex. in the case below I want username to be validated OK for both required and maxlength before password and other fields are validated for whatever. Is

Problem whith servletAction in struts 1.2

2006-06-19 Thread José María Tristán
Hello: I was to used struts 1.1 and the apllication was worked. I 'm to use now the struts 1.2 and the aplication show this error: No está disponible el Servlet action The problem is that i'm use validation of struts 1.2 and it's don't work ok with struts 1.1. Why

RE: How can I transfer a file to a struts based web application from a java application

2006-06-19 Thread Mukta
Try using JFileChooser -Original Message- From: Steve Bosman [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 2:58 PM To: Struts User Mailing List Subject: How can I transfer a file to a struts based web application from a java application Hi, I have a struts 1.1 application wi

RE: Default value for text field

2006-06-19 Thread Mukta
You can use " > -Original Message- From: Pankaj Gupta [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 6:24 PM To: Struts Users Mailing List Subject: Re: Default value for text field Please tell me in Struts context. What do I need to write in my html:text tag? Shervin Asgar

RE: Cancel button sets the form value

2006-06-19 Thread Mukta
If you want to reset the form values on cancel button click, you should use html:reset instead of html:cancel -Original Message- From: deepali sharma [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 1:01 PM To: user Subject: Cancel button sets the form value Hi I am using html:canc

Re: How to set size of submit button

2006-06-19 Thread José Moreira
[EMAIL PROTECTED] wrote: I am using html:submit for creating 4 sumit buttons. The requirement is to make them of same size. can anyone suggest how to do that? regards, Pankaj - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

need urgent help

2006-06-19 Thread Medicherla Lakshmi
hi, I have a problem, please give me soln. I have an actionform which has String aswellas int types with get and set methods. In the jsp, when am trying to get the int type value of that actionform using where empid is one of the get/set method in the action form, its throwing exception s

RE: help in maven

2006-06-19 Thread Marco Mistroni
Hi, Maven.apache.org will solve all your doubts there are some help/guides/tutorials for that Plus, if you google it I m sure you will find javaworld articles for it Hth marco -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 19 June 2006 09:4

Re: Struts1.3

2006-06-19 Thread paz . periasamy
I would advice you go to the official Struts website to understand the differences. Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 "Gomathi" <[EMAIL PROTECTED]> 19/06/2006 06:43 PM Please respond

Re: Struts1.3

2006-06-19 Thread Gomathi
Could u tell me the difference between 1.2 and 1.3 thanks in advance - Original Message - From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, June 19, 2006 1:53 PM Subject: Re: Struts1.3 Yes Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Aus

help in maven

2006-06-19 Thread mansooraks
Dear all, I am new to Maven. Can u suggest me a good resource to learn maven. I have exp. in ant tool. What way maven differs from ant? Help plz. regards, Mansoor - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: Struts1.3

2006-06-19 Thread paz . periasamy
Yes Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 "Gomathi" <[EMAIL PROTECTED]> 19/06/2006 06:21 PM Please respond to "Struts Users Mailing List" To: cc: Subject:

Struts1.3

2006-06-19 Thread Gomathi
Is the LatestVersion of struts 1.3?.

Re: Latest Version of struts

2006-06-19 Thread paz . periasamy
Struts - The best available version is Struts 1.2.9 See the website: http://struts.apache.org/ Also, can we use DispatchAction and LookupDispatchAction in struts 1.1? Yes You can definietly use them in Struts 1.1 Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Ser

Latest Version of struts

2006-06-19 Thread Gomathi
HI Anyone can tell the latest version of struts please. Also, can we use DispatchAction and LookupDispatchAction in struts 1.1? with regards gomathi