[OT} web service question

2004-03-22 Thread Ashish Kulkarni
Hi, i am trying to develop a webserivce using RPC and/or SOAP all the samples i have seen dont deal atall with the database or with servlet context, I want to get data from a servlet context which i load when loading the application can anyone provide some code example or site where i can have this

Re: What is the best way to implement common functionality between all actions?

2004-03-03 Thread Ashish Kulkarni
Hi I had this problem and i have done the following I defined a interface called CommonFuntionInterface which defines all the common methods for the funtions, and then a class CommonFuntion which implements this interface and do all the common logic in here then in your Action and DispatchAction S

Re: [OT] Gays and computing... HAS VIRUS BE CARFULL

2004-02-28 Thread Ashish Kulkarni
HI this one has vrius, i just got a virus alert when i went to this site...carefull --- "Domingo A. Rodriguez S." <[EMAIL PROTECTED]> wrote: > > Definitively funny, but Off-topic :) > > --- Rick Reumann <[EMAIL PROTECTED]> escribió: > > On Friday 27 February > 2004 4:39 pm, Melvin Kurzchen wrote

[OT]jsp and version control

2004-02-25 Thread Ashish Kulkarni
Hi We are developing a web project which incudes jsp ,struts etc. we are using VSS for source control, we are sending jar files to the client and each jar file we have a manifest file which has the version number,build number and date, so if there is any error we just ask the version, build and da

[OT] visual XSLT or XSL-FO builder

2004-02-18 Thread Ashish Kulkarni
Hi Has any one know of a tool which will help building XSLT or XSL-FO visually, like VB where i can select where i want to put the input field on page, and what database field will be used to populate it Ashish __ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only th

stop user from clicking the submit button twice

