problem with element in struts-config.xml

2004-10-14 Thread Ashish Kulkarni
Hi I am having problem with element I have 2 jsp, adminlogin.jsp is in folder pages and index.jsp is in folder pages\admin Here is how i have defined my action in struts-config.xml file Now the problem if i get error in AdminLoginAction it tries to display adminlogin.jsp, but the relative path

struts validation and resource file

2004-10-14 Thread Ashish Kulkarni
Hi Can i specify which message resource should be used to get the text when performing validation? I hit the follwoing problem In my struts-configxml i have defined 2 resource files like and in my validation.xml file i have the following validation where key approval.005 is from resource

Re: problem with element in struts-config.xml

2004-10-15 Thread Ashish Kulkarni
rent > location. I'm pretty sure (though I haven't used > this) that all you > need to do is include at the top of > your error.jsp file to > have everything resolve correctly. > > -- Jeff > > Ashish Kulkarni wrote: > > Hi > > I am having proble

upgrading from struts1.1 to struts 1.2.4

2004-10-15 Thread Ashish Kulkarni
Hi Is there any place where i can find all the changes between struts 1.2.4 and struts1.1, and any documentation for upgrading to 1.2.4 Ashish = A$HI$H __ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promot

struts 1.2.4 validation and resource bundle problem

2004-10-19 Thread Ashish Kulkarni
Hi I recently upgraded my application to struts 1.2.4, and was trying to use valiator version 1.1.3, but was having problem, the validator was not able to find key from resource bundle, I have 2 resource bundle, those are defined as below In my validation.xml file i have defined the field as be

struts validation and resource bundle

2004-10-21 Thread Ashish Kulkarni
Hi I am using struts 1.2.4 and valiator 1.1.3 , i am having problem replacing text from resource file. I have 2 resource files defined, and i want to get the text message from second resource file The struts.config is as below definitation in validation.xml file is as below but some how i dont

Best practises to get message resource in java class,

2004-10-22 Thread Ashish Kulkarni
Hi I am working on a struts application, In this a Action class calls a java class which does all the business logic, then this java class returns a ArrayList which has 1 Completion flag, 0 successfull, 1 error 2 All messages to be displayed 3 Data for jsp screen These messages generated due to p

user@struts.apache.org

2004-10-25 Thread Ashish Kulkarni
Hi Is there a simple example of how to use html:options tag How do i define the bean in struts-config.xml file, and how do i use it in my jsp Currenty i have defined the following in struts-config.xml In my Action form i populate this bean and set it in request scope, in my jsp i used t

lossing the values when returing to jsp if any error in Action class

2004-10-25 Thread Ashish Kulkarni
Hi I have a jsp which has a dropdown box, in my dispatch Action class i populate a ArrayList and store in request and pass it to my jsp, the user then selects one value from this dropdown and hits enter, In my action class i call the business logic class, which tries to insert this value in datab

using dropdown box

2004-10-26 Thread Ashish Kulkarni
Hi Can some on provide a example of using http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: using dropdown box

2004-10-26 Thread Ashish Kulkarni
list1 > =helper.getAdminValuesTech(mapping,form,request,response,errors); > //set the option lists > session.setAttribute(Constants.PAGE_ATTR_ADMIN_MODIFY_TECH_LIST,list1); > request.setAttribute(Constants.PAGE_ATTR_ADMIN_MODIFY_TECH_LIST,list1); > > in my action class

mulitpage form in struts

2004-10-26 Thread Ashish Kulkarni
Hi Is there example for handling multipage form, which handles validation on each page, and handle forward-backward navigation buttons. Ashish __ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/

[OT] SQL in XML file

2004-10-27 Thread Ashish Kulkarni
Hi Is there any code out there or any one worked on a framework, where we can define SQL statements in XML file and at runtime java program will read this XML file, build the SQL if prepared statement and execute it and return a ResultSet What may be the points to be taken into consideration if i

