Hello Guys,
I am trying to deploy my struts webapp on an iPlanet 6 server with
SP5. I have this error eight now
12] failure (19732):Internal error: servlet service function had
thrown ServletException (uri=/index.jsp):
javax.servlet.ServletException, stack: javax.servlet.ServletException
Hi Richard,
Can you please check _index_jsp.java(Line no 123)? It's the java file
created from your jsp page(index.jsp). It might help you. Or else you can
paste the java code as well as jsp code here for better analysis.Thanks.
Santosh
Richard Reyes [EMAIL PROTECTED]
05/25/2005 12:10
Hi Santosh,
Heres line 123...
if (pageContext != null) pageContext.handlePageException(ex);
On 5/25/05, Santosh K Rath [EMAIL PROTECTED] wrote:
Hi Richard,
Can you please check _index_jsp.java(Line no 123)? It's the java file
created from your jsp page(index.jsp). It might help you.
Hi Santosh,
Here are my JSPs and the converted java code
On 5/25/05, Santosh K Rath [EMAIL PROTECTED] wrote:
Hi Richard,
Can you please check _index_jsp.java(Line no 123)? It's the java file
created from your jsp page(index.jsp). It might help you. Or else you can
paste the java
Richard,
To start with the step
by step debugging , I would like you start with a simple jsp page , something
like below. Let's see , what happeans.
html
head
titleMy Title/Title
/head
body
table width=100%
tr
td align=center height=300px
pWelcome to Web
Debit Services-Agents Portal. Please
Hello Joe all,
I have one question regarding the chain..
Am I correct to assume that The SelectInput command that comes after
ValidateActionForm in chain-config.xml should be called in case
validation fails?
How does that happen? Javadoc says that
/**
* pValidate the properties of the
Hi All.,
Anybody can give the site name or link to refer the DynaActionForm,
LookupAction and JSTL.
I want to gothrough that.
Regs.,
Senthil
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged
Hi Santosh,
I tried both html's and they all worked. Now I tried the second one with
%@ taglib uri=/tags/struts-bean prefix=bean %
on top and it generated the same error as above.
Thank you for helping me I have no idea whats going on in this iplanet server
Richard
On 5/25/05, Santosh K Rath
Hi Richard ,
I would like to know , how are you deploying?Are you deploying making
war/ear file or deploying the file system.
If war file then why don't try putting struts-bean.tld file in WEB-INF
folder.
After that
I would like you write %@ taglib uri=/WEB-INF/struts-bean.tld prefix=
bean %
Hello!
How can I get a form's property in JSP to use it in EL in JSTL tags.
e.g.
html:form action=/myAction
html:hidden property=elementIndex/
/html:form
c:set var=elementIndex value=??/- define here
c:if test=${!empty myBean.list[elementIndex]} - use here
Hi everyone,
We're building a project using Struts and are about to start on the
security module. The requirements are that security should be fine
grained, which means that it can not be on the module level, but rather
on the JSP or Action level. Actually, the users might ask for security
on the
Hi,
try
formName.property
formName is the name that you defined in your struts.xml for the form
of current action. it should work. and the reason it works that Struts
puts the form object under the 'name' key in either request and
session scope depending upon the 'scope' attribute of your
Hello Tarek,
I'd say front your application with a Servlet Filter that checks for
the security of the current page against security runles defined in
database/XML and probably cached for the current session to avoid
hitting database for every request.
ATTA
On 5/25/05, tarek.nabil [EMAIL
Raj-
James Mitchell suggested you force the include from your action via
RequestDispatcher call
Did you try that?
Are you able to tracert to the url?
More importantly what do the tomcat logs say when you invoke your
bean:include
Martin-
- Original Message -
From: Raj Tilak [EMAIL
Hi Tarek,
If you want action level security, just write a base action that
authenticates the user, and which all other actions extend. In the base
action, if the user is valid, then processing continues. Otherwise, the
user is redirected to the logged-out page. I would put this logic in
I have a nested loop using nested:iterate. Inside the inner loop I have a
radio button. I want to group the radio buttons based on the index of the
outer loop. How can I do it?
Here's the code snapshot:
nested:iterate property=outerProp OuterProperty:
nested:iterate id=row
Not to beat a dead horse, but the code I posted yesterday was broke in a
couple of ways, but I believe I have resolved them all now. In case
anyone has interest, please contact me for the updated code (probably not
in good form to repost it now to the list, so please eMail me privately).
--
Dakota Jack wrote:
[...] and am not interested in Dave's little flame bit.
You were interested enough to assume that what I said was flame bait and
respond passive-aggresively, when really all I said was that it was
obvious that we weren't talking about the same thing. Now for a _better_
You can find something on DynaActionForm here:
http://struts.apache.org/userGuide/index.html
You can find JSTL documents here:
http://java.sun.com/products/jsp/jstl/reference/api/index.html
I have no idea where to find documentation on the different Action varieties on
the Web, but they are
From: Kalyan Ayyagari [EMAIL PROTECTED]
I have a nested loop using nested:iterate. Inside the inner loop I have a
radio button. I want to group the radio buttons based on the index of the
outer loop. How can I do it?
http://struts.apache.org/userGuide/struts-logic.html#iterate
You can expose
Kalyan,
Each loop needs to expose their iteration under a different bean name. This
is not any different than standard programming loops. Also, I recommend you
just JSTL:forEach which is a preferred looping method.
c:forEach var=item items=${myform.map.items} varStatus=i
c:forEach var=item2
From: Yaroslav Novytskyy [EMAIL PROTECTED]
How can I get a form's property in JSP to use it in EL in JSTL tags.
html:form action=/myAction
html:hidden property=elementIndex/
/html:form
c:set var=elementIndex value=??/ - define here
c:if test=${!empty
Hello, just trying out JSTL on a new app I'm writing as I thought
it was about time I used it. However, I'm having a bit of trouble
with the fmt:message / tag as I don't know how to specify the
correct bundle to use.
I'm using modules and tiles, so each module has it's own resource
bundle, but
Hello,
I've written a little script to parse struts-config.xml in order to get
a list of the actions and types, etc. It works great if I comment out
the !DOCTYPE... line at the top of the file.
Without commenting the !DOCTYPE... line I get an IOException related
to a parse error when
Have you tried org.apache.struts.config.impl.ModuleConfigImpl.findActionConfigs
?
On 5/25/05, Dahnke, Eric (Company IT) [EMAIL PROTECTED] wrote:
Hello,
I've written a little script to parse struts-config.xml in order to get
a list of the actions and types, etc. It works great if I comment
Bob-
assuming you set userLocale to english north america
table bgcolor=#d0d0d0 cellspacing=0 cellpadding=5 border=0
width=100%
tr
td
center h2
fmt:setLocale value=%=userLocale%/
fmt:bundle basename=com.abcbank.example.ApplicationResources
fmt:message key=header.title/
/fmt:bundle
/h2
br
/td
Hi all,
I'm using Struts 1.1. I've got some forgot password functionality
working, and the last piece of that is to set a new password for the
user who has successfully answered their security question. For that
action, I use a forgotPasswordForm form bean, which goes to my
newPasswordAction.
Sorry this doesn't answer your question directly, but I would back up a bit and
question your design.
Rather than try to invoke your LoginAction manually from another action, I
would just invoke all the necessary methods in your ForgotPasswordAction.
Presumably logging on is little more than a
Are there any widely used approaches or best practices that we
can follow?
The acegi security framework offers a widely used approach:
http://acegisecurity.sourceforge.net/
- Dave
-
To unsubscribe, e-mail: [EMAIL
You won't believe this, Rick, but they actually make these things
hard to find on purpose. Check the archives if you think I am
kidding.
Yeah, you've been quite the jokester so far.
http://struts.apache.org/mail.html
- Dave
you set stuff in your request object..but for the login form another request
object is created and it has a seperate instance of loginForm..i am a bit
rusty with struts, pls correct me if i am wrong
-Original Message-
From: Chris Loschen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 25,
I believe the point was that this page is not linked to from the main Struts
page (http://struts.apache.org/index.html)? If it is, I can't find it. And I
don't understand why, as it's probably one of the first things a new user would
look for.
Also, the List Archive link is broken, so it's doubly
Thanks for the response. It looks like it will work. I'm implementing it
as follows within an action, but the mci object doesn't get its
properties set. All the hashmaps of actions, and forwards, and
exceptions are always null.
ModuleConfigImpl mci = new ModuleConfigImpl(dashboard);
I have a page that has a series of check-boxes that a user can
select/deselect at will. When the page loads up, some of the checkboxes are
already checked. The user can then either select new ones or deselect
existing ones. However, when I submit the page, the unselected ones are
still a part of
Also, the List Archive link is broken, so it's doubly annoying
to someone coming in for the first time.
I use this one:
http://marc.theaimsgroup.com/?l=struts-user
- Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
well, when you uncheck a checkbox, there is nothing passed to your form. so
your form doesnt know which checkboxes are there on your page that are
unchecked. it knows only about the boxes you checked. so i guess you have to
reset your form after it has inited?? not very sure
-Original
I actually use that one too. But for the first-time Struts user, we seem to be
making it overly difficult to find, subscribe, and search the mailing lists. If
Mr. Jack's assertion is correct, then I guess I need to go back to the previous
discussion he's refering to and find out why...
Jay
I actually use that one too. But for the first-time Struts user, we
seem to be making it overly difficult to find, subscribe, and search
the mailing lists. If Mr. Jack's assertion is correct, then I guess
I need to go back to the previous discussion he's refering to and
find out why...
I
Thanks Erik,
Actually, my login action is rather complex, and gets called by several
other apps which I don't have control over, so I'd rather not just
duplicate the code: somebody else might change it at some point, and
then I'd be in trouble. Both the login action and my action already
extend
Yes, quite possibly that was the problem. You'll see in my reply to Erik
how I got around the issue. Thanks for your help!
Chris
-Original Message-
From: meyawn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 25, 2005 4:53 PM
To: Struts Users Mailing List
Subject: RE: Populating a new
From: Apte, Dhanashree (Noblestar) [EMAIL PROTECTED]
How do I make sure that only the selected ones get through?
http://struts.apache.org/userGuide/struts-html.html#multibox
WARNING: In order to correctly recognize cases where none of the associated
checkboxes are selected, the ActionForm
How would I go about supporting multiple output devices, such as browsers,
Blackberries, phones and various PDA devices? Are there any Struts
extensions out there for this? Or should I investigate Sitemesh or Cocoon?
Any case studies or actual code would be greatly appreciated.
Thanks
Hi Guys,
Maybe I've been working too long... but I can't seem to figure out the
following.
I am trying to create an html:img tag and dynamically set the alt
attribute with the application properties file... but it doesn't seem to
work.
Here is what I'm doing:
html:img
html:img page=/images/logo.gif altKey=alt.logo /
Hope that helps!
Chris Loschen
-Original Message-
From: Aladin Alaily [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 25, 2005 6:39 PM
To: Struts Users Mailing List
Subject: html:img question
Hi Guys,
Maybe I've been working too
Thanks Chris.
I must be going blind ;)
Aladin
Chris Loschen wrote:
html:img page=/images/logo.gif altKey=alt.logo /
Hope that helps!
Chris Loschen
-Original Message-
From: Aladin Alaily [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 25, 2005 6:39 PM
To: Struts Users Mailing
(I sent this earlier, but found that I was not subscribed properly to
the list, so here's a retry)
I'm using MyEclipse 3.8.4+QF2-BetaFor3.1 on Eclipse 3.1M4 with Struts
1.2.4 and JSTL 1.1, deployed on Tomcat 5.5.7 on JDK1.5.0_02 (all
actually running and conforming to JDK1.5, not just JDK1.4
At 9:23 AM +0100 5/25/05, Marco Mistroni wrote:
Hello Joe all,
I have one question regarding the chain..
Am I correct to assume that The SelectInput command that comes after
ValidateActionForm in chain-config.xml should be called in case
validation fails?
How does that happen? Javadoc
I have a form bean which has few form-bean properties (less than 10) each of
type customized class, which contains around 30 attributes.
Does any one have any idea is there any impact on high volume testing?
Your suggestions are helpful.
Thanx in advance.
So, you have a form bean with a total of ~300 properties?
Yes, that could be a bit heavy in a high load environment.
Larry
On 5/25/05, croffman [EMAIL PROTECTED] wrote:
I have a form bean which has few form-bean properties (less than 10) each of
type customized class, which contains around
You can use bean:define to create a dynamic JSP variable and set that to the
alt attribute using JSP Scriptlet as follows:
bean:define id=altVar type=java.lang.Stringbean:write key=alt.logo
//bean:define
html:img page=/images/logo.gif alt=%= altVar % /
I hope this should solve it.
croff
-
Just out of curiosity, when you don't seem to have internationalized
the image, why would you want to do that with the alt?
On 5/25/05, Aladin Alaily [EMAIL PROTECTED] wrote:
Hi Guys,
Maybe I've been working too long... but I can't seem to figure out the
following.
I am trying to create
i guess http://acegisecurity.sourceforge.net will most likely not
shown in the search list.
you may want to take a look at it if you do not want to develop
something from scratch again.
On 5/25/05, atta-ur rehman [EMAIL PROTECTED] wrote:
I'll start with the first five :)
52 matches
Mail list logo