Returning Action Errors in the Action Class.

2002-09-04 Thread Sudhir S. Shetty
Hi Everybody, I have an application in which I enter data on to a JSP form, after which the Form Bean is activated. After this in the Action class , in the perform method I do some processing, here is it possible for some condition to return an Action Errors object? So that

Placing a Scriptlet inside bean:message

2002-09-03 Thread Sudhir S. Shetty
Hi Everybody, Is it possible to place a scriptlet inside the key attribute for the bean:message tag? TIA, Sudhir -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Problem with logic:iterate

2002-08-12 Thread Sudhir S. Shetty
Hi , Im having some problems with logic Iterate, I have a Form Bean SampleRowForm.java in which I define a String [] --- private String [] tempsud = {Sudhir,Shetty,Ramesh,K,'Doug,Wong,Aloke,Thimi,InveniTech,Powershare}; public void setTempsud(String tempsud[]){

Placing of Generated Source files in Apache tomcat bin directory

2002-08-09 Thread Sudhir S. Shetty
Hi Friends, Sorry for being off-topic I have a struts application on Tomcat4.0.4 ,Im using Log4J log4j-1.2.5 ,In my application I take an XML file as an input , and I generate java bean code, by default the generated coide an the log files(generated by log4j) are being placed in the C:\Program

log4J CANNOT FIND LO4J.DTD due to new version of Xerces

2002-07-11 Thread Sudhir S. Shetty
Hi Everybody, I have a web application , in which I am using struts 1.02, log4j1.2.5, Xerces 2.02 I am facing problems while initailizing logging my Configuration XML file for log4J is logconfig.xml inside my Jsp I have the following code. String ls_path =

Problems with BeanUtils.populate()

2002-07-10 Thread Sudhir S. Shetty
org.apache.struts.util.MessageResources; import org.apache.commons.collections.FastHashMap; /** * author Sudhir S. Shetty * version $Revision: $ $Date: 03/07/2002 */ public final class SampleAction extends Action { // - Public Methods

Re: Problems with BeanUtils.populate()

2002-07-10 Thread Sudhir S. Shetty
Thanks tomas it works like a charm:) - Original Message - From: Tomas Viberg [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; Sudhir S. Shetty [EMAIL PROTECTED] Sent: Wednesday, July 10, 2002 19:06 Subject: Re: Problems with BeanUtils.populate() Hi, the cause of your

DomConfigurator + log4J

2002-07-10 Thread Sudhir S. Shetty
I am using the Tomcat4.0 and struts1.02, Xerces 2.0.2 and log4J v 1.2.4 I have written the following logconfig.xml ?xml version=1.0 encoding=UTF-8? !DOCTYPE log4j:configuration SYSTEM C:/Program Files/Apache Tomcat 4.0/webapps/log4j.dtd log4j:configuration

File UpLoad

2002-07-04 Thread Sudhir S. Shetty
Hello Everybody, I would like to create a browse , in my application to upload a file, it could be any kind of Document i.e. *.doc,*.txt,*.xml. I would like the capability to browse to this file in my system from my application and upload it, then I have to insert it

Rendering a File From a Database Blob Column on the Browser

2002-07-04 Thread Sudhir S. Shetty
Hi All, If I have a file (*.doc,*.xml,*.pdf)Stored in The Database in a BLOB , I retrieve it using the Input Stream, How Do I render it on the Browser?, any example code for it will be highly appreciated. Thanks in advance, regards, Sudhir -- To unsubscribe, e-mail: mailto:[EMAIL

No Of rows in a Table

2002-06-10 Thread Sudhir S. Shetty
Hi Everybody, I have a rquirement in which I have a Table displayed, For this I retrieve The table rows from the database, But the table should just list the first 20 records, a functionality should be proivided via which on clicking the NExt Button the user is displayed

Re: Struts 1.1 DB sample post

2002-05-23 Thread Sudhir S. Shetty
Hi Vic , Can you send me the password to the zip file regards, Sudhir - Original Message - From: Struts Newsgroup @[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 23, 2002 00:25 Subject: Struts 1.1 DB sample post Subject: Struts 1.1 DB sample post From: Vic C

Help needing regarding implementing JAAS for a Web application

2002-04-03 Thread Sudhir S. Shetty
Hello Everyone, I need your help regarding Implementing JAAS for a web app based on Struts, I have made a class which instantiates the Login context, and has an inner class callback handler(for receiving the user name and password). But I get an error when the login

Need Example code or guidance for Implementating JAAS in Struts/Web Application

2002-04-02 Thread Sudhir S. Shetty
Hi Everyone, I would be very greatful if you could guide or send me example code for implementing JAAS in a Web Application/ Struts. I am using Weblogic 6.1 as my app server. Thanks in advance, regards, Sudhir -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: DTDS Required for Struts and Web Application.

2002-02-12 Thread Sudhir S. Shetty
/action/ActionServ let.html -- Ted Husted, Husted dot Com, Fairport NY USA. -- Java Web Development with Struts. -- Tel +1 585 737-3463. -- Web http://www.husted.com/struts/ Sudhir S. Shetty wrote: Hi All, I have an Intranet application hosted on Weblogic Server

Help needed regarding Weblogic with struts.

2002-01-31 Thread Sudhir S. Shetty
Hi Everybody, Im Facing a problem during the startup of weblogic server, I get a message As Follows and my application does not work, I guess there is a problem downloading some DTD file, Can you suggest me some workaround to this. A quick reply would be really helpful

Any readonly property for The html:select tag

2001-12-31 Thread Sudhir S. Shetty
Hello, I'd Like to make my html :Select Readonly, Is there any property for it., If I use disabled=true I cant access the parameter of the Select tag thanks in advance. regards, Sudhir -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Setting Values To the html:txt tag

2001-12-25 Thread Sudhir S. Shetty
Hi , I would like to know the way to set a request parameter value to the html:text tag. Im trying to do it as follows: html:text property=companyName value=%=request.getParameter(company)%/ But Nothing is displayed kindly suggest the syntax. Thanks in advance, regards, Sudhir -- To

HOW DO YOU ADD DYNAMIC CONTENT VIA SCRIPTLETS IN HTML TAGS

2001-12-24 Thread Sudhir S. Shetty
Hi Evrybody, Id like to know how to add dynamic content retrieved via JSP scriplets to the HTMl tags I'll give you an example html:text property=companyName value=%=rs.getString(1);% When I give this tag nothing is displayed. Can you suggest me the syntax. Thanks in advance

Re: URL Rewriting

2001-12-19 Thread Sudhir S. Shetty
the parameter value(s), or an object whose toString() method will be called. If a String array is specified, more than one value for the same query parameter name will be created. /quote /hint hth, tomK -Original Message- From: Sudhir S. Shetty [mailto:[EMAIL PROTECTED]] Sent: dinsdag

URL Rewriting

2001-12-18 Thread Sudhir S. Shetty
Hi Everybody, I've just started using struts in my application, I have a Overview Screen from which I have to pass 2 request parameters to the ActionForward bean, I dont have a Form Bean for this overview screen. The problem I face is using URL rewiting, when i pass these

Re: URL Rewriting

2001-12-18 Thread Sudhir S. Shetty
will be called. If a String array is specified, more than one value for the same query parameter name will be created. /quote /hint hth, tomK -Original Message- From: Sudhir S. Shetty [mailto:[EMAIL PROTECTED]] Sent: dinsdag 18 december 2001 13:48 To: Struts Users Mailing List Subject: URL