]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Khalid K.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Do you have the tag libraries defined on top of the page
Example:
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
???
Khalid
modified the jsp file to the below still doesnt work
html:form method=post action=/openReport
or
, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Khalid K
]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Khalid K.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Why can't you just use DispatchAction ??
Then, you can have methods like:
Create()
Update()
Delete()
And set the correct token during the submit ??
Khalid
-Original Message-
From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED]
Sent: Monday, February 23, 2004 7:07 PM
To: 'Struts Users
.
--
--
--
Khalid K.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
attachments please check them for viruses and defects.
--
Khalid K.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
If anyone has seen this error, your input is appreciated, I can't
seem to find any references to this on the web.
Looks like the error is thrown during the rendering of jsp: billingInfo.jsp.
Since this happens in production, I am not sure what is the outcome etc.
stack trace:
[1/28/04
Hi,
I am trying to dertemine the size of the session object,
I've looked around and have written the following, please let me if this
is correct.
Enumeration e = session.getAttributeNames();
ByteArrayOutputStream bos = new ByteArrayOutputStream();
ObjectOutputStream s =
Hello All,
I use MessageResources to pull text from property files, but it doesn't
interpret the html tags. I do need to pull the text in the Action class.
bean:message recognizes and parses html tags but MessageResources.getMessage
just prints it out. Any help is appreciated.
example:
using c:out, make sure you add the attribute
escapeXml and set it to false. I believe bean:write has a similar
attribute, called filter.
-Ben
From: Khalid K. [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.544 / Virus Database: 338 - Release Date: 25/11/2003
--
Khalid K.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
(US Postal Service Regular Mail Address)
State Capitol ESP, PO Box 2062
Albany, NY 12220-0062
(Parcel Post/Overnight and Interagency Mail Address)
Empire State Plaza
Swan St., Core 4, 1st Floor
Albany, NY 12223
--
Khalid K
PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Khalid K.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-Original Message-
From: Khalid K. [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 11:54 AM
To: 'Struts Users Mailing List'
Subject: RE: Need to retain the data of the previous page
You have to persist your data. If you declare your form in request
scope, then once user
You have to persist your data. If you declare your form in request
scope, then once user clicks on submit on page A, you have to save the
data to a Value Object stored in session.
Khalid
-Original Message-
From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]
Sent: Monday, December 01, 2003
platform: AIX/Websphere
Struts V: 1.0.2
Problem: bean:include id=x name=/pages/page1.jsp/
bean:write name=x filter=false/
the above code works fine in windows - none SSL environment.
When we migrate the code to AIX/Websphere that has SSL installed..
hence..https://blahblah... The
connection.
-daniel
Daniel A. Torrey
daniel at datorrey dot net
Quoting Khalid K. [EMAIL PROTECTED]:
platform: AIX/Websphere
Struts V: 1.0.2
Problem: bean:include id=x name=/pages/page1.jsp/
bean:write name=x filter=false/
the above code works fine
if you have JSSE available (or you're running
JDK 1.4 or later, which includes JSSE).
http://java.sun.com/products/jsse/
Daniel A. Torrey
daniel at datorrey dot net
Craig
Quoting Khalid K. [EMAIL PROTECTED]:
platform: AIX/Websphere
Struts V: 1.0.2
Problem: bean:include
: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Khalid K.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
]
Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080
[INFO]
ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8009
[INFO]
JkMain - -Jk running ID=0 time=1/111 config=/Users/afshar/local/
jakarta-tomcat-4.1.24/conf/jk2.properties
--
--
Khalid K
I do the following:
// in the bean
Public boolean isActive() {
if (blah)
return true;
return false;
}
// if I know that this method will be used in jsp, I also write the
following:
Public boolean getIsActive() {
if (isActive())
return true;
method in your bean. If you have
isActive,
you can use the line:
logic:equal name=myBean property=active value=true
According to the bean spec any boolean attributes should use isFoo
instead
of getFoo.
BAL
From: Khalid K. [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED
did you upgrade from Struts 1.02 to Struts 1.1
in Struts 1.1 properties of a form can be indexed and it uses [], so it
might get confused in parsing...
Just a thought...not sure if this will be of any help
Khalid
- Original Message -
From: Andrew Hill [EMAIL PROTECTED]
To: [EMAIL
- Original Message -
From: Khalid K. [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, August 04, 2003 4:26 PM
Subject: Select Box and validation (plz help :)) (repost)
Any suggestion? please??? :)
I am submitting a form using onchange javascript even
Any suggestion? please??? :)
I am submitting a form using onchange javascript even handler w/
html:select/html:select tag. This works fine until I turn on
VALIDATION,
If validation is set to true, and there are any validation errors, when
the page is displayed w/ the validation errors, the
I am submitting a form using onchange javascript even handler w/
html:select/html:select tag. This works fine until I turn on VALIDATION,
If validation is set to true, and there are any validation errors, when the page
is displayed w/ the validation errors, the value of the SELECT box has
Any suggestion? please??? :)
I am submitting a form using onchange javascript even handler w/
html:select/html:select tag. This works fine until I turn on
VALIDATION,
If validation is set to true, and there are any validation errors, when the
page
is displayed w/ the validation errors, the
Hello all,
If an ActionForm bean's scope is session, does the validate() method get
called only once ??
I have several actions that post to the same form, but it seems that the
validate method is only called once when the form gets created
Any help is appreciated.
Khalid
p.s. i am using
humm..was a dumb mistake :) in struts-config i had validate set to false
:)
- Original Message -
From: Khalid K. [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, July 21, 2003 10:23 AM
Subject: validate() method - and form in session scope
Hello all
Hello All,
I have the following problem, and any help is greatly appreciated:
1. html form that has a checkbox which is associated with a Action Form
Bean - boolean attribute
2. ActionForm is in session scope
3. I call reset method selectively since I am trying to develope wizard
style pages
Anyone out there can help on this topic??
Hello all,
Is there a way to use indexed properties in struts 1.0.2 ??
The decision to move to 1.1 is out of my hand, but I was wondering if
there
is a way
to use 'nested' or 'indexed' properties with 1.0.2 ??
Thanks!
Khalid
Hello all,
Is there a way to use indexed properties in struts 1.0.2 ??
The decision to move to 1.1 is out of my hand, but I was wondering if there
is a way
to use 'nested' or 'indexed' properties with 1.0.2 ??
Thanks!
Khalid
Is your Application spread across multiple webApps, or you have only 1
webApp running?
I know in Websphere, you cannot share a session across multiple web
apps...unless you have a special patch
Khalid
- Original Message -
From: david chan [EMAIL PROTECTED]
To: Struts Users Mailing List
If this is the case, I would think that
org.apache.commons.beanutils.BeanUtils should be modified to do String[]
to int[] conversion ???
Thati s my 2 cents :)
Khalid
-Original Message-
From: Ken Connie [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 15, 2003 1:03 PM
To: Struts Users
I checked the Java DOC, and it looks like
org.apache.struts.util.RequestUtils.computeURL() is deprecated.
Khalid
- Original Message -
From: Greg Hess [EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 10:33 AM
Subject: Migrating 1.1b2 to 1.1rc1
Hi All,
I am
_always_ through an Action (or ActionForward, etc) and never post
directly to a JSP...
HTH,
Guido.
Khalid K. wrote:
(Repost)
Hello All, Please help with this problem.
I need request.getRequestURI() to return actionA.do
This works fine if when I call the getRequestURI() method from
In some containers, the session is timeout is managed by the container..you
might want to look into that..
For example, we run Websphere, and it is set to time out after 30min, even
though we were sitting the seesion
to timeout after 60min, it was being overwritten by the Container...
hope this
Hello All, Please help with this problem.
I need request.getRequestURI() to return actionA.do
This works fine if when I call the getRequestURI() method from an Action class,
But When I call request.getRequestURI() from a JSP file...it returns the ActionA.jsp
I could replace
(Repost)
Hello All, Please help with this problem.
I need request.getRequestURI() to return actionA.do
This works fine if when I call the getRequestURI() method from an Action
class,
But When I call request.getRequestURI() from a JSP file...it returns the
ActionA.jsp
I could
Had as similar problem...
If you change the Resource_en.properties,
You have to touch the corresponding jsp that uses that particular key,
otherwise you get a
missing key errorso
1. make changes to your property file
2. open xyz.jsp and make a small modification and save it (this forces
Regardless of the value of logic:present tag, the expression %=details.getValue()%
gets evaluated.
Does %= % take precedence over logic:present or any custom tag ??
example:
logic:present name=details scope=request
%=details.getValue() %
/logic:present
the scriplet between the tag
Here is my dilemma:
I have a JSP page that can have the following types of images depending on Locale AND
one more variable.
Possible choices:
imag tag can refer to a:
1. Spanish version of the image
2. English version of the image
3. Spanish none standard image
4. English none standard image
what version of Struts are you using?
I believe the perform method is deprecated in 1.1-b*
checkout the javadocs
http://jakarta.apache.org/struts/
Khalid
- Original Message -
From: Alok Pota [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 03, 2003 10:17 AM
Subject: Newbie
the tld files are under the WEB-INF directory of your web app.
- Original Message -
From: Daniel Grey [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, January 03, 2003 10:43 AM
Subject: RE: (http://jakarta.apache.org/struts/tags-tiles-1.1) cannot be
resolved
tried downloading Struts 1.1-b3, from the following page:
http://jakarta.apache.org/site/binindex.html
clicked on the following link:
Struts 1.1 Beta 3
http://jakarta.apache.org/site/[preferred]/jakarta/struts/binaries/
got a page not foundnot sure where to report this...
Khalid
--
To
yourself in the foot; C++ makes it harder, but
when you do, it blows away your whole leg.
- Bjarne Stroustrup
-Original Message-
From: Khalid K. [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 03, 2003 1:53 PM
To: Struts Users Mailing List
Subject: link broken
tried
it looks like it is looking at WEB-INF/pages, not in WEB-INF
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 03, 2003 12:38 PM
Subject: RE: (http://jakarta.apache.org/struts/tags-tiles-1.1) cannot be
resolved
Are your tlds located in
u can always write your own tag and get rid of that scriptlet :)
Khalid
- Original Message -
From: Cohan, Sean [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, January 03, 2003 12:58 PM
Subject: RE: Iterate Index Evaluation
chuckle, chuckle...
://jakarta.apache.org/struts/tags-tiles-1.1) cannot be
resolved
Check your jsp, is there any place in the jsp that explicitly looking
for tld in WEB-INF/pages?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Khalid K
please read the post below from Craig(he answered a similar
question..see question/answer below)
On Thu, 2 Jan 2003, Toni Charlot wrote:
Date: Thu, 2 Jan 2003 10:10:32 -0500
From: Toni Charlot [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL
if text field accepts any character (which includes, newline/cr, blank, tab,
etc)
all you need to validate is if object returned is null
example:
in u request object, you stored a parameter x with value y,
you can check... if (x == null) error, else move on...
since your text field can take
What is the difference between: !DOCTYPE struts-config PUBLICand !DOCTYPE
struts-config SYSTEM
I have the following declaration: (struts console complains that this is not a valid
DTD declaration, but I am able to use this w/o any problems...)
!DOCTYPE struts-config SYSTEM
a quick google search with Struts UML Diagram yielded the following
website..check it out..
http://rollerjm.free.fr/pro/Struts11.html
Khalid
- Original Message -
From: James Holmes [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, December 11, 2002 1:46
Can Someone answer this..i have the same problem
Khalid
-Original Message-
From: Almeida, Veeda [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 12:06 PM
To: 'Struts Users Mailing List'
Subject: Struts - JSP does not store the user entered values when i
click back
Being new to the struts world, I have the following question:
The html:message tag uses ApplicationResources.properties file which is defined in
struts-config.xml file.
This works fine for small sites. But what if the site contains 100s if not 1000s lines
of text which needs to be managed and
I was creating a sample struts project, and I was getting similar errors.
I did realize that my jsp syntax for tags were incorrect...
for example: my html:message ... tag was missing the / at the
end..etcjust go through your code and make sure the syntax for your jsp
is correct...i hope this
If you want to use mapping.findForwrad(actionName),
you have to put the following entry in your struts-config.xml file:
action-mappings
actionpath=/actionName
type=packgename.actionNameAction
Hello Joseph,
The things you need:
a container or as it is called an Application Server: (Tomcat, WebLogic,
JBoss, Websphere...etc)
a webserver (apache)
a database (depends on ur poject..if u need one..if u are presisting ejbs
etc)
Latest release of Struts,
and a good book in MVC-2 (Model
You can use a form tag to gather all that information. I dont understand why
you need a loop
Are you using Struts frame work ??
form name=myform action=your action class method=post
input type=checkbox name=monday
input type=select name=startTime
.
/form
Please note that this is just
60 matches
Mail list logo