I am putting a collection on the request as an attribute, and i can't access it for
some reason. Maybe a few of you could shed some light on this problem:
jsp
logic:iterate collection=nestResults id=spgExtendedSearchForm
/jsp
console output
javax.servlet.jsp.JspException: Cannot create
I am attempting to access a variable from an ActionForm that is nested in a
logic:iterate tag, and I am getting this error:
javax.servlet.jsp.JspException: Exception accessing property queueSelected for bean
spgQueuesForm: java.lang.NoSuchMethodException: Unknown property 'queueSelected'
I am
I am implementing a page by extending the DispatchAction class. I have a value that i
pass on the request to the second method, which does some logic then forwards to the
next jsp, but I can't retain the value on the request for the new jsp. I set it in
the method using setAttribute, but when
: Retaining values through multiple actions
Are you confusing attributes and parameters?
--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.
-Original Message-
From: Jason Vinson [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 8:12 AM
To: Struts Users Mailing List
Sensing and Imaging Systems (CenSSIS)
Northeastern University
a target=_blank
href=http://www.censsis.neu.edu;http://www.censsis.neu.edu/a
On Thu, 2003-02-27 at 09:25, Jason Vinson wrote:
I was under the impression that setting an attribute in a request would
make it a parameter in a new page. Am I
setParameter does not exist...
parameters are retrieved from your form.
if you generate links you can add parameters by
writing a url like myURL?par1=value1par2=val2
--- Jason Vinson [EMAIL PROTECTED] wrote:
I am not seeing a setParameter(string, object)
method in HttpServletRequest, which is why
PROTECTED]
Subject: RE: Re: Retaining values through multiple actions
Would attributes not work for you in this case?
--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.
-Original Message-
From: Jason Vinson [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 9:29 AM
PROTECTED]
Subject: RE: Re: Retaining values through multiple actions
Would attributes not work for you in this case?
--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.
-Original Message-
From: Jason Vinson [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 9:29 AM
PROTECTED]
Subject: RE: Re: Retaining values through multiple actions
Would attributes not work for you in this case?
--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.
-Original Message-
From: Jason Vinson [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 9:29 AM
=http://www.censsis.neu.edu;http://www.censsis.neu.edu/a
On Thu, 2003-02-27 at 10:29, Jason Vinson wrote:
hrmm is there way to append parameters on an action mapping from
struts-config.xml?
-
To unsubscribe, e-mail: [EMAIL
I asked a while back about implementing a security check for session data, and some
people recommended using Filter Objects. My current project is working with the
Servlet 2.2 spec, so I don't have the option of using Filters. Someone else mentioned
overriding the Default Action that all my
I am using the below code to check for the presence of session attributes for
security. Are there any issues I may be overlooking by doing it this way?
TIA,
Jason
//
// Default spgAction class
For some reason, I am not catching on to the idea of beans in the request. Here's my
code:
request.setAttribute(caseInfo, theCase);
theForm.setCaseInfo(theCase);
and my jsp:
td valign=topbbean:write name=caseInfo scope=request property=id/ /b/td
td valign=topbbean:write name=caseInfo
Doh!
new work environment... sorry. It works just fine.
Jason
---Original Message---
From: Jason Vinson [EMAIL PROTECTED]
Sent: 02/26/03 01:03 PM
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: tripping over request variables again
For some reason, I am not catching
=objid/
given that the collection elements implement the getter getObjid ( ).
Hope this helps!
-Original Message-
From: Jason Vinson [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 8:37 AM
To: Struts Users Mailing List
Subject: bean:write issues... or a better solution
Hi folks
]
Subject: RE: RE: bean:write issues... or a better solution
Show us where you're putting queuesName into request scope.
-Original Message-
From: Jason Vinson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 10:12 AM
To: Struts Users Mailing List
Subject: Re: RE: bean:write
hrmm... if i load the page initially, i get a Internal Server Error, with the error
message from before. But if i go to the address bar and just hit enter with the same
address, it loads the page.
what am i doing wrong?
Jason
---Original Message---
From: Jason Vinson [EMAIL PROTECTED
Is there an easy way in struts to make an html element visible based on a conditional
statement. I used to use Barracuda, and there was the concept of a BComponent, which
you could set to null to remove the element, or just pass a plain BComponent to keep
the element. Is there anything like
Hi folks,
I am using a container class (a collection referenced by queuesName) to hold data for
populating a select list, and I can't access the internal strings with the getter and
setter methods i have written. I have included code and can elaborate if needed. Can
anyone tell me what I am
Did that jsp code come through? my webmail removed it from my side...
---Original Message---
From: Jason Vinson [EMAIL PROTECTED]
Sent: 02/24/03 11:37 AM
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: bean:write issues... or a better solution
Hi folks,
I am using
This may be a dumb question, but is there any reason to not combine all the
commons-*.jar libraries into one jar file? I am attempting to clean up our server's
classpath, and combining all these jars would really help out.
TIA,
Jason
[EMAIL PROTECTED]
Subject: Re: combining commons-*.jar
If one component was upgraded, you'd have to replace the whole shootin'
match.
- Original Message -
From: Jason Vinson [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 8:28 AM
, when a large
transfer (even just filesystem-to-filesystem) can cause the deployer to
hose
itself by trying to load the thing before it's actually there.
Then again, maybe your situation is different...
chris
- Original Message -
From: Jason Vinson [EMAIL PROTECTED]
To: Struts Users
and Eclipse Doc
2003. február 20. 16:28 dátummal Jason Vinson ezt írtad:
With this many people using Struts, I am fairly sure someone is using
Eclipse to develop in. Does anyone have a document that explains the
setup
of Eclipse to develop for struts? I have been a vim and ant guy
i got a 138... but to be honest i guessed at 2 of the what object can you not make
from the cut out piece puzzles.
i'm gifted :)
---Original Message---
From: Jeff Kyser [EMAIL PROTECTED]
Sent: 02/20/03 12:04 PM
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: [OT] What's
did you try:
top.Frame.location.href = 'action.do?action=main';
(no leading /)
?
Jason
---Original Message---
From: Ray Madigan [EMAIL PROTECTED]
Sent: 02/20/03 12:35 PM
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: JavaScript
I am using in my application, if you can't
Hi folks,
I am using Tomcat 4.1.18, and I am using good ol' System.out.println for debugging,
but my log file (catalina.out) has MASSIVE ammounts of [INFO] messages. I can't
figure out how to change the level of output. I tried looking in tomcat/conf/ at
server.xml and web.xml, as well as my
Hi Folks,
I have been working with Struts for about a week now, and I have a few design
questions. I guess the most important is the proper flow of information and
processing. When I began to code pages in Struts, I would link to the actual jsp
page, then check it's ActionForm, then go
Can anyone point me to a good example of a custom class that extends ActionServlet to
do some security checks for session data?
TIA,
Jason
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Interesting you mention html:link, since I am having some problems with it currently.
I am trying to append something to the end of a link, and I can't quite grasp what i
am doing wrong. Here is my jsp code:
html:link href=/jsp/spgCaseOverview.jsp?case_objid= paramName=spgQueuesForm
doh i got it. sorry for the extra traffic.
Jason
---Original Message---
From: Jason Vinson [EMAIL PROTECTED]
Sent: 02/13/03 02:37 PM
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: html:link question ... was Re: Re: How to link to an Action which has no Form
Hi folks,
There my be a simple answer to this that I am overlooking, but I am populating a
pull down select, and I can't figure out a good way to set the selected attribute to
the first element. I am using a collection (string array) and my jsp has this code:
td align=right colspan=6
])); // can multiple
to
bye
Slobodan Kasterovic
-- -Ursprungliche Nachricht-
-- Von: Jason Vinson [mailto:[EMAIL PROTECTED]]
-- Gesendet: Mittwoch, 12. Februar 2003 13:51
-- An: Struts Users Mailing List
-- Betreff: html:options selected attribute
--
--
-- Hi folks,
--
--There my
=struts-userm=102406536726794w=2
Or just look at the same application that ships with Struts
(html-select.jsp in struts-exercise-taglib).
Please do search the archives before posting
Sri
-Original Message-
From: Jason Vinson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003
I feel dumb for asking this, but I am trying to search the list archives via:
http://nagoya.apache.org/eyebrowse/SearchList?listId=[EMAIL PROTECTED]searchText=bean+attributesdefaultField=subjectSearch=Search
and when i do a search, it returns Text search not available for this list. Where
This may be beyond the scope of this list, but here goes.
I have implemented a simple container class that implements an object with a few
String objects. I initialized it in my Action class for testing, but when i try to
write it out using the bean:write tag, i can't figure out how to access
Message-
From: Jason Vinson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 10:09 AM
To: Struts Users Mailing List
Subject: bean question
This may be beyond the scope of this list, but here goes.
I have implemented a simple container class that implements
an object
property=myContainerObj.prop1/
If you put the attribute into scope directly, then a bean defin tag will
be
needed first.
Jason Vinson [EMAIL PROTECTED] on 02/12/2003 10:08:38 AM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To:Struts Users Mailing List [EMAIL
Hi folks,
I am having a few issues this morning determining the proper way to control the data
of my current web application. From what I have read, I see that the proper place to
acquire data from the system is in the Action class. This data should be put on the
request (correct?) and
If i want to use logic:iterate (or something similar) to populate a table that is not
part of a form, I shouldn't be using a class that extends the ActionForm class
correct? What should I use in it's place?
TIA,
Jason
-
To
values.
Mark Galbreath
Principal Consultant
Workflow Process Engineering and Systems Integration
http://www.QAT.com
410-703-367 / 800-799-8545
Never attribute to malice that which can be adequately explained by
stupidity. ~Hanlon's Razor
-Original Message-
From: Jason Vinson [mailto
/spgLooper.jsp
scope=request
forward name=success path=/jsp/spgHome.jsp /
forward name=failure path=/jsp/spgLooper.jsp /
/action
what am i overlooking?
Jason
Michael Lee
- Original Message -
From: Jason Vinson [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL
Hi everyone,
Quick question here. Will struts work with weblogic 5.1? I don't think
it's servlet 2.3 compliant, which would lead me to believe that struts
wouldn't work with it. Am I mistaken?
TIA,
Jason
-
To unsubscribe,
43 matches
Mail list logo