at I have found 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 Pop
u
have an indexed link to partInfo.do, which you can bring up in a new window
using target=. Submit etc from this window should return you to this window if
error etc..
Where exactly is your difficulty?
Dave
Shamdasani Nimmi-ANS004 <[EMAIL PROTECTED]> on
10/22/2001 04:47:25 PM
Ple
ta in the popup form.
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 respon
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 Pop
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.,
be placed. It would need to be on the classpath,
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 wrot
l +1 716 737-3463
-- http://www.husted.com/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 wh
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
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 ser
id(). This method will return true if the request
came from the form you just returned, and false if it came from some other
form, such as one previously cached by the browser. (Be sure to call
resetToken() after checking, to clean up.)
--
Martin Cooper
- Original Message -----
From: "S
you clicked
that link 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
ess 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 is logged on so you allow
access. Hope that helps Keith.
--- Sh
ere. (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 of your Action class code) if
that object the user is
nUser).
- 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 lo
: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: RE: STRANGE: session.invalidate() is not invalidating the session
>Date: Thu, 30 Aug 2001 10:13:40 +0200
>
>i'm having the same problem , please help anyone?
>
>-Original Messa
Hi,
I noticed a peculiar thing. In my application I have a logout link on pages. This link
control goes to 'Logout' action where I clean up the session variables and then
invalidate the session with:
session.invalidate();
and this class forwards it to Logout.jsp which just has the goodbye me
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 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 als
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 A
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
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:
javax.servlet.Servlet
help you write your own. Here 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 an
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 ?
TIA.
-Nimmi
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:
-Nimmi
: '[EMAIL PROTECTED]'
Subject: RE: How do I use application scope bean in JSP?
use
-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 use application scope b
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 HashMa
r with
tag
On Thu, 14 Jun 2001, Shamdasani Nimmi-ANS004 wrote:
> 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 'submitQ
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 your
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: Wednesday,
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 tag but I am only getting the last
param 'supplier_seq' added to my link.
Here
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 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 & tags?
TIA
-
Hi,
Can someone please show me how to use the 'Iterate' and 'Select' tags instead in JSP
code below for the indexed properties some of which are modifiable :
<%SubmitQuotesForm
submitQuotesForm=(SubmitQuotesForm)session.getAttribute("submitQuotesForm");%>
<%for (int i=0; i < submitQuotesFor
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 Pa
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
Shane
This is how you do it:
In the above case in yourBeanObject class you will have the method getBeanList() which
will return a list of your beans. And in the bean class eachBean) you will have a
method getName() which will return the name variable.
Hope this helps.
-Nimmi
-O
Title: Form input using image tag
Kat,
I
have
and it
creates this:
I
don't know if it should make a difference but try removing the space before
/> and see if it works
-Nimmi
-Original Message-From: Luna, Kat
[mailto:[EMAIL PROTECTED]]Sent: Monday, June 04, 2001 1
Steve,
This is how I used a HashMap in a jsp:
getUserList() method in my user_list bean returns a HashMap.
Hope this helps.
-Nimmi
-Original Message-
From: Steve A Drake [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 01, 2001 5:58 PM
To: [EMAIL PROTECTED]
Subject: RE: Any Has
The struts document says that 'text' field is for: The message text to be displayed to
the user for this tag (if any)
I tried to use the tag but it gives me error:"Attribute text invalid according to the
specified TLD"
This is how I used the tag:
Is my understanding of 'text' field wrong?
-N
Hi,
Does anyone know how to associate an image with the tag?
Thanks.
-Nimmi
It was a small mistake
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 be
Struts example application uses:
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 everyone.
Hi,
Is there a way to associate an image with the 'Reset' button?
Thanks.
-Nimmi
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 EJBs
Hi,
Has anyone got Struts working with IPlanet application server? What version of IPlanet
app server is needed for Struts? Could someone guide me with the steps on how to make
it work?
Thanks in advance.
-Nimmi
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
logon.
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 PRO
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
logon.
Use
-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,
I was wondering if someone could please help me with this problem:
I have created my own properties fi
Anand,
Try using:
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
What exactly should be the value of the property attri
Make sure the form is defined correctly in struts-config.xml.
-Nimmi
-Original Message-
From: Firmin David [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 7:43 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Help! Can't access ActionForm properties in Action
perform()!
Thanks, but s
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 g
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
Ok, I found out that JDK1.3 only contains the JDBC 2.0 Core API (i.e, java.sql
package) whereas DataSource is part of javax.sql package in JDBC Standard Extension
API.
-Original Message-
From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 4:28 PM
To
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.
Doe
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 have
undefined
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
me() %>
>
>
> <% } %>
>
>
> -----Original Message-
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 28, 2001 11:30 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Question about iterate tag
>
>
> Shamdasani Nimmi-ANS004 wrot
lier.getName() %>
<%= supplier.getCountryName() %>
<% } %>
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 11:30 PM
To: [EMAIL PROTECTED]
Subject: Re: Question about iterate tag
Shamdasani Nimmi-ANS004 wrote:
> Hi,
-
From: "Shamdasani Nimmi-ANS004" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 28, 2001 2:25 PM
Subject: RE: PLEASE HELP: How would I use the iterate tag here?
> Martin,
>
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:
--
This is what I am t
tml
Hope this helps.
--
Martin Cooper
Tumbleweed Communications
----- Original Message -
From: "Shamdasani Nimmi-ANS004" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 28, 2001 2:02 PM
Subject: RE: PLEASE HELP: How would I use the iterate tag here?
ires JDK 1.2 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 getS
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
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 [mailto
Hi,
Could someone help me with replacing the JSP code below with iterate tag
? I have tried various permutations of but have been
unsuccessful.
---
<%
Hashtable hashTable = (Hashtable) user.getSuppliers();
at would work 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,
In some of the e-mails I have seen nested syntax being used for property attribute,
e.g.,
what does that mean? Is it that the getMailingAddress() method of the bean will be
called, and then what is ".street" for?
-Nimmi
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:
>
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.
--
I had the f
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.
Thanks in advance.
-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 b
4:57 PM
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
&g
usion about struts.jar in classpath
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
uot; application you need something,... But what
- CLASSPATH or put struts.jar under tomcat/lib ?
I do not build yet my application and do not have your experiment. I have tested only
struts-example.war.
Maya
Shamdasani Nimmi-ANS004 wrote:
> Hi,
>
> I have been following the threads on s
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 ap
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?
Thank
[mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 4:14 PM
To: [EMAIL PROTECTED]
Subject: Re: input form with indexed properties
I think, the original struts-example has a multiple rows form for "Current
Subscriptions".
Shamdasani Nimmi-ANS004 wrote:
> Hi,
>
> Is any solu
Hi,
Is any solution to handling an input form with data in a table form (i.e. multiple
rows of same kind of data) on Struts horizon in the near future?
Also If anyone has worked with such a form and have an example to share I will really
appreciate it. Thanks
-Nimmi
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 p
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. McClanaha
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 my
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 p
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 userOrderLis
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 userOrderLis
Hi All,
I have a bean userOrderListBean with a property 'getOrderList' which is a list of
'Order' Bean. I would like to show 10 rows at a time 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 use
Hi,
In my struts-based application I have a JSP where I want to bring up data in a table
form, from a bean, 10 rows at a time and allow the user to update this data. Does
anyone know how to update the tabular data?
Thanks in advance.
-Nimmi
89 matches
Mail list logo