data entry screen with more then one jsp page

2004-10-27 Thread Ashish Kulkarni
Hi Has anyone developed a data entry screen which spans more then one jsp page, This framework must do validation on each page, and provide navigation buttons to go one page to other or come back and see the data entered How do i processed with this requirement Ashish _

RE: [OT] SQL in XML file

2004-10-27 Thread Ashish Kulkarni
he end of the Init() method > so it loads your query > and stores the results in the application scope for > all visitors to access. > Hibernate supports named queries with and without > parameters. > > Regards, > David > > -Original Message- > From: As

RE: [OT] SQL in XML file

2004-10-27 Thread Ashish Kulkarni
; The same thing could happen in a webapp without > having to restart the > webapp. I'd recommend reading the Hibernate > reference PDF and searching on > "Configuration()". I see it as Chapter 3.1 in my > Hibernate(.org) v2.1.6 > documentation. > > Regards, > Dav

[OT]Templates of various documents

2005-06-13 Thread Ashish Kulkarni
Hi I remmember having a website which had templates of various documents, like project requirement document, or project proposal or design specifications etc does any one know this website or similar kind of website I have to do some project proposals and need some standar template documents Ashi

Re: AW: [OT]Templates of various documents- got the site

2005-06-13 Thread Ashish Kulkarni
Hi found this site http://readyset.tigris.org/ very good site for templates ashish --- Leon Rosenberg <[EMAIL PROTECTED]> wrote: > Try http://www-306.ibm.com/software/rational/ and > search / try for RUP. > > Regards > Leon > > > -Ursprüngliche Nachricht

[OT]question about ibatis, error when loading resource properties file

2005-07-01 Thread Ashish Kulkarni
Hi I am trying SQLMap as stand alone application, here is my folder structure c: --test | --com | ashish | --data | -- SQLMapConfig.xml -- SqlMapConfig.prop

[OT]java bean question

2005-07-01 Thread Ashish Kulkarni
Hello I have java bean where in there is one property as below private java.lang.String P813NAME ; public void setP813NAME (java.lang.String P813NAME ) { this.P813NAME = P813NAME; } public java.lang.String getP813NAME () { return this.P813NAME ; } is this valid or not? if not why not and where i c

whats new with struts?? no beta for download

2005-07-18 Thread Ashish Kulkarni
Hello I have been using struts for a while now, i did some upgrade to 1.2.4 few months ago(may be 6 i dont remmember) since then i was busy with some thing else so lost touch with whats happening in struts. I went to http://struts.apache.org to find out more and was surprized to see that there is n

[OT]Blocking authority to access JSP

2005-08-02 Thread Ashish Kulkarni
Hi I have been trying to block access to jsp directly, here is my folder structure pages -- | A$HI$H Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs -

[OT]Blocking authority to access JSP - ignore previous mail

