Re: [OT] Tomcat 5.0.28

2007-11-08 Thread sriharsha . chevuru
The problems should be thrown up in the logs, when you start the Tomcat. My first guess would be, both instances are pointing to the Default port i.e. http 8080. You would need to change the default port to a different port . Shabada, Gnaneshwer [EMAIL PROTECTED] 11/08/2007 12:02 PM

[OT]Re: Re: Please Help: [Struts 1.3]Getting a ServletFilter Sample working

2007-10-26 Thread sriharsha . chevuru
Okay, I thought, i missed out on that.. Here is the trace if anybody still wants to look at it : Oct 26, 2007 2:46:48 PM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: list: Listing contexts for virtual host 'localhost' Oct 26, 2007 2:46:49 PM

(beginner) How to intialize a form's input item

2007-10-18 Thread sriharsha . chevuru
Hi, I am starter in Struts. I am using 1.3.8. My requirement: Prepopulate a form feild if value is present. Can anybody help me in intializing a input feild using struts custom tags? Thanks H.

RE: (beginner) How to intialize a form's input item

2007-10-18 Thread sriharsha . chevuru
It doesn't seem to work. I am not getting the value which I am setting in TestAction.java in the ActionForm.jsp. Here is what i did, (its a test app), Please have a look at it and correct me: struts_config.xml struts-config form-beans form-bean name=processForm

RE: (beginner) How to intialize a form's input item

2007-10-18 Thread sriharsha . chevuru
Silly one.. Thanks:) Dave Newton [EMAIL PROTECTED] 10/18/2007 03:01 PM Please respond to Struts Users Mailing List user@struts.apache.org To Struts Users Mailing List user@struts.apache.org cc Subject RE: (beginner) How to intialize a form's input item You're creating a new

[OT]Best practice: Transfer information from J2ee based app to ColdFusion based app

2007-10-11 Thread sriharsha . chevuru
Hi, This is not the right place, but I would be glad if I can get some help. I just wanted to know what is the best practice if i need to transfer control i.e. when I hit 'submit' button in a Struts based (or a JSP) based app using 'POST' method and the control now goes to ColdFusion (CF)

Re: org.apache.jasper.JasperException: File C:/struts/taglibs/struts-bean.tld not found

2007-09-12 Thread sriharsha . chevuru
Try putting those tld's in your webapp's WEB-INF directory. And then make sure you have those listed them in you web.xml file. Not neccessarily in WEB-INF but just making sure they are there for sure. Should have something similar in your web.xml. jsp-config taglib

How to forward to a page out of .war file

2007-09-10 Thread sriharsha . chevuru
Hi, The present application structure has multiple .war files in a .ear file. Now my login module is part of 1.war and on a successful validation i want to forward in struts-config.xml to a page in 2.war file. How do i achieve this? Thank you

How format a string when it is Displayed?

2007-08-29 Thread sriharsha . chevuru
Hi, I need help in formatting a String, when it is displayed. Here is what i am doing: bean:write name=someObject property=exampleSSN/ It is stored asa continous unformatted String an hence displayed as 'X'. Now, I want my social security number to be displayed as (XXX) - XX - .

Re: redirect to jsp when cancel button is pressed(without executing the corresponding action)

2007-08-22 Thread sriharsha . chevuru
One of many options, I can think over the top of my head is, use just that button in a different form. Simple but I guess it would work. abhiram [EMAIL PROTECTED] 08/22/2007 08:30 AM Please respond to Struts Users Mailing List user@struts.apache.org To struts forum user@struts.apache.org

RE: Help in using regex in Validation.xml

2007-08-01 Thread sriharsha . chevuru
I appologise for the incomplete information. Let us assume that I address the length to be 9 and type to be digits criteria then this expression seems to address the not condition. Now, how do i use this expression in validation.xml, without actually writing my custom validator? Some

RE: Help in using regex in Validation.xml

2007-08-01 Thread sriharsha . chevuru
Actually, I managed to get the correct expression for the condition ^(?!000)\d{9}$ Seems to work!!! Rod Bollinger [EMAIL PROTECTED] 08/01/2007 11:05 AM Please respond to Struts Users Mailing List user@struts.apache.org To 'Struts Users Mailing List' user@struts.apache.org cc Subject RE:

Help in using regex in Validation.xml

2007-07-31 Thread sriharsha . chevuru
Hi, This question can be termed as an OT as it is related to regex. I have a validation criteria which says: a number cannot start with 000 which is 9 digits in length. Can somebody help me in writing a regular expression for this? Thank you

More than one masking patterns for the same Form property

2007-07-25 Thread sriharsha . chevuru
How do I display different validation messages each time a validation rule is violated. Here is the example condition i am looking at: If user enters an SSN starting 000 then i will display Shouldn't start with 000 If user enters an SSN starting 8 or 9 then i will display Shouldn't start

New Bee Question: How do i enable validation only if certain condition is met?

2007-07-19 Thread sriharsha . chevuru
Hi, My Question: Suppose i have a form and it has 5 text boxes. I am using validation.xml for validating the data entered in the textboxes. My requirement is, if the user nters data in atleast one of the textboxes (valid or invalid) and hits submit. Only then i want to validate all the

Re: Xml utilities

2007-02-22 Thread sriharsha . chevuru
Hi Zhang, I am not sure if i got your question correct. But, if you want some already existing XML parsers then DOM and SAX Parsers are the ones which are used extensively. Again, i might be missing more efficient ones.

Re: Usage of Struts - Tiles using tile controllers (Please help asi couldn't find enough documentation on it)

2007-02-21 Thread sriharsha . chevuru
If you can post some demo, that would be of great help Ray. Basically, i am trying to use tiles action or tiles controller. I would wait for your reply on this. Thanks again. Sri [EMAIL PROTECTED] Ray Clough [EMAIL PROTECTED] 02/20/2007 08:04 PM Please respond to Struts Users Mailing List

Please Help: Problem in implementing Tiles Controller

2007-02-21 Thread sriharsha . chevuru
__ Hi Dave, Thanks for pointing me towards the link, it was of great help. Here is what i did. And i am also pasting the error i am getting. Step1: I created the following definition in my tiles-defs.xml tiles-defs.xml tiles-definitions definition name=base.page

Usage of Struts - Tiles using tile controllers (Please help as i couldn't find enough documentation on it)

2007-02-20 Thread sriharsha . chevuru
Hi, I trying to implement Tile Controllers concept in Struts 1.3.5 and i am not able to find enough documentation like any sample examples, etc. about it. Can any of you please direct towards a resource which has some sample applications using tile controllers. Thank you Sri

Usage of Struts - Tiles using tile controllers (After i tried using the link provided)

2007-02-20 Thread sriharsha . chevuru
Hi Dave, Thanks for pointing me towards the link, it was of great help. Here is what i did. And i am also pasting the error i am getting. Step1: I created the following definition in my tiles-defs.xml tiles-defs.xml tiles-definitions definition name=base.page

Please Help: Is struts javascript capable of doing conditional display?

2007-02-01 Thread sriharsha . chevuru
Hi, I am new to struts and these are kind of first footprints towards it. My Question: Suppose my present application which is using extensive javascript and has some functionality like this: If a text box value is something then display and populate a select box besides it. How do we