David it works! Thanks.
Satish
- Original Message -
From: "David G. Friedman" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Satish Talim"
<[EMAIL PROTECTED]>
Sent: Sunday, September 26, 2004 10:23 AM
Subject: RE: Struts and EL/JSTL
Satish,
JBoss v4.0 says it
Satish,
JBoss v4.0 says it (like Tomcat 5.X.X) supports JSP 2.0. So you can use the
standard Struts release and simply type in the ${expression} syntax from JSP
v2.0 directly into a struts tag or anywhere in the JSP page itself. Do
${abc.xyz} to call the getXyz method of object abc. Scopes shou
Hello,
I am using JBoss 4.0 and Struts 1.2.4. I am interested in using EL/JSTL along with
Struts. However, I came across this comments by Karr, David (the person who wrote the
Struts-EL library) "Struts-el is intended to be used in a JSP 1.2 container. It is
not used in a JSP 2.0 container. I
If it still doesn't work, let me know and maybe I'll play with it. I've
done that alot lately: play with items mentioned in requests to see how they
work. I use the thought: I'll probably need that eventually. And with
SecurityFilter (and soon SSLext), I know I will eventually need it for my
curr
I haven't been contributing here for at least six months, but I hope
nobody minds if I jump right back in with a couple of questions. So
hello everybody and here goes:
I'm looking at an architecture in my latest project which incorporates
struts, EJBs, Spring and Hibernate.
Amongst other issue
Chris wrote:
If you're using JSTL in struts all the object will be available without
drilling through the scopes.
How JSTL and Struts communicate each other?
Could anybody please explain this *mysterious* thing detailly?
I really want to know the black box behind JSP using JSTL
and Struts t
My appologies. I did check all the archives and the forum with no luck,
but failed to google.
Thanks for the links.
PS: I was RTFS (source) because there isn't a good M.
From: "David G. Friedman" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailin
You should check out the SecurityFilter forums at:
http://sourceforge.net/mailarchive/forum.php?forum_id=11303
OR Google to find pages like this:
http://www.experts-exchange.com/Web/Web_Languages/JSP/Q_20740042.html
This thread contains signicant bits of information:
http://sourceforge.net/mailar
The hidden variable name is subAction and I'm assigning it a value
'next' when I submit the page i.e on submit, I call a javascript method
which assigns the hidden variable value as 'next'. But in my Action
Class,
form.getSubAction() fetches null :(
-Original Message-
From: Gandle, Pancha
Mark Lowe wrote:
Satish
ActionErrors isn't deprecated, ActionError is...
http://struts.apache.org/api/org/apache/struts/action/ActionErrors.html
ActionErrors errors = new ActionErrors();
errors.add("myproperty" , new ActionMessage(...));
return errors;
And then personally i prefer
But there are go
does the name of your hidden var is subAction.
and are you initializing it when you submit the page on selection of dropdown.
Or else you should have the dropdown named subAction.
Then only it would initialize the property.
-Original Message-
From: Priya Jotwani [mailto:[EMAIL PROTECTED]
Hi,
I have a dropdown in my JSP page along with a hidden variable . I select
something from the dropdown and Submit the form. In my Action Class,
when I try to access the hidden variable value as below :
ClientReportingForm myForm = (ClientReportingForm) form;
strSubAction = myForm.getSubA
Can anyone point me to an example of code to tie
a SecurityFilter into a JDBCRealm?
When I get this all working, I'm going to post it
with a detailed descrition and source!
_
Dont just search. Find. Check out the new MSN Search!
http
Here's a better example
<%@ page isELIgnored="false" %>
<%
pageContext.setAttribute("foo","page context");
request.setAttribute("foo","request context");
session.setAttribute("foo","session context");
application.setAttribute("foo","application context");
%>
${foo}
If you're not on tomcat 5 the
Not sure why you have this burning desire to know but JSTL works as
such outside of struts
<%@ page isELIgnored="false" %>
<%
request.getSession().setAttribute("foo","foo");
%>
${foo}
Both struts and JSTL tags look through the available scopes and choose
the one that appears higher up in the
I've been working on this Member pages for a short time now, and it used
to be that when the data didn't validate from the formbean, it would
return to the correct page to allow the user to fix the data. When the
data is entered correctly, the data does gets filed to the database, and
the use
> If you're using JSTL in struts all the object will be available without
> drilling through the scopes.
How JSTL and Struts communicate each other?
Could anybody please explain this *mysterious* thing detailly?
I really want to know the black box behind JSP using JSTL
and Struts taglibs , but
John,
Another David here. I'm learning how to use the Expression Language 'stuff'
in Tomcat 5.0.X (.28 actually) under Struts v1.2.4 and I'm NOT using
Struts-El. I don't need it. I'm not sure about HashMaps as I haven't used
them yet, but I can access my variables without Struts-el this way:
M
Hello everyone, I'm just starting out with Java/Struts from a previous
development environment.
I would like to customize the default session behaviour by doing the
following:
1. Customized Session Id
I want to generate my own id (mostly as a cookie, I don't think I'd like
to encourage URL rew
By virtue of the properties being in the form you don't need to have it
in the name attribute.. At the moment your html:text does this
userForm.getUserForm().getFullname();
try
Which will be doing userForm.getFullname();
Mark
On 25 Sep 2004, at 13:53, Greg Preston wrote:
All,
I have recently up
All,
I have recently upgraded to Struts distribution 1.24 and am having a
problem I can't explain. I have a Action that ends up calling a
business class which returns an Form. If I place the Form in the
request object the subsequently called JSP page (USER.JSP) can render
the content via tag
Satish
ActionErrors isn't deprecated, ActionError is...
http://struts.apache.org/api/org/apache/struts/action/ActionErrors.html
ActionErrors errors = new ActionErrors();
errors.add("myproperty" , new ActionMessage(...));
return errors;
And then personally i prefer
But there are good reasons for pr
If you're using JSTL in struts all the object will be available without
drilling through the scopes.
In straight JSTL you'd use sessionScope. But as you're using struts you
dont need to and you can decide what you want to scope to in you java
or configuration of the ActionServlet..
HTH Mark
On
I know this may annoy some folk as its not directly a struts question.
But JSF is used with struts, bla , bla..
Does any one have any thoughts on scoping a List backed backing bean to
request and being able to maintain the list without the Bean being
reinstantated on each post..
public class H
Sorry, left out the "ERRORS" sort of header.
Michael McGrady
John,
Another David here. I'm learning how to use the Expression Language 'stuff'
in Tomcat 5.0.X (.28 actually) under Struts v1.2.4 and I'm NOT using
Struts-El. I don't need it. I'm not sure about HashMaps as I haven't used
them yet, but I can access my variables without Struts-el this way:
M
Hi,
I am in a strange confusion about Beans and JSP communication. For
example I have the following code that displays list of musics.
'musiclist' is a Collection variable which is set in the ActionClass
on the session scope. The problem is; How can tag
recognises musiclist variable. Should'nt it
OK, I had a good look at the source and it should be working. Can somebody
please explain to me why this isn't doing what it's supposed to do?
I hate the fact that I have to use the html tags when I've been able to use
EL for everything else.
Zoran
> Zoran Avtarovski wrote:
> Maybe I am mis
Thanks Bill,
But that is exactly what was causing the error in the first place. All the
other variations have been an attempt to get it to work. What I wanted to
know is anybody else having problems with this.
To provide more contextual info, the disabled property works fine with the
standard htm
Hello,
I am using Struts 1.2.4 on JBoss 3.2.5.
In my ActionForm validate method, I have the following code -
ActionErrors errors = new ActionErrors();
ActionMessages messages = new ActionMessages();
ActionMessage msg = null;
if (getLoginID() == null || getLoginID().length() < 1)
31 matches
Mail list logo