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
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
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 {
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,
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
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
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
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
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
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
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
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
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:
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
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
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-
>
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
> -----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
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:
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
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
>
>
> >
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
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
23 matches
Mail list logo