2005-08-02 Thread Ashish Kulkarni
Hi I have been trying to block access to jsp directly, here is my folder structure pages -- | --index.jsp --access.jsp --logo.gif In my web-xml file if i add Restrict access to JSP pages /pages/* it blocks logo.gif also, and i cannot add Restrict acces

Re: [OT]Blocking authority to access JSP - ignore previous mail

2005-08-02 Thread Ashish Kulkarni
I know wish i could not, but the design is that we have all the images in a folder images which is under pages, it sort of sucks seems the *.jsp works some times and some times not i guess it works on tomcat and not on websphere --- Wendy Smoak <[EMAIL PROTECTED]> wrote: > From

[OT] Web application for software distribution

2005-08-07 Thread Ashish Kulkarni
Hi We have a developed a inhouse web application for internal clients, these internal clients are at various locations in USA. I need a web application to deliver this developed web application war file, and jar files. So basically some thing like apache website, to deliver software to internal cl

Re: [OT] Web application for software distribution..any solution

2005-08-08 Thread Ashish Kulkarni
--- Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi > We have a developed a inhouse web application for > internal clients, these internal clients are at > various locations in USA. > I need a web application to deliver this developed > web > application war file, and

[OT]Web application for software distribution...any solution

2005-08-08 Thread Ashish Kulkarni
Hi We have a developed a inhouse web application for internal clients, these internal clients are at various locations in USA. I need a web application to deliver this developed web application war file, and jar files. So basically some thing like apache website, to deliver software to inte

[OT] Find properties file in classpath

2005-08-17 Thread Ashish Kulkarni
Hi how do i find all the properties file available in classpath?? Ashish __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -

Re: [OT] Find properties file in classpath

2005-08-17 Thread Ashish Kulkarni
Hi is there a problem if i do some thing like below URL url = null; url = this.getClass().getClassLoader().getResource("approvals.properties"); if(url== null) { ClassLoader.getSystemResource("approvals.properties"); } Ashish

[OT]properties file question

2005-08-31 Thread Ashish Kulkarni
Hi i have a properties file where in i define all the connection options like date format=iso time format=hms I am having problem with this file when running in turkey because of space character. is there a way i can convert this properties file to work in all languages Ashish ___

[OT] Identify web user in intranet

2005-02-09 Thread Ashish Kulkarni
Hi Is there any thing unique to identify the client machine(desktop) other then IP address? I have a situtation where in my intranet, i need to identify the machine uniquely and do some processing, But the problem is that we dont haev static IP address, but dynamic IP address. I want to display a p

Re: [OT] Identify web user in intranet

2005-02-10 Thread Ashish Kulkarni
ecause > relying on header of HTTP requests is pretty > dangerous. > I thought in this email that security is your main > problem. But if you > only want to display something different while a > user is on a different > machine, I think you should see Dimensions: > http://m

Re: [OT] Identify web user in intranet

2005-02-10 Thread Ashish Kulkarni
hard thing for users to go to a central page > that has a link to > all floor plans and click on the one they want. (As > a side note, Adobe > once had an SVG demonstration that had a 3-D model > of their building > that users could click on to see floor plans of each > floor.

Re: [OT] Identify web user in intranet

2005-02-10 Thread Ashish Kulkarni
Hi Thanx for all the information, i can now try to find a solution using one of the ways Ashish --- PA <[EMAIL PROTECTED]> wrote: > > On Feb 10, 2005, at 16:44, PA wrote: > > > Well... there is no simply solution to this > problem... to make matter > > worst, you have dynamic IP address... sig

RE: Validation Strategies?

2005-02-14 Thread Ashish Kulkarni
Hi we had some similar sort of issue, we have AS400 RPGLE programs doing business logic and validation (not screen but business related) to get the messages from RPGLE to JSP using struts we defined one ErrorMessage class, then we trap the message from AS400 in this ErrorMessage class and then bui

Re: [OT] Auto comment generation

2005-02-17 Thread Ashish Kulkarni
Hi http://jalopy.sourceforge.net/ this is a pretty cool plug-in to format the code as well as add java documentation Ashish --- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote: > Anyone know of a tool (Eclipse plug-in perhaps?) > that will take a Java > source file and put javadoc comments (a ske

[OT] java date and time issue

2005-02-17 Thread Ashish Kulkarni
Hi We have a situtation where we will be hosting our web server in USA and users from all over the world will be accessing this, these users will do some transaction which will update the database. Now the problem is with date and time, we dont want to enter system date and time, but the local date

Re: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Ashish Kulkarni
Hi I would read the property as a String and then use SimpleDateFormat to convert it to time stamp, i am not sure if this conversion is done automatically in bean public setMyDate(String myDateString) { //i dont remmember the date format try { SimpleDateFormat format = new SimpleDateFormat(); java

Re: Placing message beans inside other tages

2005-03-10 Thread Ashish Kulkarni
Hi I dont think you can do that, --- haim <[EMAIL PROTECTED]> wrote: > HI. > > Please forgive me if this is a stupid question , I > failed to find an > answer for this issue. > > How do I place a message into an attribute of a > taglib. > For example lets assume that I want to place the src > of

[OT] tool to compate properties file

2005-04-04 Thread Ashish Kulkarni
Hi is there a tool which will compare properties file and highlight missing keys. I have a situtation where i have properties files in different languages, i want to compare to see if there are any keys missing in any of those files Is there any open source or free tools?? Ashish

[OT] edit HTML code on fly using java

2005-04-06 Thread Ashish Kulkarni
Hi does any one know a class or utility in java which will allow to update or modify HTML code on the fly, Here is what i am trying to do, i have a filter which which intercepts the response before being send out to browser, depending on some condition i want to modify this response which is HTML c

RE: [OT] edit HTML code on fly using java

2005-04-06 Thread Ashish Kulkarni
Hello My project is sort of screen scrpaer (web facing on AS400) In this i want to add some features which are not available in green screen, like adding some graphics on the fly by modifying the response generated by web facing tool Any guidance on doing so with speed, it will be for every reques

[OT]Tool to find amount of data transfered in web application

2005-04-07 Thread Ashish Kulkarni
Hi I have to make a report to display amount of data transfered when using a web application, to find out if it will work in existing networking (Intranet) and there are no band width issues, Is there a open source tool which will tell the amount of data transfere in Intranet when accessing a web s

RE: [OT]Tool to find amount of data transfered in web application

2005-04-07 Thread Ashish Kulkarni
ml) > it might be able to do what you want. Don't remember > off the top of my > head if it includes bandwidth reports but I think it > does. > > Al > > > -Original Message- > From: Ashish Kulkarni > [mailto:[EMAIL PROTECTED] > Sent: Thursday, Apr

Re: [OT] Open source paginator

2005-04-08 Thread Ashish Kulkarni
Hi http://kulkarni_ash.tripod.com/howto/jsptaglib-howto.html Ashish --- Rick Reumann <[EMAIL PROTECTED]> wrote: > N G wrote the following on 4/7/2005 3:31 PM: > > Does anyone know of some open source paginator > package out there? > > Something generic enough that you could stick > collections int

[OT]question about open source data base selection

2005-04-11 Thread Ashish Kulkarni
Hi I am working on a intranet project, we plan to use a open source database, there wont be a lot of load on it, may be a 500-700 records written or deleted per day. I would like to have a database which has features like views, stored procedures, foreign key constraint etc Which would you guys pre

[OT] get real path to jar file in jsp folder

2005-04-11 Thread Ashish Kulkarni
Hi Here is a data structure in my web project, c:\myproject - | - pages - | my.jar WEB-INF- | classes lib all my servlets are in classes folder, how do i get the absoulte path for my

[OT]find available language property files in a web application

2005-04-13 Thread Ashish Kulkarni
Hi How to find out which language property files are availble in a web project, for example i have test.properties, test_fr_FR.properties, test_ru.properties file in WEB-INF\classes folder, how to identify on the fly what languages property files are availble and then display it in a jsp so the us

ActionMessage and resource bundle

2005-04-21 Thread Ashish Kulkarni
Hi In my struts-config.xml file i have defined 2 resource files, Is it possible to access messages defined in approvals message file, in ActionMessage. I am using struts 1.2.4. If i do the following ActionMessage message = new ActionMessage("mykey"); I need to define "mykey" in maps message fi

question about jstl tag c:if

2005-04-26 Thread Ashish Kulkarni
Hi I have a struts tag like below I tried to use jstl c:if tag as below i get error An error occurred while evaluating custom action attribute "test" with value "${loginForm.singlesignon == '1'}": Unable to find a value for "singlesignon" in object of class "org.apache.struts.validator.DynaV

RE: question about jstl tag c:if

2005-04-26 Thread Ashish Kulkarni
DynaValidatorForm. So, the > following should work: > > > > > > -Original Message- > > From: Ashish Kulkarni > [mailto:[EMAIL PROTECTED] > > > > Hi > > I have a struts tag like below > > property="singlesignon" > > value

Re: OT: html list

2004-11-02 Thread Ashish Kulkarni
Hi Look at http://www.javaranch.com/ --- andy wix <[EMAIL PROTECTED]> wrote: > Hi, > > Does anyone know of a mailing list similar to this > one for html problems? > > cheers, > Andy > > _ > Want to block unwanted pop-ups? Download

[OT] access Microsoft Access database from remote machine

2004-11-15 Thread Ashish Kulkarni
Hi Has any one accessed Microsoft access database from remote machine, currently if i have to use JDBC-ODBC brige i have to create a system DSN and then use this to access data, but if i dont have the database on my local machine, or any drive mapped to my machine how do i access it using JDBC Ash

struts and applets

2004-11-15 Thread Ashish Kulkarni
Hi I am working on a webproject where i have designed a applet which communicates with the database using applet-servlet communication, The applet opens a URL connection to a servlet. My Servlet reads the data from applet calls the appropriate business classes, get data and returns data back to ap

[OT] secure jsp in web application

2004-11-17 Thread Ashish Kulkarni
Hi I want to secure all my jsp in my web application, I added following security constraint in my web.xml file, but some how seems it does not work Block Access to jsp files This is to block access to all jsp files *.jsp POST GET what may be the reason?? Ashi

Re: [OT] secure jsp in web application

2004-11-17 Thread Ashish Kulkarni
the snippet. You need > to apply authorization constraint to protect your > pages/ > > Ashish Kulkarni <[EMAIL PROTECTED]> > wrote:Hi > I want to secure all my jsp in my web application, > I added following security constraint in my web.xml > file, but some how see

[OT] Ant question

2004-11-23 Thread Ashish Kulkarni
Hi I have a ant script which creates a war file, every thing works well but it does not copy empty directory in the war file, i need one directory which is empty, it is under WEB-INF and at run time xml files are created in it, My web application expects this empty folder and crashes if not found,

[OT] different java versions in same project

2004-11-28 Thread Ashish Kulkarni
Hi Has anyone used 2 different versions of java in same J2EE project. I have a web project where i have a Applet which displays data in graphs etc, this applet uses applet - servlet communication to connect to database, What i want to try to do is develop all the servlets and code running on appli

caching large data in web application

2004-11-28 Thread Ashish Kulkarni
Hi what is the best way to cache data in web application, I have a table in AS400 DB2 database which i want to cache in application server to improve performance, Also is it possible to have a external trigger which will update the cache if the data base is updated by some external process Ashish

Re: caching large data in web application

2004-11-29 Thread Ashish Kulkarni
t a little trickier. > By the way, I think I've done some variation of > all these approaches > at one time or other, so I can try and expand on > things if you need me to. > > -- > Frank W. Zammetti > Founder and Chief Software Architect > Omnytex Technologies &g

data caching in web application

2004-11-29 Thread Ashish Kulkarni
Hi I have a table in DB2 on AS400 which has about 1 records, i want to cache this data to improve my web application performance, I dont want to cache it in session, I was thinking of loading the data in array or some class and load it in servlet context, what is the best way to do it? is the

Hibernate for data caching

2004-12-01 Thread Ashish Kulkarni
Hi Has anyone used Hibernation for data caching, i have a table in DB2 on AS400 which has about 1 records i want to cache this data in my web application so can improve performance Ashish __ Do you Yahoo!? All your favorites on one personal

what is the current production version of struts??

2004-12-08 Thread Ashish Kulkarni
Hi what is the current production version of struts, is it 1.2.4 or 1.2.5 or 1.2.6, I have a current struts project using 1.1, and have apportunity to migrate to new struts version, which one should i jump on My application will be going live in next 2 months Ashish

Re: what is the current production version of struts??

2004-12-08 Thread Ashish Kulkarni
> On Wed, 8 Dec 2004 11:35:40 -0800 (PST), Ashish > Kulkarni > <[EMAIL PROTECTED]> wrote: > > Hi > > what is the current production version of struts, > is > > it 1.2.4 or 1.2.5 or 1.2.6, > > I have a current struts project using 1.1, and > have > &

Re: what is the current production version of struts??

2004-12-09 Thread Ashish Kulkarni
them available to > > > the general public so people have access to > versions that are more > > > updated than the "production release" but more > stable than the nightly > > > builds. Each milestone build is a potential > "production release&qu

Re: Websphere discussion group

2004-12-16 Thread Ashish Kulkarni
Hi try http://saloon.javaranch.com Ashish --- Vicky <[EMAIL PROTECTED]> wrote: > Does anyone know if there websphere application > server > discussion group/forum exist? > > Thanks, > Vicky > > > > > __ > Do you Yahoo!? > Yahoo! Mail - Yo

Re: [OT] Request an app test (free beer!)

2004-12-20 Thread Ashish Kulkarni
Hi Do u care about AS400 system value, if so then Key os.name Value OS/400 Ashish --- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote: > I was informed last OT post I made that the subject > should always > include the word "beer". I added the "free" to get > your attention :) > > I'm working on

Re: Struts and DreamWeaver

2004-12-23 Thread Ashish Kulkarni
Hi I use macro media dreamweaver and can add tag library and so can support struts or jstl, i explained my graphical designer to use these tags instead of html tags and it worked out well, try teaching graphical designer to use tags.. Ashish --- Erik Weber <[EMAIL PROTECTED]> wrote: > I completed

[OT] store web application specific data

2005-01-04 Thread Ashish Kulkarni
Hi I am working on a web application using struts, i have some application speicific data which is in a xml file in WEB-INF directory of my web application. What is the best way to make this information available through out the web application. I dont want to read the xml file each time data is re

[OT] struts jsp tags or jstl tags

2005-01-05 Thread Ashish Kulkarni
Hi I am working on a project, need some suggestion on using tag library which do i use struts or jstl? what is the difference , do jstl be to replace tag of struts Ashish __ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more.

Re: [OT] struts jsp tags or jstl tags..equivalent taglibs for

2005-01-05 Thread Ashish Kulkarni
some pretty good Struts-specific > functionality you won't find > in the JSTL. > > -- Jeff > > Ashish Kulkarni wrote: > > > Hi > > I am working on a project, need some suggestion on > > using tag library > > which do i use str

help in defining the flow of action class and jsp in my struts application

2005-01-07 Thread Ashish Kulkarni
Hi I need some help in defining action classes and form beans for my application Let me explain the flow of my application 1 User will be displayed a blank HTML page, which a only one URL for login 2 When user clicks on this URL i have to go to a database and select all the user id that can be used

RE: JSP bean-- commclipse plugin info

2005-01-07 Thread Ashish Kulkarni
Hi sounds like a good plugin, but was not able to google it, can you give the website from where i can download this plugin Ashish --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > -Original Message- > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > > Sent: Friday, January 07, 200

user@struts.apache.org

2005-01-07 Thread Ashish Kulkarni
Hi is it possible to use in my jsp i have defined Ashish __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail

RE:

2005-01-07 Thread Ashish Kulkarni
Hi i would like to use option tag from struts, do you have a example, i dont see any in struts-examples Ashish --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Ashish Kulkarni > [mailto:[EMAIL PROTECTED] > > Sent: Friday, January 07

struts and testing

2005-01-10 Thread Ashish Kulkarni
Hi what is the best way of testing struts action classes, i need to do functional testing as well as unit/integration testing. I also need to create a scenario as if 5 or 10 users are logged on to the web site Ashish = A$HI$H __ Do you Yahoo

user@struts.apache.org

2005-01-10 Thread Ashish Kulkarni
Hi How do i display a drop down box from hashtable data here is my form definiation in my html i define // logic to display html:select with html:option tag Ashish __ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.

Re:

2005-01-11 Thread Ashish Kulkarni
her then adding this code Ashish --- Brandon Mercer <[EMAIL PROTECTED]> wrote: > Ashish Kulkarni wrote: > > >Hi > >How do i display a drop down box from hashtable > data > >here is my form definiation > > >type="org.apache.struts.validator.DynaValidat

[OT]Hashtable Vs Hashmap, Vector Vs ArrayList

2005-01-11 Thread Ashish Kulkarni
Hi what is difference between Hashtable and Hashmap , also Vector and ArrayList. What are key points to consider when selecting one over the other Ashish __ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mai

Re: help : paging in struts view

2005-01-14 Thread Ashish Kulkarni
Hi Have a look at this http://kulkarni_ash.tripod.com/howto/jsptaglib-howto.html Ashish --- sachin <[EMAIL PROTECTED]> wrote: > hi all , > > how to achieve paging in struts views ? > > so that all the records can be viewed by prevoius , > next links > There are function available in ASP , PHP .

Re: Two Data Base Connections in struts-config.xml ?

2005-01-17 Thread Ashish Kulkarni
Yes it is possible, just have 2 data source definition i guess --- Jay Chandran <[EMAIL PROTECTED]> wrote: > Hi, > > Is it possible to connect to two databases from a > struts application. > ie basically is it possible two add two database > connectivity in > struts-config.xml? > > Regards, >

open new window form struts action

2005-01-19 Thread Ashish Kulkarni
Hi can we open a new window from action class? i dont want to use as i want to be able to open this new window from any form( i have a menu option which can be executed from any page of my website) Basically i have a java script which looks like this TheNewWin = window.open(url, '', config='heigh

Re: open new window form struts action..java script variable

2005-01-19 Thread Ashish Kulkarni
Hi thanx guys for the clarification, here is a very intresting problem with defining target and opening new window, suppose you open a new window using java script in mypage.jsp your code will be like below in mypage.jsp var TheNewWin; if(!TheNewWin || TheNewWin.closed) { TheNewWin = window.open(

RE: open new window form struts action..java script variable

2005-01-20 Thread Ashish Kulkarni
w name to something specific > such as mysite_com_popup > and then use that name as a target in the future? > > Regards, > David > > -----Original Message- > From: Ashish Kulkarni > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 19, 2005 2:28 PM > To: Stru

[OT]Applet question, open in new JVM

2005-01-24 Thread Ashish Kulkarni
Hi I was working on a Applet in which i had some static methods in a class with some applet data, it was working great untill i had to develop another applet which uses these static methods, now the problem is the data is getting mixed when i open both the applets. i want to know if i can open the

Re: [OT]Applet question, open in new JVM

2005-01-25 Thread Ashish Kulkarni
not recommended. > > So I think the solution is to revise the way you > store the information > don't you? > > Regards > > Duncan Mills > Senior Principal Product Manager > Oracle Application Development Tools > > [EMAIL PROTECTED] > > > &g

[OT] a design question

2005-01-25 Thread Ashish Kulkarni
Hi Suppose i have a class, which required 3 parameters to do some process, out of 3 parameters 2 are standard and only one changes depending upon the process. I dont want to hard code those 2 values since these can be change (this is not a web application so i cannot use session) What i want to do

Re: [OT] a design question.. have a look at this class

2005-01-26 Thread Ashish Kulkarni
t; I didn't really see a question? Is your question > how to best write > the class? Well, you've got my 2 cents. > > Good Luck, > > Eddie > > On Tue, 25 Jan 2005 13:57:09 -0800 (PST), Ashish > Kulkarni > <[EMAIL PROTECTED]> wrote: > > Hi > >

[OT] a java question

2005-01-26 Thread Ashish Kulkarni
Hi If we need a variable which can be accessed from any class, then we set this variable as static and access it as MyClass.Variable, this variable can be modified from any class if we dont set this variable as final like public static final String Variable = "ABC"; here is the problem, i cannot se

Re: [OT] a java question

2005-01-26 Thread Ashish Kulkarni
, and no one else calls this method , how to protect this method from being called by other classes Ashish --- PA <[EMAIL PROTECTED]> wrote: > > On Jan 26, 2005, at 20:08, Ashish Kulkarni wrote: > > > how do i protect it from updated > > by any other class. > >

Re: [OT] a java question

2005-01-26 Thread Ashish Kulkarni
} > public static setData(String input) > { > if (! isInitialzed) > { > data = input; > isInitialzed = true; > } > } > > } > - Original Message - > From: "Ashish Kulkarni" <[EMAIL PROTECTED]> > To:

Re: [OT] a java question

2005-01-26 Thread Ashish Kulkarni
Hi how will this class work if there is no public static void main method and have to be initialized by some other class Ashish --- [EMAIL PROTECTED] wrote: > i don't not it this is a good practice. . Maybe it's > a bad practice > but.. but this work > and int this way you can mantain the cons

[OT] java logging in JApplet

2005-01-27 Thread Ashish Kulkarni
Hi I want to use java logging API in applet, i want to use ConsoleHandler to get all the logs in my java console, also i want to have a JDialog where i will display various logging level options and then set the log level from the selected option. I dont want to use a properties file to set Log lev

[OT]Configure websphere for storing session in database

2010-07-08 Thread Ashish Kulkarni
Hi Has anyone configured websphere to store session in DB2 on AS400, or any other database, I found this URL which explains how to do it, but i am not sure how to test it, i am trying to configure this with DB2 on AS400 http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ib

Java based spell check

2011-06-27 Thread Ashish Kulkarni
Hi Does anyone know of open source Java based spell check which does not call google webservice for spell check? Like pspell in PHP which can be hosted in intranet environment -- Ashish www.ayurwellness.com www.mysoftwareneeds.com

[OT] Bandwidth calculation

2009-05-18 Thread Ashish Kulkarni
HiI have to find out how much data is transferred between the client and web application server and from web application server and database, i want to find out KB or MB of data per webpage request or per session. I need to prepare a report for networking team to make sure that the webapplication

Struts validation with multiple struts-config.xml file (struts 1.2.6)

2009-06-15 Thread Ashish Kulkarni
HiI am having issues with struts validation when i have more then one struts-config.xml file defined in web.xml Struts performs no validation for the rules i have in validation.xml file, which is part of struts-config.xml, but if i remove struts-config-admin.xml from web.xml then it performs the r

[OT] Return Hashmap java object from servlet

2009-07-07 Thread Ashish Kulkarni
HiIs it possible to return Hashmap object from java Servlet, What kind of ContentType can i set to the response? The other option is to set data from HashMap into XML and return it as XML file. for example. I have servlet like below public class ReturnObjectServlet extends HttpServlet { public

Handle Japanese characters from jsp page into ActionClass

2009-07-27 Thread Ashish Kulkarni
HiI have a jsp page which displays data in UTF-8 encoding, there is a input text field, when user enter japanese characters in this input text and data is transferred to Actionclass i get junk value, How do i handle japanese characters in ActionClass, do i have to do anything special in servlet or

Re: Handle Japanese characters from jsp page into ActionClass

2009-07-27 Thread Ashish Kulkarni
HiI am using struts 1.2.6 and not yes in struts 2, So should i just put in a general filter to do encoding? Ashish On Mon, Jul 27, 2009 at 4:10 PM, Greg Lindholm wrote: > On Mon, Jul 27, 2009 at 3:34 PM, Ashish Kulkarni < > ashish.kulkarn...@gmail.com> wrote: > > > HiI

  1   2   >