to
prevent the user from going back to the opener window.
Hope this helps -
Margaret
-Original Message-
From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 4:53 PM
To: '[EMAIL PROTECTED]'
Subject: RE: How to handle a PopUp Form from another Form
Hi,
I am looking for suggestions on how to handle this situation:
I have a grid form (i.e., a form with tabular data). One of the columns of this
tabular data is PartNumber which when clicked on a row should popup a form in a new
window bringing up all the information about this part, e.g.,
Yes I do know how to open the popup form in a new window. That's the easy part. How to
handle the popup form is the problem.
-Nimmi
-Original Message-
From: Alexander Jesse [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 2:01 PM
To: struts-user
Subject: RE: How to handle a
.
As for the second part, could you use javascript onload function in the original
page, which checks to see if popup exists, and if it does puts focus back on it?
Cheers,
Dave
Shamdasani Nimmi-ANS004 [EMAIL PROTECTED] on
10/22/2001 02:50:51 PM
Please respond to [EMAIL PROTECTED]
To: struts
?
Dave
Shamdasani Nimmi-ANS004 [EMAIL PROTECTED] on
10/22/2001 04:47:25 PM
Please respond to [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]'
[EMAIL PROTECTED]
cc:(bcc: David Hay/Lex/Lexmark)
Subject: RE: How to handle a PopUp Form from another Form?
It is an indexed link. I already
Hi,
Here's my problem. My management feels that storing the database
account(userid/password)in the config file is a security risk. According to them a
hacker can get access to the whole database if they can get access to this info.
Supposedly the security team wants to put the application
storing
database userid and password in struts-config.xml?
If they're not getting the firewall reasoning, you could encrypt it, using
sun's JCE api's. That might help your bosses feel better.
- Original Message -
From: Shamdasani Nimmi-ANS004 [EMAIL PROTECTED]
To: struts-user@jakarta
/about/struts/
Shamdasani Nimmi-ANS004 wrote:
Hi,
Here's my problem. My management feels that storing the database
account(userid/password)in the config file is a security risk. According to them a
hacker can get access to the whole database if they can get access to this info
,
but it could be kept well outside the Web server file structure.
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/
Shamdasani Nimmi-ANS004 wrote:
Hi,
Here's my problem. My management
() is not invalidating the session
Date: Thu, 30 Aug 2001 10:13:40 +0200
i'm having the same problem , please help anyone?
-Original Message-
From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 9:32 PM
To: struts-user@jakarta. apache. org (E-mail)
Subject: STRANGE
).
- When a page starts (at start of your Action class code) if that
object the user is logged on so you allow access.
Hope that helps
Keith.
--- Shamdasani Nimmi-ANS004 [EMAIL PROTECTED] wrote:
I am under the impression that session.invalidate() should be
sufficient for logout. The problem
ends to create a new session if there isn't one
there. (every time the action servlet runs I
suspect?).
To restrict access to pages you should require the user to
be logged on. - At logon add
some object to the session (I call mine singedOnUser). - When a page starts (at start
the action servlet runs I
suspect?).
To restrict access to pages you should require the user to
be logged on. - At logon add
some object to the session (I call mine singedOnUser). - When a page starts (at start of your Action class code) if
that object the user i
. and you clicked
thatlink you get NullPointerException. But if you just did browser refresh
the links start working again.
Craig,
if you read this email then could you please explain this session returning back
situation.
TIA
-Nimmi
-Original Message-From: Shamdasani Nimmi-ANS004
Hi,
My application, which runs fine with tomcat 3.2.3, gives the error below on tomcat
4.0. I am using struts 1.0.
I copied the jaxp.jar, crimson.jar and xalan.jar to CATALINA_HOME/lib. Looking at the
log there seems to be problem with the datasource. I am using Oracle and my classpath
has
placing the oracle classes.zip in you catalina_home/lib
hope this helps,
rama.
- Original Message -
From: Shamdasani Nimmi-ANS004 [EMAIL PROTECTED]
To: struts-user@jakarta. apache. org (E-mail)
[EMAIL PROTECTED]
Sent: Tuesday, August 28, 2001 9:53 AM
Subject: Please Help!!! Struts application
Hi,
I am trying to port my application (using Struts 1.0) which runs fine on tomcat 3.2.3
to tomcat 4.0 but I am getting error. I did copy the crimson.jar and jaxp.jar from
JAXP1.1 to $CATALINA_HOME/lib. I did find another set of crimson.jar and jaxp.jar in
$CATALINA_HOME/server/lib. Those
Tomcat 4.0 was not able to see Oracle driver class, the path to which was specified in
system classpath. Tomcat 3.2.3 had no problem finding it. Putting classes.zip file
(Oracle Driver) in $JAVA-HOME/jre/lib/ext solved the problem.
-Original Message-
From: Shamdasani Nimmi-ANS004
Hi,
I decided to move my application to the latest Struts 1.1 build (20010827) and Tomcat
4.0- b7. But I am getting the error below.
My application was working fine with Struts 1.0 and Tomcat 3.2.1
Could someone please help me solve it. Thanks.
-Nimmi
Here's the error:
Hi,
This question probably could be answered best by David Winderfeldt. I want to validate
some indexed fields and was wondering if I could use the validator package. Also
where could I more info on how to write expressions for the mask field in formset?
TIA.
-Nimmi
is the javadoc
link for the class that is used for regular
expressions.
http://jakarta.apache.org/regexp/apidocs/org/apache/regexp/RE.html
David
--- Shamdasani Nimmi-ANS004 [EMAIL PROTECTED]
wrote:
Hi,
This question probably could be answered best by
David Winderfeldt. I want to validate some
Hi,
I have a bean stored in application scope in a startup servlet using:
getServletContext().setAttribute(Constants.COMMON_DROP_DOWN_KEY,
commonDropDownListBean);
This bean of type CommonDropDownList has a property getResponseIndicatorList which
returns a HashMap.
I want to use this
use application scope bean in JSP?
use jsp:useBean id='%=Constants.COMMON_DROP_DOWN_KEY %'
scope=application /
-Original Message-
From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 3:53 PM
To: struts-user@jakarta. apache. org (E-mail)
Subject: How do I
I have a bean in application scope and I want to use one of its collection
property(responseIndicatorList) in a drop-down but I keep getting an error:
No getter method for property responseIndicatorList of bean common_lists
This is how I have in my jsp:
jsp:useBean id=common_lists
Hi,
I have a form which has a SELECT type field. The value selected from the Select
options should set the corresponding field in the FormBean but the options available
in this Select field are in another bean in the session scope. How do I specify such
a Select field using html:select
Never Mind I found the solution
-Original Message-
From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 14, 2001 10:24 AM
To: struts-user@jakarta. apache. org (E-mail)
Subject: Can another bean besides the FormBean be used inside a Form?
Hi,
I have a form
Hi,
I am trying to pass 2 parameters with html:link. Since it is not legal to use the same
attribute name more than once in the same tag, I created another reference 'tempId'
to my 'submitQuotesForm' bean using bean:define tag but I am only getting the last
param 'supplier_seq' added to my
Martin,
Could you please give an example of how it can be used? I just did the index naming
the old fashioned way(i.e., adding index to the property string) and would like to
replace it.
Thanks.
-Nimmi
-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]]
Sent:
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 14, 2001 1:43 PM
To: Shamdasani Nimmi-ANS004
Cc: [EMAIL PROTECTED]
Subject: RE: html:link only uses the last param* attributes
Hi,
No I never solved that problem. What I did is what Struts tells you to do
which is create a Hashtable or something and put
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 14, 2001 12:46 PM
To: struts-user@jakarta. apache. org (E-mail)
Subject: Re: Having problems passing more than one parameter with
html:link tag
On Thu, 14 Jun 2001, Shamdasani Nimmi-ANS004 wrote:
Hi
Hi Oleg,
Could you please send me the class and JSP too. Thanks.
-Nimmi
-Original Message-
From: Oleg V Alexeev [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 3:07 PM
To: Matt Raible
Subject: Re: Logic Tag Library and (Iterator) List Navigation
Hello Matt,
I can send you
Hi,
I just downloaded Struts 1.0-b3 and found out that 'etc', 'src' and 'web' directories
are no longer there. What happened to these? It was convenient to get the source code
also in one shot of download.
-Nimmi
Title: Form input using image tag
Kat,
I
have
html:image
src="images/btn_login.gif"/
and it
creates this:
input type="image" name=""
src="images/btn_login.gif;jsessionid=lqwrkmnwb1"
I
don't know if it should make a difference but try removing the space before
/ and see if it works
Shane
This is how you do it:
logic:iterate id=eachBean name=yourBeanObject property=beanList
TR
TDbean:write name=eachBean property=name//TD
/TR
/logic:iterate
In the above case in yourBeanObject class you will have the method getBeanList() which
will return a list of your beans. And in
Hi,
Does anyone know how to associate an image with the html:cancel tag?
Thanks.
-Nimmi
Hi,
My application works great with struts version 1 of 1/29/01 but now I want to move to
the latest version of struts and its not working. No changes have been made to the
application itself. I have tried even beta 1 version and other versions after that but
no luck.
The problem seems to
It was a small mistake
Hi,
Is there a way to associate an image with the 'Reset' button?
Thanks.
-Nimmi
Struts example application uses:
app:checkLogon/
in the JSPs to force the user to go to login screen. Check that.
-Nimmi
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 3:25 PM
To: [EMAIL PROTECTED]
Subject: Initial security check
Hi,
Is there a way to associate an image with the 'Reset' button?
Thanks.
-Nimmi
Hi,
I am forced to use IPlanet for putting my application into production. I am wondering
if I could use just IPlanet Web Server (IWS) for my application using Struts instead
of having to use IPlanet application server(IAS). My application consists of JSPs,
Servlets and Java Beans( and no
Hi,
I want to add an extra button 'Change Password' on my logon screen, which should take
me instead to the 'changePassword.jsp' screen where I would enter the username,
password, new password fields .
I want a suggestion on how to handle this. Should I have the same form bean for both
If you put WEB-INF in caps, windows will show it to you as Web-inf but internally it
would 've made it all caps. BTW it is a good idea to convert it Web-inf to caps.
-Original Message-
From: Anderson, Jessica [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 16, 2001 2:24 PM
To: '[EMAIL
http://java.sun.com/xml/download.html
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 4:32 AM
To: [EMAIL PROTECTED]
Subject: From where to download the XML parsers...
Hi all,
Can anyone tell me where do i get these packages I'm
Anand,
Try using:
html:select property='%= new String("paymentMode") %'
notice ' instead of "
-Nimmi
-Original Message-
From: Anand Raman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 10:09 AM
To: struts
Subject: significance of property attribute in select tag
hi guys
Use html:form instead of form:form
also include
%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %
-Original Message-
From: Ratnadeep Bhattacharjee [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 4:58 PM
To: [EMAIL PROTECTED]
Subject: bundle param in message tag
Hi,
Hi,
Does anyone have any references like articles, etc. on the best practices for
handling errors in web application. Are there any guidelines available anywhere?
Thanks in anticipation.
-Nimmi
Hi,
I am trying to convert my application from using DBConnectionBroker package for
database pooling to Struts way of handling connection pooling. I am getting
compilation error "javax.sql.Datasource not found" in JBuilder, which is using JDK
1.3, while compiling one of my Action classes.
Did you put the form definition in action mappings in Struts-config.xml?
-Original Message-
From: soh syed [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 9:15 AM
To: [EMAIL PROTECTED]
Subject: class notfound exception
can anyone help with this
my classpath is all ok and i
%
TR
TDFONT face = "Arial"supplier.getCode() %/FONT/TD
TDFONT face = "Arial"%= supplier.getName() %/FONT/TD/FONT/TD
TDFONT face = "Arial"%= supplier.getCountryName() %/FONT/TD
/TR
% } %
/TABLE
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTE
hashTable.elements(); e.hasMoreElements(); )
{
SupplierBean supplier = (SupplierBean) e.nextElement();
%
TR
TDFONT face = "Arial"supplier.getCode() %/FONT/TD
TDFONT face = "Arial"%= supplier.getName() %/FONT/TD/FONT/TD
TDFONT face = "Arial"%= suppl
ned
tag or anything.
I appreciate all the help I received :)
-Nimmi
-Original Message-----
From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 11:04 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Question about iterate tag
Craig,
I did try this way but it still
ork in your
situation it might simplify your problem.
Tracy
-----Original Message-
From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 2:34 PM
To: '[EMAIL PROTECTED]'
Subject: How do I iterate thru a hashtable using iterate tag?
Hi,
Could someone
Hi,
Could someone help me with replacing the JSP code below with iterate tag
logic:iterate ? I have tried various permutations of logic:iterate but have been
unsuccessful.
---
jsp:useBean id="user" scope="session"
Wes,
I did try your code(and this is what I was trying before myself too) but the table
still comes out to be blank whereas if I use the code below the supplier rows are
displayed. So what's the problem?
Anyone else with suggestions?
-Nimmi
-Original Message-
From: Wes Hodges
Is there a problem that getSuppliers() method returns a Hashtable and not an ArrayList?
-Nimmi
-Original Message-
From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 3:59 PM
To: '[EMAIL PROTECTED]'
Subject: RE: PLEASE HELP: How would I use
or later.
Just a thought,
Dave
-Original Message-
From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 5:02 PM
To: '[EMAIL PROTECTED]'
Subject: RE: PLEASE HELP: How would I use the iterate tag here?
Is there a problem that getSuppliers() method returns
erate tag here?
Yes, there is. See Craig McClanahan's explanation in the archives:
http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg03625.html
Hope this helps.
--
Martin Cooper
Tumbleweed Communications
- Original Message -
From: "Shamdasani Nimmi-ANS004" [EMAIL PROTE
Wes,
I did try the code below but it still doesn't work. Anyone has any other suggestion?
Imagine all this trouble when all I want to do is to make my "WORKING" JSP code look
cleaner by using iterate tag:
TABLE
logic:iterate id="supplierMapEntry" name="user" property="suppliers"
erate tag here?
You should be able to use nested properties:
bean:write name="item" property="value.code"/
bean:write name="item" property="value.country"/
bean:write name="item" property="value.countryName"/
--
Martin Cooper
Tumbleweed Communi
Hi,
Could someone please tell me what I am doing wrong below:
user is a bean in session scope in my JSP and its getSuppliers() method returns a
hashtable where keys are Suppliers Ids and elements are Supplier beans.
logic:iterate collection="%= user.getSuppliers() %" id="supplier"
Hi,
Could someone please tell me what I am doing wrong below:
user is a bean in session scope in my JSP and its getSuppliers() method returns a
hashtable where keys are Suppliers Ids and elements are Supplier beans.
logic:iterate collection="%= user.getSuppliers() %" id="supplier"
. In the working variant they are:
code, name, countryName. In the 2nd (not working variant) they are:
seq_nbr, name, country_name.
The second, maybe underscore sign is not allowed.
Maya
Shamdasani Nimmi-ANS004 wrote:
Hi,
Could someone please tell me what I am doing wrong below:
user is a bean
Hi,
In some of the e-mails I have seen nested syntax being used for property attribute,
e.g.,
html:text property="mailingAddress.street"/
what does that mean? Is it that the getMailingAddress() method of the bean will be
called, and then what is ".street" for?
-Nimmi
Dennis,
Here's is how I have done it with javascript. With every submit I am sending in a new
value for the hidden field 'command' and in my action class I look into this value of
'command' to do the next combobox selection criteria thru a bean and populate the
corresponding property in that
Thanks Craig, that's exactly what I want to do and I am sure there will be others who
want to do the same. I did enter a request to add this feature in 1.0 on Bugzilla.
Till the time that feature is available thru Struts I wonder how I should handle such
a form. Do you have a suggestion?
Hi,
I have been following the threads on struts.jar issue and this is what I have. I have
deployed an application using struts 1.0 build with tomcat 3.2.1 on windows NT.
Here's the strange situation:
If I don't add struts.jar in my classpath, I can run struts-example but CANNOT run my
own
Shamdasani Nimmi-ANS004 wrote:
Hi,
I have been following the threads on struts.jar issue and this is what I have. I have
deployed an application using struts 1.0 build with tomcat 3.2.1 on windows NT.
Here's the strange situation:
If I don't add struts.jar in my classpath, I can run struts
To: [EMAIL PROTECTED]
Subject: Re: Confusion about struts.jar in classpath
Shamdasani Nimmi-ANS004 wrote:
Craig,
I did a find on 'struts.jar' on my 'D drive' and these are all the occurences of
'struts.jar':
D:\jakarta-struts\lib
D:\mqc_struts_05\Web-inf\lib
Craig,
Is there a way that only the error message(e.g., username is required) appears next to
the error field instead of the headings:
VALIDATION ERROR
You must correct the following error(s) before proceeding
also appearing with it. It will be good if the heading could be at the top of the
Craig,
If the form displays the data in a table form (i.e., rows of data) where some of the
fields in each row are display only and the others are editable and need to be
validated, is there is way to to that with ActionForm?
Thanks.
-Nimmi
-Original Message-
From: Craig R.
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 10, 2000 11:47 AM
To: [EMAIL PROTECTED]
Subject: New struts user - status Qs
I just got a small system running using sturts on a
In my application I have a DatabaseServlet which gets a pool of database connections
on startup.
What would be the best approach for my java beans to get a free connection from the
pool?
Should I store the pool in the servletContext and the action classes get a connection
from the pool and
Hi All,
I have a bean userOrderListBean with a property 'getOrderList' which is a list of
'Order' Bean. I would like to show the rows from getOrderList to the user on a JSP and
allow them to update the information.
How does one update the indexed properties using Struts? And does
Hi All,
I have a bean userOrderListBean with a property 'getOrderList' which is a list of
'Order' Bean. I would like to show the rows from getOrderList to the user on a JSP and
allow them to update the information.
How does one update the indexed properties using Struts? And does
75 matches
Mail list logo