the two apps at the session level and
treat them like two different web applications.
Use web services to send the requests from one app1 - app2; then save
the responses in app1?
In your case, maybe app2 can just be a web API (RESTful, or WS*) without any UI.
--
Greg Akins
http://twitter.com
?
RequestManager needs to know what type of interface it's expecting..
so there probably needs to be some commonality between the forms in
RequestHandler.. that's the abstraction that needs defined.
Am I on the right track, or still missing something?
--
Greg Akins
http://twitter.com/akinsgre
for listening.
--
Greg Akins
http://twitter.com/akinsgre
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
, the annotation logs WARN - Got result of null when
trying to get Boolean.
I also tried #session.birthYearDisplayed #session['birthYearDisplayed']
Struts 2.2.1
--
Greg Akins
http://twitter.com/akinsgre
to be null)
I've tested this by executing the action.execute() and by calling the
annotations from a JUnit Test.
--
Greg Akins
http://twitter.com/akinsgre
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional
afterall. Are you hoping to use some of the
controller aspects in a Desktop application?
Maybe it would be better if you explain more about what you're hoping to
achieve by integrating Struts into a Desktop application.
--
Greg Akins
http://twitter.com/akinsgre
other attempts
using SimpleModal) for a day now and am hoping someone can point me in
the right direction.
Thanks.
--
Greg Akins
http://twitter.com/akinsgre
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
that form to
an action as the dialog is closed.
The examples in the struts-jquery-plugin wiki don't seem to cover this
case; though I've been fighting this (along with some other attempts
using SimpleModal) for a day now and am hoping someone can point me in
the right direction.
Thanks.
--
Greg
and other types of
non-checked input vulnerabilities?
--
Greg Akins
http://twitter.com/akinsgre
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
and Tomcat6..
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre
-
To unsubscribe, e-mail: user-unsubscr
On Thu, Dec 30, 2010 at 10:42 AM, Greg Akins angryg...@gmail.com wrote:
I have an action which implements SessionAware When that action is
redirected to, the session map is null.
Nevermind.. I'm an idiot. Forgot to include the default-stack when I
added an interceptor.
--
Greg Akins
http
- that confused me a bit).
I'm still Googling for some more information, but if anyone could
point me to a specific resource it would be greatly appreciated.
Thanks!
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
for clearing that up.
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre
-
To unsubscribe, e-mail: user-unsubscr
to the login page if the user isn't authenticated.
The security for this application is binary so I don't need anything
additional for Authorization.
Thanks for pointing it out though.. I'll definitely do some research into that.
--
Greg Akins
http://insomnia-consulting.org
http
) } )
public String execute()
{
return SUCCESS;
}
}
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre
On Mon, Dec 27, 2010 at 11:21 AM, Maurizio Cucchiara
maurizio.cucchi...@gmail.com wrote:
Did you try ParentPackage Annotation?
Also I'm not sure that empty string for namespace is the best value.
No.
I put them in the same package to get them working and figured I could
experiment from there.
class in sigmm.interceptors
I'd expect the actions in mobile to be in the /mobile namespace; think
they'd be in the sigmm.actions.mobile package and don't know what
package/namespace the Interceptor would be in (Other than the java
package sigmm.interceptors).
--
Greg Akins
http://insomnia
is the best approach?
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre
-
To unsubscribe, e-mail: user-unsubscr
On Mon, Dec 13, 2010 at 12:20 PM, Dave Newton davelnew...@gmail.com wrote:
IIRC the default email validator isn't as robust as the page- long RFC email
regex. I'd suggest either a patch, ora custom validator.
Thanks. I'll try to submit a patch after I get something more robust working
.. It looks like the API docs
don't quite match the source then, either.
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre
to understand how to get
the button to work, in case I have to use a cancel button either in
this case, or in the future.
So, when it be clicked, browser will jump to the next page, and your
form will not be submitted.
And of cause, the validation will not be executed.
--
Greg Akins
http
the form is submitted,
even if it's submitted from the cancel button.
The HelloWorld application looks like it's using serverside validation
(since there isn't any javascript in the page.. but the error messages
and labels still appear).
Any thoughts on what I might be missing?
--
Greg Akins
is fine if I can figure out why the errormessage
labels are disappearing.. Seems like it might be a function of using
the Convention plugin.
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com
/11/index.jsp my img src will be /App/11/logo.gif
If I simply do s:url value=//s:text name=IMAGE/ oftentimes the
jsessionid value get's placed on the end of the url and corrupts the
intended results.
Using struts 2.2.1 .. any suggestions?
--
Greg Akins
http://insomnia-consulting.org
http
original-
De: Greg Akins [mailto:angryg...@gmail.com]
Enviado el: Monday, December 06, 2010 11:16 AM
Para: user@struts.apache.org
Asunto: Question about OGNL / EL
This might not be specifically a OGNL question. I've got some code
that doesn't appear to behave correctly
convenience try this
http://struts.apache.org/2.2.1/docs/getting-started.html
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre
to redirect to an action because the action determines
whether certain fields need displayed.. if the INPUT goes straight to
a jsp, the jsp is blank because of the logic I'm using to display
fields.
Struts 2.2.1
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http
, I'm not sure of how I'd do that either.
2010/11/19 Greg Akins angryg...@gmail.com
I've written an action, with validation, that uses a redirectAction
instead of a .jsp for the INPUT result.
When the final INPUT jsp is displayed, the actionErrors aren't
present. I believe this is because
was looking for. One
question to you, or to the list, someone that commented on your blog
mentioned the MessageStoreInterceptor. Any pros or cons of using that
over your interceptor?
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http
return
a result [success], show the Identify-success.jsp page.
(5)another thing need to notice is, method [execute] should be marked
by [skipvalidation] annotation
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com
annotations, rather than
validator.xml, for validations. Struts 2.2.1. There is no struts.xml
file in the project (everything is through annotations.).
Any hints?
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
to be returned to identify-success.jsp to fix
the appropriate fields.
Am I doing this wrong?
On Tue, Nov 16, 2010 at 4:17 PM, Gena Ganebnyi gganeb...@nebulent.com wrote:
Why not to name your original page page-input.jsp?
On Tue, Nov 16, 2010 at 10:31 PM, Greg Akins angryg...@gmail.com wrote
${image}
Thoughts on this, or other ways to do something similar?
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre
a c:out value=${data}/ in an Img/ tag like img
id=${caption} src=data:image/gif;base64,${data} alt=Image
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre
other ideas, or is there
just a standard Struts2 way to do this?
1. Implementing something similar to ViewState in aspx
2. Managing values by manually keeping them in the request
3. Storing everything in a db and looking it up with each request
4. Scope Interceptor
--
Greg Akins
http
https://issues.apache.org/struts/ gives me a 404
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre
,
Paweł Wielgus.
2010/9/17 Matt Meola matt.me...@gmail.com:
I have used URLRewrite with struts2, and it works quite well.
On Fri, 2010-09-17 at 12:24 -0400, Greg Akins wrote:
I'm having a bit of a mental block on this one.
Using Struts2, I want to redirect paths like
example.com/Partner55
place to start?
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre
-
To unsubscribe, e-mail: user-unsubscr
using Advanced wildcard
mappings
with regex... check it out
http://struts.apache.org/2.x/docs/wildcard-mappings.html
Especially if you couple that with the Url Rewrite Filter.
http://www.tuckey.org/urlrewrite/
-Dale
--
Greg Akins
http://insomnia-consulting.org
http
Ultimately, this would avoid problems with keeping the value in the
session, as it could always be retrieved from the URL
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre
a static initializer with a System.out.println in
DbResourceBundle, it never get's executed; I'm not sure when I should
expect the class to get loaded, but it seems like the constant
declaration isn't doing anything right now.
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
the app with mvn tomcat:run )
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre
-
To unsubscribe, e-mail: user
Yippee!!
After a little more Googling it occurred to me that the default might
be still set in struts.properties; it was.. and when I removed it my
DbResourceBundle started working
Thanks for bearing with me
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http
and using them as
shown above works.
My question is..can we do the same for struts2. Can we forcefully load the
resourcebundles inside java.util.ResourceBundle and then have them be used
in s:text tag?
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http
.. is there
anyway to define that globally? I'm using SiteMesh, so maybe defining
it in a decorator might be good enough?
-Original Message-
From: Greg Akins [mailto:angryg...@gmail.com]
Sent: Friday, July 16, 2010 7:58 AM
To: user@struts.apache.org
Subject: Re: Any way to load
that extends ResourceBundle
I specify it as a constant in struts.xml and then wrap my s:text with
the s:i18n using the fully qualified class
When I load the page I get this logged message WARNING: Could not
find method [getTexts('com.insomnia.common.bundles.DbResourceBundle')]
--
Greg Akins
http
I've used this before, and it seemed to work well.
http://jmimemagic.sourceforge.net
Some more alternatives are here
http://www.rgagnon.com/javadetails/java-0487.html
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com
mean struts.xml? I have it in struts.xml,
but it doesn't seem to be getting called. Maybe it should be in
web.xml .. in that case as an init-param on the Dispatcher filter.
Right?
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http
- about.jsp
And the URL is http://localhost/user1/index.jsp
I would like to return content/index.jsp..
Does that make sense? I can probably do this with some type of
filter, but wondered if Struts2 had a better mechanism
--
Greg Akins
http://insomnia-consulting.org
http
up specific content in a database and a directory hierarchy
that serves html/css out of subdirectory depending on a Session
variable.
Any advice is appreciated.
--
Greg Akins
http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http
50 matches
Mail list logo