Re: How to integrate Tomcat server with Apache webserver pls urgent

2004-06-29 Thread Nicolas De Loof
You will need the JK (or JK2) connector to connect tomcat to apache : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html A simple "tomcat apache howto" gogle search will give you lot's of infos. You have to 1. (compile and) add mod_jk module to your apache httpd server 2. set the A

Re: problem Please Help me.....

2004-06-29 Thread Srinivas Rao
Hi Ajay, Thanks replay to me and is it possible to get the popup window value to parent window? This is the information ur asking ... 1.) popup window come up properly and i am not getting any error. 2.) I have wrote the append() funtion in child window but i am not getting the initial value

RE: How to integrate Tomcat server with Apache webserver pls urgent

2004-06-29 Thread David Friedman
Use the JK2 connector: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/ I've done it. The connector is available for download on the standard Tomcat download are: http://jakarta.apache.org/site/binindex.cgi Under the title "Tomcat Connectors" you'll find JK 1.2 and 2 connectors for various p

R: Struts and PL/SQL

2004-06-29 Thread Grassi Fabio
Here is e that maps a PL/SQL package. More examples can be found in the Jpublisher documentation (see http://otn.oracle.com or www.oracle.com or the documentation cd that ships with Oracle RDBMS). Bye, bye, Fabio. /*** CODE START / /[EMAIL PROTE

How to integrate Tomcat server with Apache webserver pls urgent

2004-06-29 Thread ganesh gadi
Hi group, Could anybody tell me how to integrate apache webserver with tomcat. Or can u give me the websites address. Pls urgent awaiting ur reply Thanks Ganesh - Do you Yahoo!? Yahoo! Mail - You care about security. So do we.

Re: [OT] Storing Birth Date

2004-06-29 Thread Jorge Salido
> My experience differs from Jorge. > A generic date should do well, and still give you all the date functions. The only > problem with storing dates as a number is doing date arithmetic ( say sending an > email to all people whose birthday is 5 days away) and things like that. It's not a > tr

RE: How to change tiles def at runtime?

2004-06-29 Thread Janarthan Sathiamurthy
Hi, If found this- In struts-config.xml specify for ur web application - I was able to reload my definitions with these. Hope it helps. Regards, Janarthan S -Original Message- From: Stunger, Kevin J [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30,

RE: Struts and PL/SQL

2004-06-29 Thread CRANFORD, CHRIS
I would be interested in seeing what one of these generated Java classes look like internally? Care to post an example? Chris -Original Message- From: Grassi Fabio [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 5:31 AM To: Lucas Gonzalez; Struts Users Mailing List Subject: R: St

Struts/Tiles/Taglib/JBoss325 Deployment Error

2004-06-29 Thread Vincent Ho
Hi, I'm using Jboss-3.2.5 and jakarta-struts-1.1 with J2SDK 1.4.2, WinXP I encounter the following exception : java.lang.NullPointerException at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:153) .. java.lang.NullPointerException at org.apache.jasper.run

RE: Using 1 Validator definition for 2 different forms?

2004-06-29 Thread William Ferguson
You're right. My pet hate of the validation framework - validation should be configured on the ActionConfig instead of via the ActionConfig#path. This would provide for Mick's requirements. It would also free Strus Forms from having to extend from ValidatorForm or ValidatorActionForm in order to g

RE: Using 1 Validator definition for 2 different forms?

2004-06-29 Thread Joe Hertz
Using ValidatorActionForm would result in the Validator being pointed at Actions and not forms. I don't see how that gets one validator definition... Let me ask this of Mick: Why you using two different form definitions? If they are identical, what are you hoping to accomplish by defining it twic

RE: Using 1 Validator definition for 2 different forms?

2004-06-29 Thread William Ferguson
Try extending from ValidatorActionForm instead of ValidatorForm. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Wednesday, 30 June 2004 5:37 AM To: Struts Users Mailing List Subject: RE: Using 1 Validator definition for 2 different forms? > -Original Message

RE: how to handle special characters like "®"

2004-06-29 Thread Wendy Smoak
> From: Christina Siena [mailto:[EMAIL PROTECTED] > I am trying to figure how to handle special characters like "®". > When the form is posted, the form attribute contains "®" > instead of "®". We heard you the first time. :) The lack of a response after two and a half hours probably means t

Javascript error

2004-06-29 Thread dangmp
Return Receipt Your Javascript error document :

how to handle special characters like "®"

2004-06-29 Thread Christina Siena
I am trying to figure how to handle special characters like "®". When the form is posted, the form attribute contains "®" instead of "®".

How to change tiles def at runtime?

2004-06-29 Thread Stunger, Kevin J
Hello! Has anyone ever had success changing tiles def values during runtime? I'd like to point a tiles def to a different jsp and change the title, etc. based on some value set in either the request or the session. Example:

RE: newbie question: form initialization and process

2004-06-29 Thread Jim Barrows
> -Original Message- > From: Jen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 3:32 PM > To: [EMAIL PROTECTED] > Subject: newbie question: form initialization and process > > > Hi, > I am new to Struts and after browsered the nightly > build example app, found it did differe

how to handle special characters like "®"

2004-06-29 Thread Christina Siena
I am trying to figure how to handle special characters like "®". When the form is posted, the form attribute contains "®" instead of "®".

newbie question: form initialization and process

2004-06-29 Thread Jen
Hi, I am new to Struts and after browsered the nightly build example app, found it did different way with what I have. In example app the forms's initial display action is different from the form's submit action. what if after the form submission, it needs to forward to a jsp which is form too, wh

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Adam Lipscombe
Thanks Jim, I'll keep digging and let you know. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: 29 June 2004 22:41 To: Struts Users Mailing List Subject: RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Jim Barrows
> -Original Message- > From: Adam Lipscombe [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 2:38 PM > To: 'Struts Users Mailing List' > Subject: RE: NEWBIE: Wierd problem - Action sometimes produces Status > 500 - No Context configured to process this request > > > More on this

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Adam Lipscombe
More on this: Entering http://localhost:8080/ExpenSysWT/help.do?context=LOGIN_PAGE (the correct path to the action) manually in the address field produces the 500 error when the login page is first displayed. After the user has logged in it works fine. I don't understand if its the Tomcat config

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Jim Barrows
> -Original Message- > From: Adam Lipscombe [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 2:26 PM > To: 'Struts Users Mailing List' > Subject: RE: NEWBIE: Wierd problem - Action sometimes produces Status > 500 - No Context configured to process this request > > > Thanks Jim,

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Adam Lipscombe
Thanks Barett, Its true that no action runs. Tomcat displays "MAPPING configuration error for request URI" when the 500 error is generated. But why does it work once the user has logged in? If I change the initial redirect to "/login" it fails with the following displayed in the browser window:

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Adam Lipscombe
Thanks Jim, You are right - the action doesn't execute at all. I put a breakpoint in the execute() method and its not called when I get the 500 error. Tomcat also displays "MAPPING configuration error for request URI" which confirms this. But it works OK once the user has logged in, and this stri

RE: [OT] Storing Birth Date

2004-06-29 Thread Jim Barrows
> -Original Message- > From: Jorge Salido [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 1:01 PM > To: Struts Users Mailing List > Subject: Re: [OT] Storing Birth Date > > stuff I agree with > > Other than that, how you store the date is your call. I usually prefer > hand

Re: [OT] Storing Birth Date

2004-06-29 Thread Jorge Salido
I would certainly not use timestamps. A timestamp is certainly useful when you want to record current time (like a snapshot), but not past dates. And even then be aware of timestamps... And anyway, since timestamp also contains time data, it is not being efficient (at least by that standard). Cetai

RE: Using 1 Validator definition for 2 different forms?

2004-06-29 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 12:28 PM > To: [EMAIL PROTECTED] > Subject: RE: Using 1 Validator definition for 2 different forms? > > > No, I mean I have a user1Form, and user2Form. > They are identical forms as we

RE: Using 1 Validator definition for 2 different forms?

2004-06-29 Thread Mick . Knutson
No, I mean I have a user1Form, and user2Form. They are identical forms as we are using Tiles to display them. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 12:21 PM To: Struts Users Mailing List Subject: RE: Using 1 Validator definition for 2

Using 1 Validator definition for 2 different forms?

2004-06-29 Thread Mick . Knutson
How can I Use 1 Validator definition for 2 different forms? --- > Thanks... > Mick Knutson > > 525 Market Street, SF, CA 94103 > (415) 222-1020 > [EMAIL PROTECTED] > MAC A0103-223 --- - To unsubscribe, e-mail: [EMAIL PROTECT

RE: Using 1 Validator definition for 2 different forms?

2004-06-29 Thread Jim Barrows
If you're talking about masks, then you can use globals. You could also create your own custom validator, iirc 1.2 will have some inheritance features, but not sure what scope yet since I'm not using 1.2. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent:

Using 1 Validator definition for 2 different forms?

2004-06-29 Thread Mick . Knutson
How can I Use 1 Validator definition for 2 different forms? --- > Thanks... > Mick Knutson > > 525 Market Street, SF, CA 94103 > (415) 222-1020 > [EMAIL PROTECTED] > MAC A0103-223 --- - To unsubscribe, e-mail: [EMAIL PROTECT

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Barett McGavock
I think you're on the right track with your idea that no action has run first. Usually in Struts an action should run before the JSP is seen. Does it work if you use the following tag on your index.jsp instead? B > -Original Message- > From: Adam Lipscombe [mailto:[EMAIL PROTECTED] >

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Jim Barrows
This almost sounds like the action is getting executed at all, but is rather a problem with the server setup. Context usually refers to everything up to and including the app name, so that would make sense if there's a server configuration issue. If it is executing the action, then at what point

NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Adam Lipscombe
Folks, I have a strange problem that is confusing me: I have a simple login page with a Help button defined like this: " When pressed, the JavaScript displayHelp() method below is called: function displayHelp(context) { [snip] var url = "" url += "?context=" + context; [snip] wi

Struts Validator and JCIFS issue while working remotely over VPN

2004-06-29 Thread Kevin Hutson
Perhaps someone can tell me if I'm crazy here. I have a web application using Struts 1.1. It also utilizes JCIFS 0.9.2 for NTLM authentication and the Struts validator among other things. I deploy to Tomcat 5.0.19. The app runs great. However, when I try to run and debug my app while remotely c

Re: How to populate fields in a form with data retrieved from a database table...

2004-06-29 Thread Research labs
Thank you very much for your detailed and prompt response. Yes I "want to show a user a form with data pre-filled based on the database data?" In Oracle form means interface whereas in Struts it is a bit ambiguous. I will say interface or jsp next time. More to the point, I followed your instr

Re: Append parameter value using html:link

2004-06-29 Thread Bill Siggelkow
Hey Dude ... try setting 'transaction="true"' on the html:link tag -- it should handle the token for you. Toll, Marvin (M.) wrote: Per the following listing - I am appending a parameter value to a URL. The "href" version works fine but would like to perform the equivalent using the "html:link" ta

Append parameter value using html:link

2004-06-29 Thread Toll, Marvin \(M.\)
Per the following listing - I am appending a parameter value to a URL. The "href" version works fine but would like to perform the equivalent using the "html:link" tag. The "html:link" version results in: /ReferenceWeb/acknowledgePost.do?org.apache.struts.taglib.html.TOKEN=<%= token%> Any hel

Re: Struts, Dreamweaver, and JSP

2004-06-29 Thread Mark Lowe
If you want to have valid accessible html why use dreamweaver? Seems a contradiction in terms. I'd be more concerned with the ropey generated code than the html rendered by struts tags. On 29 Jun 2004, at 17:43, McCormack, Chris wrote: use wget -r http://www.site.co.uk to save your html to disk

RE: Struts, Dreamweaver, and JSP

2004-06-29 Thread McCormack, Chris
use wget -r http://www.site.co.uk to save your html to disk then run the validator over the saved files. Chris -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: 29 June 2004 16:40 To: Struts Users Mailing List Subject: RE: Struts, Dreamweaver, and JSP > -Original

RE: Struts, Dreamweaver, and JSP

2004-06-29 Thread Jim Barrows
> -Original Message- > From: josh [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 8:24 AM > To: Struts Users Mailing List > Subject: RE: Struts, Dreamweaver, and JSP > > > On Tue, 2004-06-29 at 10:13, McCormack, Chris wrote: > > > Are there any tools that allow one to validate th

RE: JavaScript error

2004-06-29 Thread Jim Barrows
My first instinct is to ask why you changed the validation_rules.xml file at all. You shouldn't have had to change that file, except to add some functionality. I would suggest going back to the original validation-rules.xml file and seeing if that helps. > -Original Message- > From: K

Re: Converting Java Code in JSP to JSTL

2004-06-29 Thread Caroline Jen
Thank you for helping me to learn different ways to construct a web link while passing a number of parameters along with it. Those hyperlinks forward a request and parameters to another servlet action. In this servlet action, do I receive those parameters in an usualy way? String sort = request.

RE: Struts, Dreamweaver, and JSP

2004-06-29 Thread josh
On Tue, 2004-06-29 at 10:13, McCormack, Chris wrote: > > Are there any tools that allow one to validate the html that is generated by the > > jsp/struts tags? > http://validator.w3.org/ Ok, perhaps I didn't phrase that correctly. Are there any tools that allow one to validate a JSP. I know that

RE: Struts, Dreamweaver, and JSP

2004-06-29 Thread McCormack, Chris
> Are there any tools that allow one to validate the html that is generated by the > jsp/struts tags? http://validator.w3.org/ hth Chris -Original Message- From: josh [mailto:[EMAIL PROTECTED] Sent: 29 June 2004 16:11 To: Struts Users Mailing List Subject: Struts, Dreamweaver, and JSP

Struts, Dreamweaver, and JSP

2004-06-29 Thread josh
I am resposible for the visual aspect of a number of struts based applications and I was wondering if anyone knows of any way to deal with struts tag standards and jsp tag standards in dreamweaver. I also have to do validation to ensure the apps are compliant and accessible. Are there any tools t

RE: Converting Java Code in JSP to JSTL

2004-06-29 Thread Ricardo Cortes
Caroline, Have you tried the following?: -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 1:12 AM To: Struts Users Mailing List Subject: Re: Converting Java Code in JSP to JSTL I pass an object ThreadBean from an action servlet

Javascript error

2004-06-29 Thread DGraham
Return Receipt Your Javascript error document :

Re: dynamic forms

2004-06-29 Thread Bill Siggelkow
You could try Nialls Pemberton's LazyActionForm ... http://www.niallp.pwp.blueyonder.co.uk/ Xavier Noria wrote: We have some forms whose fields are unknown until runtime. How would you implement them so that they worked within the framework smoothly? -- fxn --

RE: NEWBIE - How to submit form and display results in popup window with no browser decorations.

2004-06-29 Thread Anirudh Jayanth
The help function is for the button onclick method... Or for a tag... You don't need a form for this approach.. All you need to do is to pass the contextId to the action which you can pass as a request parameter. I have used this technique successfully to pass params.. I guess that if you were to

RE: NEWBIE - How to submit form and display results in popup window with no browser decorations.

2004-06-29 Thread Adam Lipscombe
Thanks Anirudh, Do you mean that the form should have no ActionForm associated with it? (Currently I am using an ActionForm to pass the value of the contextID) I did not know that one could pass params to an action with the "action.do?p1=value&p2=value" technique. Where does one place the call

RE: NEWBIE - How to submit form and display results in popup window with no browser decorations.

2004-06-29 Thread Anirudh Jayanth
You could use a javascript function to achieve this.. function Help(document,val) { window.open('Action.do&_contextId='+val,'win','toolbar=no,location=no,di rectories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=400, height=210,left=0,top=0') } In the action retrieve the context id a

NEWBIE - How to submit form and display results in popup window with no browser decorations.

2004-06-29 Thread Adam Lipscombe
Folks, >From browsing the list archive I can see that this sort of questions gets asked frequently. I looked at the solutions but none seem, to fit my case: I am trying to implement a popup window context-sensitive help system for a struts app. My solution so far is to have a help button in it

JSP 2.0 + JSTL 1.1 or Velocity?

2004-06-29 Thread Jozef Hribik
One year ago when i started my first Struts-based project i was very frustrated with Struts Tag libraries. I have decided to use Velocity. Our HTML designer have learned 5 Velocity keywords very quickly too (if-else-end-foreach-parse). Now we start new project. There are some pressures to abandon V

RE: [OT] Sending multipart alternative emails (HTML and text)

2004-06-29 Thread Robert Taylor
Thanks Matthias, robert > -Original Message- > From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 2:07 AM > To: 'Struts Users Mailing List' > Subject: RE: [OT] Sending multipart alternative emails (HTML and text) > > > Robert, > > perhaps you may look a

RE: dynamic forms

2004-06-29 Thread Matthias Wessendorf
and that one http://jakarta.apache.org/struts/faqs/indexedprops.html there is described how to create a "dynamic" form based on indexed-properties: like that: Submit Changes Hope that helps > -Original Message- > From: Xavier Noria [mailto:[EMAIL PROTECTED] > S

RE: dynamic forms

2004-06-29 Thread Matthias Wessendorf
Xavier, did you looked at: http://wiki.apache.org/struts/StrutsCatalogMappedBeans all properties are stored in a map. cheers, > -Original Message- > From: Xavier Noria [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 12:09 PM > To: [EMAIL PROTECTED] > Subject: dynamic forms >

Javascript error

2004-06-29 Thread lukasz.lenart
Return Receipt Your Javascript error document:

Re: Regarding DynaActionForms

2004-06-29 Thread Bryan Hunt
The point is to use google first and then go to a mailing list for specific questions and clarification. Asking smart questions on mailing lists by eric stallman. http://www.catb.org/~esr/faqs/smart-questions.html --b Ashutosh Satyam wrote: I

dynamic forms

2004-06-29 Thread Xavier Noria
We have some forms whose fields are unknown until runtime. How would you implement them so that they worked within the framework smoothly? -- fxn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Re: Struts 1.1

2004-06-29 Thread Pedro Salgado
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";> Pedro Salgado On 04/06/29 10:46, "Kote, Nijaguna Sangankal" <[EMAIL PROTECTED]> wrote: > What is the equalant of > "-//Apache Software Foundation//DTD Commons Validator Rules > Configuration 1.0//EN" > "http://jak

Struts 1.1

2004-06-29 Thread Kote, Nijaguna Sangankal
What is the equalant of http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";> For struts 1.1?? Thanks Guna

2 Actions Again?

2004-06-29 Thread Michael McGrady
have some code where an action is called in an and in an as a value for the src attribute of the tag. Also, I have extended the ImageTag class or to mine some other values regarding the image, color, font, etc., because I intend to use the action which is the value of the src attribute to

2 Actions + 1 Form + 1 Submit

2004-06-29 Thread Michael McGrady
I have some code where an action is called in an and in an as a value for the src attribute of the tag. Also, I have extended the ImageTag class or to mine some other values regarding the image, color, font, etc., because I intend to use the action which is the value of the src attribute t

RE: Regarding DynaActionForms

2004-06-29 Thread Marco Mistroni
HI, >I need a sample jsp page where someone can show me, >how i can retrieve the values populated in a dynaactionform. For this, it's enough that u pick a jsp from struts-sample application, Or anywhere in the web where they are talking about actionforms >Also, once I get the resultset after qu

RE: Regarding DynaActionForms

2004-06-29 Thread Ashutosh Satyam
I never meant to write an application for me. I suppose mailing list are meant for where one can get pin point information. If Google was the only solution then there is no point for the existence of any forum like this. -Original Message- From: Bryan Hunt [mailto:[EMAIL PROTECTED] Sent:

Javascript error

2004-06-29 Thread Kote, Nijaguna Sangankal
Hi, I am a new user for this group,. I am using struts1.1 for my project, Am having some trouble with struts1.1 validator framework. I have changed my validation.xml and validation-rules.xml to reflect my formbean and its properties. Struts also generates javascrip

Re: Regarding DynaActionForms

2004-06-29 Thread Bryan Hunt
This sounds a little like ... please write the application for me there is plenty of stuff that can be found on google that is exactly like this ... --b Ashutosh Satyam wrote: I need a sample jsp page where someone can show me, how i can retrieve the values populated in a dynaactionform. Als

RE: Regarding DynaActionForms

2004-06-29 Thread Ashutosh Satyam
I need a sample jsp page where someone can show me, how i can retrieve the values populated in a dynaactionform. Also, once I get the resultset after qureying the DB. How exactly the benas will be populated to be used in pages Kindly provide inputs on the same. Regards, Ashutosh -Original

RE: Regarding DynaActionForms

2004-06-29 Thread Marco Mistroni
Hi, It's exactly the same as Actionform. Struts Will treat ur dynaactionform as a normal action form. Beware though that you may encounter problems if some of the Fields of your actionforms are null.. Regards marco -Original Message- From: Ashutosh Satyam [mailto:[EMAIL P

RE: Source for Jakarta JSTL 1.0.2

2004-06-29 Thread Steve Raeburn
http://archive.apache.org/dist/jakarta/taglibs/standard-1.0/source/ The link to the Archives is available from the bottom of the Jakarta download page (http://jakarta.apache.org/site/sourceindex.cgi). Look for "The Apache Archives". Steve > -Original Message- > From: Derek Richardson [