I don't quite understand how the validation is handled when using the
paramsPrepareParamsStack.
I have an action with a view() method that will be called via a get request
specifying a blog id (blog.id) which should be numeric. This is working, but
I want to make sure that if someone passed in an
Jeromy,
I have done it. Thank you very much for your efforts to provide me a
solution.
Vijay
On 5/25/07, Jeromy Evans <[EMAIL PROTECTED]> wrote:
Vijay,
For the last time, the doubleId attribute of optiontransferselect works
in struts 2.0.6. I provided you with code from a live system th
Hi,
OGNL is yet another language that one can use to access properties and
methods. You can see it as a simplified language (like Groovy or Java
itself) that is focused on data binding.
To KISS, in Java, you would access your properties using :
obj.getProperty1().getProperty2().methodCall()
i
Hi all,
We have very urgent requirement for multipe file upload option using Struts
1.0. The number of files to be uploaded will be decided at run-time. Kindly
help me. Its very urgent
waiting for reply...
Thanks and Regards,
Vikash Manoranjan
Senior Software Engineer
Infotech Enterp
What am i trying to do?
-I need to publish a topic (dojo.event.topic.publish) on the event
onchange
of a select tag.
The workflow is:
-First i access an action that prints index.jsp page.
-Then from that index.jsp i have a link (ajax) that loads an action in a
div (id="my
Thanks Sami,
That did definetely help, was just what I was looking for!
> In Struts2, properties are accessed using the OGNL language
Somehow I haven't really realized what this actually means...
Torsten
Sami Dalouche schrieb:
> Hi,
>
> Not sure if I understand your question correctly, but it
Hi,
Not sure if I understand your question correctly, but it seems you are
trying to make a Java method call from your View.
In Struts2, properties are accessed using the OGNL language. The OGNL
reference is available from http://www.ognl.org/.
In particular, it is possible to make any method ca
I guess this has been asked before but I have trouble finding an answer,
if it is somehow possible to give arguments to property calls in tags.
For example, if I'd have "vehicles" as list attribute in ,
that I could give literal arguments like "car" or "motorcycle" and have
a method like getVehicle
I create a session class that tracks all my session information needed
for each user. Since you will likely be in a action object when you
want this information, you can do something like the following:
Here is my session object called SessionVars.
import javax.servlet.http.*;
public class Se
Hi,
In order to generate some emails (and other similar things), I would
need to output the URL of some Struts2 actions.
Of course, the URLs depend on the chosen ActionMapper, and I'd like my
generated URLs to be compliant with the configured ActionMapper.
The Component class seems to contain th
--- john lee <[EMAIL PROTECTED]> wrote:
> inside JSP, actually what i try to do is the
> following:
>
> inside JSP:
>
>...
>if (result.compareTo("Success")==0) {
> out.println(");
>else
> ...
Well, that's probably a sub-optimal solution for a lot
of reasons. If you
inside JSP, actually what i try to do is the following:
inside JSP:
...
if (result.compareTo("Success")==0) {
out.println(");
else
...
john
Dave Newton <[EMAIL PROTECTED]> wrote:
--- john lee wrote:
> I try to embed struts tag inside JSP
Normally you "embed a
--- john lee <[EMAIL PROTECTED]> wrote:
> could u tel me how ?
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequest.html
d.
> Dave Newton <[EMAIL PROTECTED]> wrote:
> --- john lee wrote:
> > so, what is the correct way to extract basename of
> > the involing program in s
--- john lee <[EMAIL PROTECTED]> wrote:
> I try to embed struts tag inside JSP
Normally you "embed a tag" inside a JSP by just using
the tag, like you're supposed to. For example:
... etc ...
> but looks like not works? how come? any idea?
Because you have a fundamental misconception abou
could u tel me how ?
john
Dave Newton <[EMAIL PROTECTED]> wrote:
--- john lee wrote:
> String why=(String) PageContext.getPage();
>
> but receive the following error message
>
> can not make a static reference to the non-static
> methoid getPage() from the type pageContext,
Do you under
--- john lee <[EMAIL PROTECTED]> wrote:
> String why=(String) PageContext.getPage();
>
> but receive the following error message
>
> can not make a static reference to the non-static
> methoid getPage() from the type pageContext,
Do you understand why you're getting that error?
> so
I try to embed struts tag inside JSP, but looks like not works? how come? any
idea?
out.println("");
but not working.
tks in advance
john
-
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news,
photos & mor
I try to use following method to get basename of the invoking program name
inside JSP/struts,
String why=(String) PageContext.getPage();
but receive the following error message
can not make a static reference to the non-static methoid getPage() from the
type pageContext,
yitzle wrote:
Hi all.
I'm a Struts Newbie here, so I apologize for the stupid question ;)
I'm working on making a fairly large Struts project.
Most data will be passed from one page/JSP to the next.
The login info has to be available on the server at every action.
How do I make a session bean or
Yoni Amir wrote:
Hello,
I am working on my first struts application, and I was wondering about
design patterns for communicating between actions.
For example, I have actions A and B. A runs first and creates some
data (e.g.,
You have few opions here, you can you action chaining:
http://struts.
The latest struts 2, I think it's 2.0.6 ... and 'hely' was a typo for
'help', of course :)
On 5/27/07, Mansour <[EMAIL PROTECTED]> wrote:
Which version of struts are you using?
Yoni Amir wrote:
> Hello,
>
> I am working on my first struts application, and I was wondering about
> design pattern
Which version of struts are you using?
Yoni Amir wrote:
Hello,
I am working on my first struts application, and I was wondering about
design patterns for communicating between actions.
For example, I have actions A and B. A runs first and creates some
data (e.g.,
a session bean). When B runs,
The issue tracker Struts uses [1], JIRA, has the ability to collection
"votes" on bugs, features, and improvements. As a Struts developer,
when I have a rare spare moment, I sometimes tackle a few tickets that
have the most votes. So, if there is any particular feature or bug
you'd like to be ad
I've fixed it myself. With the internet explorer it was possible to
download the book.
Manfred
Manfred Wolff schrieb:
> Unfortunately I get only a message, that the file is damage and cannot
> be downloaded. Can anybody help me?
>
> Manfred
>
> Josh Long schrieb:
>
>> Wonderful contribution
Unfortunately I get only a message, that the file is damage and cannot
be downloaded. Can anybody help me?
Manfred
Josh Long schrieb:
> Wonderful contribution! Congratulations!
>
--
===
Dipl.-Inf. Manfred Wolff
Software Engineer
Fon : +49 421 534522
F
Wonderful contribution! Congratulations!
--
Joshua Long
Sun Certified Java Programmer
http://www.joshlong.com/
On 5/26/07, Nova Yu <[EMAIL PROTECTED]> wrote:
i'm sorry, i don't think about this. and now i konw what to do.
2007/5/26, Al Sutton <[EMAIL PROTECTED]>:
>
> Emailing you a copy would
Hello,
I am working on my first struts application, and I was wondering about
design patterns for communicating between actions.
For example, I have actions A and B. A runs first and creates some data (e.g.,
a session bean). When B runs, it needs to verify that the data is actually
available. Thi
27 matches
Mail list logo