RE: can a non struts application be called from inside stuts appl ication.

2004-08-26 Thread Pingili, Madhupal
lResponse(String url) that I sent earlier. HTH, Reddy Pingili > -Original Message- > From: Pingili, Madhupal > Sent: Thursday, August 26, 2004 2:36 PM > To: 'Struts Users Mailing List' > Subject: RE: can a non struts application be called from inside stuts

RE: can a non struts application be called from inside stuts appl ication.

2004-08-26 Thread Pingili, Madhupal
application be called from inside stuts > application. > > from where do i get this package, and where exactly will doPost method > go...i have never used httpClient Package, so can you point me to the > correct resource.. > > -Original Message- > From: Pingili, Ma

RE: can a non struts application be called from inside stuts appl ication.

2004-08-26 Thread Pingili, Madhupal
How about using HTTP Client package like this: public static String getUrlResponse(String url) { String result = null; HttpClient client = new HttpClient(); // Create a method instance. HttpMethod method = new GetMethod(url); // Execute the method. try {

RE: [OT] DOM Document as JMS message object's container

2004-08-10 Thread Pingili, Madhupal
Serializing org.w3c.dom.Document into String and passing this as JMS object message is working nicely. DOM document is built back again by parsing ByteArrayInputStream made of string. --- Reddy Pingili > -Original Message- > From: Pingili, Madhupal > Sent: Friday,

RE: [OT] DOM Document as JMS message object's container

2004-08-06 Thread Pingili, Madhupal
pose was to make it easy to build systems that pass > around XML documents as messages (it used JavaBeans that fired "DOM > Events" as I recall). It was looking pretty good, but then I remember > that development seemed to just cease on it. I would contact the lead > develope

[OT] DOM Document as JMS message object's container

2004-08-05 Thread Pingili, Madhupal
This is way Off Topic. I have an object that implements Serializable in order to be sent to JMS Queue destination. This object contains org.w3c.dom.Document as private member and creates a new DOM document in it's constructor. It also has other methods to access document.createElement(...), creat

RE: Connecting to a database during sessionDestroyed(HttpSessione vent) in HttpSessionlistener class

2004-07-26 Thread Pingili, Madhupal
Two ideas that come to mind quickly are: 1. Adjust the pool size to a reasonable limit, keeping in mind that NOT only actual users who come to the application need a connection from pool, but also these background processes like listeners need a connection from the same pool. 2. Keep a loo

RE: how to use controllerclasses with tiles?

2004-07-16 Thread Pingili, Madhupal
controller.TestTileController > with > modifiers "" > > > -Fahd > > > -Original Message- > From: Pingili, Madhupal [mailto:[EMAIL PROTECTED] > Sent: Friday, July 16, 2004 6:29 PM > To: 'Struts Users Mailing List' > Subject: RE: how to u

RE: Tiles with definition

2004-07-16 Thread Pingili, Madhupal
Have you updated struts-config.xml with the plugin like this: Just curious, Reddy Pingili > -Original Message- > From: yakup aksu [SMTP:[EMAIL PROTECTED] > Sent: Friday, July 16, 2004 9:39 AM > To: [EMAIL PROTECTED] > Subject: Tiles with definition > > Hi, > > i m new

RE: how to use controllerclasses with tiles?

2004-07-16 Thread Pingili, Madhupal
Fahd, Have you tried changing scope="request" in following line ? I am looking at "Struts in Action" book co-authored by Ted Husted, " tag imports all of the Tiles context attributes into page context: " . So, after this, you can access the attribute named "title" through page context. Reddy

RE: Struts on WAS 5.1??

2004-06-28 Thread Pingili, Madhupal
If you create EAR file with J2EE 1.2 (servlet 2.2) support level, and deploy that on to WAS 5.1, you will get these errors. Try creating EAR file with J2EE 1.3 level and deploy that on WAS 5.1. I did the same and got rid of the error. Reddy Pingili > -Original Message- > From: Smith

RE: Role based filter with struts

2004-06-25 Thread Pingili, Madhupal
If the web container supports servlet 2.2 only, then options are to either subclass request processor or creating abstract base action class to check the roles. Of course, you can always check the roles in any action's execute method or in any JSP because you have access to ActionMapping and H

RE: Re[2]: Different form tags on same jsp

2004-06-22 Thread Pingili, Madhupal
Looking at this : is missing closing tag . Just give another try with closing . Reddy Pingili > -Original Message- > From: Pavlikus [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, June 22, 2004 2:22 PM > To: Struts Users Mailing List > Subject:

RE: Struts 1.1 / WebSphere 5.1 logging - [SOLVED]

2004-06-22 Thread Pingili, Madhupal
g all messages it is supposed to log, just like the app on WAS 4.0.4. Reddy Pingili > -Original Message- > From: Pingili, Madhupal > Sent: Friday, June 18, 2004 10:50 AM > To: 'Struts Users Mailing List' > Subject: Struts 1.1 / WebSphere 5.1 logging &g

Struts 1.1 / WebSphere 5.1 logging

2004-06-18 Thread Pingili, Madhupal
I have a web application developed with Struts 1.1 running on WebSphere 4.0.4 successfully. Now, if I deploy the same app on WebSphere 5.1, there is no log file created. I am using commons-logging.properties: org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger and log4j.pro

RE: Using a servlet code within Struts

2004-06-16 Thread Pingili, Madhupal
Yes. You can return null inside the Action's execute method just like follows: OutputStream out = response.getOutputStream(); out.write(data.getBytes()); //This action sends the response itself, so return null. return null; Reddy Pingili > -Original Message- >

RE: Struts 1.1 J2EE level?

2004-06-08 Thread Pingili, Madhupal
We have several Struts 1.1 web applications running on J2EE 1.2 supported app server for about 10 months now. We are not using JSTL either. We are using Struts html/bean/logic/tiles tags. Reddy Pingili > -Original Message- > From: Yulin Zhao [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, Jun

RE: validator-rules javascript problems - SOLVED

2004-05-20 Thread Pingili, Madhupal
> -----Original Message- > From: Pingili, Madhupal > Sent: Friday, April 02, 2004 10:41 AM > To: 'Struts Users Mailing List' > Subject: validator-rules javascript problems > > > I am trying to get variable values defi

RE: Tomcat 3.3.1 and Servlet 2.2/JSP 1.1 spec compatibility

2004-05-19 Thread Pingili, Madhupal
I have 2 web applications using Struts 1.1 running successfully on WebSphere 4.0.4 (Servlet 2.2/JSP 1.1) for about 9 months now. WebSphere 5.0.x supports Servlet 2.3/JSP 1.2 specs. So, you can mix filters, context listeners with Struts 1.1 concepts. -Reddy > -Original Message- > From:

RE: global forward to tile definition does NOT work

2004-05-12 Thread Pingili, Madhupal
You don't even have to give type="xxx.xxx.xx". Just use this syntax: Above works well for me. --- Reddy > -Original Message- > From: Mark Lowe [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, May 12, 2004 5:05 PM > To: Struts Users Mailing List > Subject: Re: global forward to ti

RE: Clearing Input fields

2004-05-05 Thread Pingili, Madhupal
t. What I would like to know is if > it > is possible to call the function for an onLoad event. Would this function > be > called when the apage is loaded? I would prefer this instead of having to > click reset when I return to the page. > > Thanks > Brian > > > >

RE: Clearing Input fields

2004-05-05 Thread Pingili, Madhupal
Hi Brian, If you view the html source, you will see the value='x'. Clicking on Reset button is initializing to this value for each field. I have solved this problem by replacing Reset button with button and onclick event javascript for that button which will clear all fields. Let me know if you

validator-rules javascript problems

2004-04-02 Thread Pingili, Madhupal
I am trying to get variable values defined in validation.xml as below: fieldLength1 10 fieldLength2 13 I am extracting like validateIntRange() function: var iMin = parseInt(oRange[x][2]("min")); var iMax = parseInt(oRange[x][2]("max")); My co