2004-01-29 Thread Ashish Kulkarni
Hi I have a process which takes about 30 seconds, i want to show some kind of image or disable the submit button untill the process is complete and tell user that the process is running How can i do it, i m using struts1.1 any code example or article will greatly help Ashish (Some thing like the

[OT] reading pdf file from mapped network drive in servlet

2004-01-07 Thread Ashish Kulkarni
Hi I am running tomcat on my windows 2000 machine and i have mapped a network drive to it I am trying to read a pdf file from the network drive, and it is giving me access denied error my servlet code is File file = new File("F:\\chart\\test.pdf"); System.out.println(file.exists()); (output is fal

reload properties file in struts with out restarting the application and more

2004-01-07 Thread Ashish Kulkarni
Hi I have a couple of question 1. If some one has written some code to relad the properties file without reloading the application after some text is added or modified, The reason being i have about 10 startup servlets and takes a lot of time to reload for a simple change. 2. Can i change the log l

[OT] eclipse and jsp editing

2003-12-30 Thread Ashish Kulkarni
Hi is there any good plugin for editing jsp and setting up a web project, i have tried lomboz but find it very complicated to use I find setting web prject in jsp much easy any comments (or any free jsp editor will also work) Ashish __ Do you Yahoo!? New Yahoo! Pho

[OT] reload servlet without restarting the application

2003-12-16 Thread Ashish Kulkarni
Hi Is it possible to reload the servlet without having to restart the application, For example i have defined settings for log level in xml file, and i set them to show only error messages, suppose if i have to change it to debug, i have to restart my application, since the applications reads this

Re: just learning it

2003-12-15 Thread Ashish Kulkarni
Hi this is good place to start http://jakarta.apache.org/struts/userGuide/index.html Ashish --- "Travis D. Falls" <[EMAIL PROTECTED]> wrote: > I have very little knowledge of struts. I want to > learn it. I have got > the book by o'reilly programming Jakarta struts. I > don't really like > it.

Re: How to set action path from Action.

2003-12-09 Thread Ashish Kulkarni
Hi have you tried using DispatchAction, may be it can help you, i use to forward action to different jsp depending on what button on clicked by the user. Ashish --- Antony Paul <[EMAIL PROTECTED]> wrote: > Hi, > After user login based on the dept of user user > has to forwarded to > pages in d

Re: How to detect that session has expired ?

2003-12-07 Thread Ashish Kulkarni
HI if u are using servelt 2.3 , then u can use servelt filter, in this filter u can have logic to check session before each request so u dont need to add any code in jsp or action class Ashish --- Ed Dowgiallo <[EMAIL PROTECTED]> wrote: > Inheritance is your friend. If you need processing > commo

RE: [OT] generate HTML file from XML and XSLT

2003-11-14 Thread Ashish Kulkarni
; transformation. > > > -Original Message- > From: Paul McCulloch > [mailto:[EMAIL PROTECTED] > Sent: Friday, November 14, 2003 9:42 AM > To: 'Struts Users Mailing List' > Subject: RE: [OT] generate HTML file from XML and > XSLT > > > Hava a

[OT] generate HTML file from XML and XSLT

2003-11-13 Thread Ashish Kulkarni
Hi, I have a XML file and a XSLT file, i need to create a HTML file in a temp directory then read this file to get a String so can email this String or print the String as HTML is it possible to do it?? and how I am using jdk1.4.1 Ashish = A$HI$H __ Do you Y

[OT] create XML based on DTD from resultset on fly

2003-11-03 Thread Ashish Kulkarni
Hi, i have designed a DTD for my XML file, now i want to genereate a XML file based on this DTD on the fly, I will run a SQL querry, which will return me a result set, i want to create XML file from this resultset, and i dont want to write it to a file, i want to just create a XML file so can be u

Re: Paging

2003-11-03 Thread Ashish Kulkarni
Hi Visit this URL, it works great with struts or any jsp framework http://kulkarni_ash.tripod.com/howto/jsptaglib-howto.html Ashish --- "Mauricio T. Ferraz" <[EMAIL PROTECTED]> wrote: > Hi People!!! > > Anybody knows, how can I do paging with Struts??? > (<>) And changing the > color of the rows

Re: 2 message resource files andmessages in Action class problem

2003-10-31 Thread Ashish Kulkarni
: > hi, > > what do you mean by "when i try to dispay it"? are > you using > tag or some other mechanism? > > in your JSP page have you tried: > > > > ATTA > ----- Original Message - > From: "Ashish Kulkarni" <[EMAIL PROTECTED]&

2 message resource files andmessages in Action class problem

2003-10-31 Thread Ashish Kulkarni
Hi, I have 2 message resource file defines in my struts-config file, it works perfect in jsp where i can use "bundle" keyword on tag, but it does not work in my action class where i want to set messages from message resource So works fine in jsp while errors.add(ActionErrors.GLOBAL_ERROR,

Re: how to use 2 resource files in one struts-config.xml? solved it thanx

2003-10-29 Thread Ashish Kulkarni
> Default bundle (with no key attribute in > message-resources) is stored by > struts using key="org.apache.struts.action.MESSAGE". > > I am not sure how come switching location of > message-resources solve > your problem ?? !!! > > > > > &g

Re: how to use 2 resource files in one struts-config.xml? solved it thanx

2003-10-29 Thread Ashish Kulkarni
struts-config.xml file Ashish --- Ben Anderson <[EMAIL PROTECTED]> wrote: > in your struts-config.xml: > > > key="MESSAGE_TWO"/> > in your jsps: > > bundle="MESSAGE_TWO"/> > > > > >From: Ashish Kulkarni &l

Re: how to use 2 resource files in one struts-config.xml?

2003-10-29 Thread Ashish Kulkarni
g to access > message resources bundle of different bundle.. > > > Ashish Kulkarni wrote: > > > Hi > > I have 2 message resource files, > > com.myapp.one.properties and > com.myapp.two.properties > > I haev some messages in one and some messages in > two, &

how to use 2 resource files in one struts-config.xml?

2003-10-29 Thread Ashish Kulkarni
Hi I have 2 message resource files, com.myapp.one.properties and com.myapp.two.properties I haev some messages in one and some messages in two, and want to display these in jsp and in action class etc how do i define them in my struts-config.xml and use them with tag. This is what i am trying but

RE: multiple resource files in one struts-config file

2003-10-28 Thread Ashish Kulkarni
t pls specify diff keys for diff resource files. > second, pls check if you have specifiied > errors.header= > line in every property file. > > HTH > Navjot Singh > > >-Original Message- > >From: Ashish Kulkarni > [mailto:[EMAIL PROTECTED] > >Sent

example of jsp in WEB-INF

2003-10-28 Thread Ashish Kulkarni
Hi, is there any example on net of keeping jsp in WEB-INF folder, like struts-blank how do we access the images and gif files, and how do we forward the request to these jsp Ashish __ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com

multiple resource files in one struts-config file

2003-10-28 Thread Ashish Kulkarni
Hi, I have a problem with mulitple resource files in one struts-config file. My definiation in the xml file is as below I have some messages in maps.properties file , but in my jsp i get error message saying Missing message for key "errors.header" what wrong am i doing? Ashish

get data source in servlet

2003-08-18 Thread Ashish Kulkarni
Hi, I have defined a data source in my struts-config file, which is working fine as i get the connection in my Action class, but i need to get the data source in a Servlet, can any one provide with the code to get the data source in servlet Ashish __ Do you Yahoo!?

java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource

2003-08-15 Thread Ashish Kulkarni
Hi i am using struts 1.1 and i just copied all the jar files from struts-blank application, but i keep getting this error i have defined a datasource in struts-config file what am i missing Ashish __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site de

get data source in servlet

2003-08-15 Thread Ashish Kulkarni
Hi, I am using struts 1.1 and have defined a data source for connection pooling, in my Action class i get the data source by using simple DataSource dataSourceA = getDataSource(request, "A"); Connection myConnection = dataSourceA.getConnection(); But now i need to get the data source in a servl

Re: [OT] Rendering Large ResultSet - Value List Handler Design Pattern

2003-08-14 Thread Ashish Kulkarni
Hi, u can think of using cachedrowset, it is similar to resultset but it caches the data what i have done is the following, i run a SQl querry get the resultset and then using this resultset populat a cachedrowset and pass it to jsp ( presentation layer) and then i can use cursor to scroll in cac

RE: Urgent: Editor for JSP in Eclipse

2003-08-01 Thread Ashish Kulkarni
Hi, i was looking at http://black-sun.sourceforge.net/ which is the editor for jsp??? Ashish --- [EMAIL PROTECTED] wrote: > Thanx a lot!!! works great for me > > --mohan > > > > I am using the blacksun plugin. It does have a > find start/end tag > > feature. > > > > http://black-sun.sourcefo

Re: html:select and data refresh

2003-07-30 Thread Ashish Kulkarni
ady using onchange > to > load data. Can I use another attribute, such as > onblur, or onclick to do the job? And how do I > reload > the page to the previous page (that is: with no > table > display)? > > regards > > > --- Ashish Kulkarni <[EMAIL PROTECTE

Re: html:select and data refresh

2003-07-30 Thread Ashish Kulkarni
Hi, i guess u can try onchange event on select, to find out when the user selectes some thing and clear the result table displayed below for clearing the table u can use java script or will have to reload the page Ashish --- Rick Col <[EMAIL PROTECTED]> wrote: > Hi, guys: > > I have a list for us

RE: [OT]http to https shift

2003-07-30 Thread Ashish Kulkarni
day, July 30, 2003 8:32 AM > To: 'Struts Users Mailing List' > Subject: RE: [OT]http to https shift > > > It works automatically! > You don't have to mess with anything if you make > sure that the user is > accessing the login.jsp page via https > > -

RE: [OT]http to https shift

2003-07-30 Thread Ashish Kulkarni
ogin.jsp page via https > > -Original Message- > From: Ashish Kulkarni > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 30, 2003 10:24 AM > To: Struts Users Mailing List > Subject: RE: [OT]http to https shift > > > Hi, > this is what i need to do > suppose i ha

RE: [OT]http to https shift

2003-07-30 Thread Ashish Kulkarni
he form will > automatically be submitted via https. > Make sure that your login page is being submitted > via https > (https://www..com/login.jsp > > --Amit > > -Original Message- > From: Ashish Kulkarni > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, Jul

RE: [OT]http to https shift

2003-07-30 Thread Ashish Kulkarni
your form resides on Websphere and you want to > post it to the tomcat > server? Or is it vice-versa? > Can you please explain what exactly you are trying > to do? > > -Original Message----- > From: Ashish Kulkarni > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 30,

[OT]http to https shift

2003-07-30 Thread Ashish Kulkarni
Hi, i have a website running on tomcat and also on websphere, i want to change some submit to go using https, like the login page and some sensitive information, can anyone point to some resource, where i can get info about submiting a secured response, on tomcat and websphere Ashish ___

need suggestion on logic

2003-07-28 Thread Ashish Kulkarni
Hi, I am building a web application using struts1.1, and this is my requirement, There is a jsp where in user will enter data in text field, and then press enter, this will submit to a Action class, this action class must decide wether a relogin page has to be displayed or not, and if yes t

logic to rememeber where the request came and where to submit

2003-07-25 Thread Ashish Kulkarni
Hi, I am building a web application using struts1.1, and this is my requirement, There is a jsp where in user will enter data in text field, and then press enter, this will submit to a Action class, this action class must decide wether a relogin page has to be displayed or not, and if yes then disp

RE: dynamic forward to different pages from ActionClass

2003-07-23 Thread Ashish Kulkarni
Hi , Do u have a example code of doing this, it will be a great start for me Regards Ashish --- Wendy Smoak <[EMAIL PROTECTED]> wrote: > > i want to forward the request to the page from > where it came,( i have this > > info in session) how can i do it, this must be > dynamic > > I recently disc

dynamic forward to different pages from ActionClass

2003-07-23 Thread Ashish Kulkarni
Hi, I am working on an application and have a following requirement, I have a servlet filter which checks if the user is logged in or not for each request, if the user is not logged on, then this servlet stores the request in session, (i.e the page which send the request and the request parameters

login framework

2003-07-15 Thread Ashish Kulkarni
Hi, I have a following requirement, there are 2 links on a webpage, when the user clicks on 1st link show the user login screen if he is not logged in( ihave login info in session), if the login is valid forward the request to 1st html page, if the user clicks on 2nd link, again show the login sc

RE: [OT] auto convert resource property files to different langua ge

2003-07-15 Thread Ashish Kulkarni
List' > Subject: RE: [OT] auto convert resource property > files to different > langua ge > > > You've just asked for the Holy Grail of language > translation. > I don't think that tool exists yet. There are > companies that > provide that service. >

[OT] auto convert resource property files to different language

2003-07-15 Thread Ashish Kulkarni
Hi, I have a properties file which is in english, now i have to create properties files for different langauage like russian, spanish, french etc. now i dont know any of these languages is there any automatic conversion tool which will translate the properties file to different languages. If it i

single signon and struts

2003-07-11 Thread Ashish Kulkarni
Hi, does anyonehave some info about single signon, i have developed project using struts 1.1, i have about 4 as400 which can be accessed, i was planning to put in place single signon, can anyone provide some links or info about it Ashish __ Do you Yahoo!? SBC Yahoo

JAAS and struts1.1

2003-07-10 Thread Ashish Kulkarni
Hi has anyone worked with JAAS and a struts project, i have a project where in i have used struts1.1 and is working great, now i have a requirement where i want to validate a user against a AS400 system, i.e. get user id and password and validate it for some functions IS there any other way to do i

validate user id password for some task

2003-07-09 Thread Ashish Kulkarni
Hi, I am using struts 1.1 and i have the following requirement, and need help in desinging it I have some applications which will need the user to login using userid and password, the user is already logged to the website, but needs this for electronic signature. my problem is how do i take the use

remmeber the URL design question

2003-07-09 Thread Ashish Kulkarni
Hi, I have to work on web application where i need for the user to logon with userid and password for some functions. So it will be some thing like the user clicks submit after entering the data on a screen, but then i want to show a page for the user to login, and if the login is successfull then

Re: [OT] Create folder and copy files on client machine

2003-07-03 Thread Ashish Kulkarni
t; > > > ----- Original Message - > From: "Ashish Kulkarni" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, July 03, 2003 12:20 PM > Subject: [OT] Create folder and copy files on client > machine > > > > Hi > > I am

[OT] Create folder and copy files on client machine

2003-07-03 Thread Ashish Kulkarni
Hi I am working on a intranet application where in i need to create folder on client machine, cache some files on it, and when the file on the server is updated copy the new file to the client machine, Any suggestions or website or code on how to go about it I using struts1.1 to develop my website

Re: Reference to local DTD files

2003-06-30 Thread Ashish Kulkarni
Hi, sorry for attaching my question to this, but i have a same problem, i have xml file and dtd file in same folder under web-inf. but i get error dtd not found , my groups.xml definiation is some thing like below where groups.dtd is in the same folder as groups.xml and i read the xml file in be

problem with struts bean tag when created on the fly

2003-06-25 Thread Ashish Kulkarni
Hi, I am trying to the following, I have a java class which builds a String for displaying in webpage, I have some code in this class which builds String as if it is struts bean tag, like my string when build looks like this '' and the java code to build this is String title = new String("\'" + "+"

[OT] opening URI in mozilla

2003-06-25 Thread Ashish Kulkarni
Hi, I have a link on one of the jsp which opens a local file from the client PC, i am working on intranet application so this is fine by me, so my path in HTML tag looks like this file:///C:/cognos/scheduling/Scenario.imr This works perfect in IE , but i get error in mozilla and netscape, saying

Re: test

2003-06-18 Thread Ashish Kulkarni
passed :-) --- Lydia P <[EMAIL PROTECTED]> wrote: > test > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > = A$HI$H __ Do you Ya

RE: struts menu 1.2 question

2003-06-16 Thread Ashish Kulkarni
ment. > The javascript bundled with struts-menu is from: > http://www.dhtmlcentral.com/projects/coolmenus/ > > This should be enough to get you started. > > If you have more questions you can subscribing to > the struts-menu-user > list via the sourceforge link above. >

RE: struts menu 1.2 question

2003-06-16 Thread Ashish Kulkarni
We have up to three levels down, but use our own > displayers/javascript. > How many levels down are you going? > -jaafar > > -Original Message- > From: Ashish Kulkarni > [mailto:[EMAIL PROTECTED] > Sent: Monday, June 16, 2003 11:47 AM > To: [EMAIL PROTECTED] > Su

struts menu 1.2 question

2003-06-16 Thread Ashish Kulkarni
Hi, has anyone used struts menu to build drop down menu to any level, I was trying to use coolmenu3 and it fails when i go to levels down, any suggestions, about it Ashish = A$HI$H __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yah

struts menu tutorial??

2003-06-13 Thread Ashish Kulkarni
Hi, does any one have a struts menu tutorial or any web site or book where i can get it, please let me the location or book or if anyone has written one Ashish = A$HI$H __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://

Re: Page Iteration

2003-04-03 Thread Ashish Kulkarni
ached row set, is it possible to use the > tag for this? > > cheers, > Brian > > - Original Message - > From: "Ashish Kulkarni" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > <[EMAIL PROTECTED]> > Sent: Thursday,

Re: Page Iteration

2003-04-03 Thread Ashish Kulkarni
Hi Brian I am using this taglib in my project and have no problem what so ever till todate... Ashish --- Brian McSweeney <[EMAIL PROTECTED]> wrote: > Thanks Ashish, > looks good and simple. Have you found the taglib > reliable? > cheers, > Brian > > - Original Mes

Re: Page Iteration

2003-04-02 Thread Ashish Kulkarni
Hi , I am using a pager taglib which can be used on any scrollable object like collection etc I have also written a small HOWTO u can visit http://kulkarni_ash.tripod.com/howto/jsptaglib-howto.html and try to use it Anyone else using this taglib can u please verify and let me know if i am missin

RE: Struts & Pager Tag Library

2003-03-28 Thread Ashish Kulkarni
Hi pager tag lib is very cool and easy to use i have used it in my project, u can download it from here and also has some examples http://jsptags.com/tags/navigation/pager/index.jsp http://jsptags.com/tags/navigation/pager/pager-taglib-2.0.html Ashish --- Robert Taylor <[EMAIL PROTECTED]> wro

Re: jsp editor

2003-03-26 Thread Ashish Kulkarni
Hi, u may also wana look at macromedia dreamweaver MX, u can add any number of taglibs and it works fine, also have capability to do visual editing Ashish --- [EMAIL PROTECTED] wrote: > > Netbeans 3.4.1 does a decent job of that, I have > also tried Eclipse, but I > have since started looking at

Re: null pointer error in HTML tag when session is false in jsp

2003-03-25 Thread Ashish Kulkarni
Hi, I tried putting in my jsp but still get the same error, Ashish --- David Graham <[EMAIL PROTECTED]> wrote: > If you set the tag's locale attribute to > true it will create a > session, otherwise you don't need one. > > David > > > &g

Re: Problem with locale

2003-03-25 Thread Ashish Kulkarni
ult, the output > messages continue in > english. > > - > Miguel Ángel Medina López > Logic Factory: www.logic-factory.com > Granada - España > > ----- Original Message - > From: "Ashish Kulkarni&quo

null pointer error in HTML tag when session is false in jsp

2003-03-25 Thread Ashish Kulkarni
Hi, here is a code snippet of my jsp, i get null pointer error, do i have to have a session, ?? <%@ page language="java" session="false" buffer="16kb" contentType="text/html"%> this is the error i get java.lang.NullPointerException at org.apache.struts.taglib.html.HtmlTag.getCurrentLoc

is there a struts club in NJ???

2003-03-25 Thread Ashish Kulkarni
Hi, can some one forward the website or infortmation if there is a struts club in NJ, i would like to join it, Ashish __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com ---

Re: Problem with locale

2003-03-25 Thread Ashish Kulkarni
Hi, try putting locale in the session of the user, Locale l=new Locale("es","ES"); session.setAttribute(Globals.LOCALE_KEY , l); Ashish --- Miguel Angel Medina Lopez <[EMAIL PROTECTED]> wrote: > Hi all: > > I have a problem when I want to change the locale of > my struts application. By defauly,

RE: struts Internationalization and fonts for jsp

2003-03-24 Thread Ashish Kulkarni
8194 > >Mobile: 079.726.14.26 > > _ > > > > > > > >-Original Message- > >From: David Graham [mailto:[EMAIL PROTECTED] > >Sent: Monday, March 24, 2003 5:03 PM > >To: [EMAIL PROTECTED] > >Subject: Re: struts Internationalization and

struts Internationalization and fonts for jsp

2003-03-24 Thread Ashish Kulkarni
Hi, I have to build a website which can be viewed in multiple languages, I am using properties to file to get the text in different languages , but how do people select different font for different languages, What i was thinking was to have a property called font in properties file and have font

[OT]servlet filter problem

2003-03-14 Thread Ashish Kulkarni
Hi, Tomcat 4.1.12 I have the following definition in my web.xml, but some how it is not working... I want to filter all the request which go to /pages/planning/*.do How do i do it?? MapsValidFilter com.pfizer.maps.common.MapsValidFilter MapsValidFilter /pages/pl

Re: validate business data

2003-03-14 Thread Ashish Kulkarni
Hi, What we have done in our application is created a busniess logic bean, so we create the instance of this bean in Action class and then get an ArrayList of all the messages ( error or display) and then put these messages in ActionErrors in Action class and forward it to jsp So we keep the busin

struts and request.getRequestDispatcher problem

2003-03-14 Thread Ashish Kulkarni
Hi, i have a following code in my jsp , but is not working for me on tomcat4.1.12 request.getRequestDispatcher("/pages/sessioninvalid.do").forward(request, response); My struts-config definiation is as follows This used to work when using struts1.1b2 , but not working since upgr

RE: Caching Drop Down List Box Strategies?

2003-03-13 Thread Ashish Kulkarni
Hi, One question about caching data in servletcontext, u said some thing about timestamp, what this timestamp do exactly, how will i come to know when to reload the data using this timestamp, Also suppos the data i ahve to cache does not modify so often , but it modifies once in 15 - 20 days, but

problem with Action?? very weird

2003-03-13 Thread Ashish Kulkarni
Hi, I was using struts1.1b2 then migrated to strtus1.1b3 , my application was working fine, and today i am getting very weird problem, when i type http://localhost:8080/mapsweb6102/pages/selectenv.do i dont get into the SelectEnvAction.class but directly forwarded to the jsp, and so it fails I hav

RE: [OT] basic java question

2003-03-12 Thread Ashish Kulkarni
t; resultant change in > state corrupt the integrity of the output? > > cf., Joshua Block, "Effective Java" > (Sun/Addison-Wesley 2001): 5-9 (has a > great forward by Guy Steele, too). > > Mark > > -Original Message- > From: Ashish Kulkarni > [

Re: Newbie: Hello World ActionForward returns nothing

2003-03-11 Thread Ashish Kulkarni
How do u call this action class?? are u loading it from jsp or html?? http://localhost:8080/yourapplicationname/helloWorld.do should call it i guess??? Correct me if i am wrong --- Simen Brekken <[EMAIL PROTECTED]> wrote: > (NOTE: If this is reposted, I appoligize.) > > It's a drop dead simple "He

Re: [OT] basic java question

2003-03-11 Thread Ashish Kulkarni
ssential/threads/index.html > > it discusses synchronization and when you need to > use it. > > -jeff > > On Tuesday, March 11, 2003, at 02:41 PM, Ashish > Kulkarni wrote: > > > Hi, > > > > I have a following class with 2 static methods, > should &

[OT] basic java question

2003-03-11 Thread Ashish Kulkarni
Hi, I have a following class with 2 static methods, should i make the methods synchronized?? I would not make then synchronized, if those where independent, but i am not sure since one method is calling other to get some data I will call this method from any class String a = MyClass.getOtherThi

Re: [Q] Log Viewing tool for Windows environment?

2003-03-11 Thread Ashish Kulkarni
Hi, u may wanna try http://www.textpad.com/ this one is pretty good refresh etc when the file is changed on computer and just press Ctrl + End key once and it will take u always to end of file Ashish --- Jeff Smith <[EMAIL PROTECTED]> wrote: > To date I have been using the brute-force log > view

Re: Want to stop tomcat's info messages from printing to console

2003-03-07 Thread Ashish Kulkarni
Hi, I have a following setup and works for me, may be u also wanna try it in my Log4J properties file i have defined also in web.xml file i have setup debug parameter in action servlet definiation to 4 debug 4 which stoped all the

Re: crazy error

2003-03-07 Thread Ashish Kulkarni
Hi, How do u pass the bean to jsp from Action, do u pass it through request, if yes then u will loose the bean when u submit it back from jsp as it is a new request, and so loose all the values I hope this makes sense, Ashish --- [EMAIL PROTECTED] wrote: > Hi, > > I have a action calls which po

Re: paginator tags

2003-03-07 Thread Ashish Kulkarni
our reference Ashish --- Richard Raquepo <[EMAIL PROTECTED]> wrote: > Can you give me actual jsp code on how you used the > pager tag. i find it > hard to customize it. thanks > - Original Message - > From: "Ashish Kulkarni" <[EMAIL PROTECTED]> > To:

Re: Exceeding sessions on load test

2003-03-06 Thread Ashish Kulkarni
Hi what application server are u using, does it use servlet2.3 specifications, if yes u can use the session listener to find out when the session was created and destroyed http://www.javaworld.com/javaworld/jw-01-2001/jw-0126-servletapi-p2.html Ashish --- [EMAIL PROTECTED] wrote: > Hi, > I'

RE: validating input fields which are not required

2003-03-06 Thread Ashish Kulkarni
> James > > > -Original Message- > > From: Ashish Kulkarni > [mailto:[EMAIL PROTECTED] > > Sent: Thursday, March 06, 2003 4:43 PM > > To: [EMAIL PROTECTED] > > Subject: validating input fields which are not > required > > > > >

validating input fields which are not required

2003-03-06 Thread Ashish Kulkarni
Hi I am using struts 1.1b3 and struts validator to validate input from user, I have a numeric field which is not required , but if the user enters some value in this field then i need to validate that field, how do i do that, I have the following defination and i get error saying field is require

Re: paginator tags

2003-03-06 Thread Ashish Kulkarni
Hi u may wanna have a look at this http://jsptags.com/tags/navigation/pager/index.jsp it works well for me Ashish --- alexj <[EMAIL PROTECTED]> wrote: > you may use or struts-el > here is a sample from JSTL in Action : > <%@ taglib prefix="c" > uri="http://java.sun.com/jstl/core"; %> > > valu

[OT] need help in regex expression

2003-03-05 Thread Ashish Kulkarni
Hi, I have to validate a double field, which can be negative or positive, has max 4 digits in integer and max 2 digits after decimal, I have the following regex which handles some cases but need help to make it work in all casses \b[\d]?[\d]?[\d]?[\d]?\b[\.,]?[\d]?[\d]? it works in 1234.56 123.4

problem with vaidation of numeric field

2003-03-05 Thread Ashish Kulkarni
Hi, I have to validate a double field for input using struts validator, The problem is, in some places comma "," is used instead of decimal "." in double field, like 123.45 is same is 123,45 but in second case struts gives an error saying invalid double field, can i make the existing validation

struts validation question

2003-03-04 Thread Ashish Kulkarni
Hi, I have 3 questiona about handling validation in struts 1.1b3, using dyna form and using validation.xml Q1, Suppose i have to validate date for 3 different format depending upon a value set in sessio, so if the value of fomrat is '1' date format is dd/MM/yy, if '2' date format is MM/dd/yy and

[OT] Applet and Calendar class

2003-02-28 Thread Ashish Kulkarni
Hi, I am developing a applet which will be used by clients all over the world, in this applet i have to use calendar class to do lot of date calculations. I am using Calendar.getInstance() to get the instance of calendar, I want to know if this will create problem , as the server will be in USA, a

RE: [OT] how do people work in project with one server for development

2003-02-28 Thread Ashish Kulkarni
Hi, I am working on websphere on AS400, and so cannot have each developer a seperate test enviornment, Although we develop all the code on NT, test it and put it on AS400, bt there is some code which works on AS400 only, but anyway, we come to a conclusion that, only one developer works with th

RE: where do i get info for setting the logging level in struts1. 1.b3

2003-02-25 Thread Ashish Kulkarni
log4j.logger.org.apache=ERROR, LoggerType > > > > PS: Not so subtle hint. Consider losing the $ > signs in your signature. > > -Original Message- > From: Ashish Kulkarni > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 25, 2003 11:21 AM > To: [EMA

where do i get info for setting the logging level in struts1.1.b3

2003-02-25 Thread Ashish Kulkarni
Hi, I want to set the log message level to error , so i dont get all the debug messages. Is there a place where some steps or procedurs is given to setup this level, I am using log4j in my project and so have the log4j.jar file in lib directory, does it affect it?? = A$HI$H __

Re: struts 1.1b3 , getting lot of messages in out file

2003-02-24 Thread Ashish Kulkarni
Hi, where is this log4j properties file in struts?? i thought only i have to give the message level in web.xml file?? Ashish --- Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi, > I am using struts1.1b3 and in my web.xml i have set > the debug message level to 4, but still i

struts 1.1b3 , getting lot of messages in out file

2003-02-24 Thread Ashish Kulkarni
Hi, I am using struts1.1b3 and in my web.xml i have set the debug message level to 4, but still i get a lot of messages in my out file, most of the messages i get are from PropertyMessageResources.java, I also use Log4j for my project and the message level for it is set to 1, does it affect struts

RE: passing object from request?? how does it work

2003-02-20 Thread Ashish Kulkarni
formance problems? Design > issue? OK), but why don't you store the object in > the session and once used > it remove the object from the session? It could by a > tricky around your Xxx > issues. > > Marco > > > > -Original Message- > >

RE: passing object from request?? how does it work

2003-02-20 Thread Ashish Kulkarni
gt; Ashish: > > > > > > Why won't "ordinary" Java work within your jsp? > As > > > in: > > > > > > <% > > > request.setAttribute("thisObject", myObject); > > > %> > > > > > > Then

Re: passing object from request?? how does it work

2003-02-20 Thread Ashish Kulkarni
gt; > in: > > > > <% > > request.setAttribute("thisObject", myObject); > > %> > > > > Then in your Action class retrieve it as usual > with > > the > > request.getAttribute("thisObject"); > > > > Seems to me t

  1   2   3   >