Hi,
Yeah Wes, you are correct, i was so stuck with this and couldnt see that i
can straightly put that to the session from the Action class...
Thank you so much for reminding me this
--
Regards
Kushan Jayathilake
On Fri, Jun 18, 2010 at 11:03 AM, Wes Wannemacher wrote:
> What you want i
What you want is this -
However, what i'm wondering right now is this -
you have to expose "accountList" most likely by having a getter/setter
combination on the action that is rendering the JSP that contains this
tag. Assuming you are placing the variable in the session so that you
can retriev
Hi,
Thanks for replying...
In my JSP i put the as you said, i want to get the value from the
Action class and set that value in the session in the JSP, so i wrote,
"
scope="session"/>
note that "accountList" is a java.util.List in the Action class, i want to
get that list to the JSP and assig
i got several web of Apple have .action in the suffix
do they use S2 in their AppStore?
--
Frans Thamura
Meruvian.
We grow because we share the same believe.
Mobile: +6287885901958
Blog & Profile: http://frans.thamura.info
We provide services to migrate your apps to Java (web), in amazing fa
http://struts.apache.org/2.x/docs/set.html
Notice particularly the "scope" attribute.
-Wes
On Fri, Jun 18, 2010 at 1:01 AM, Kushan Jayathilake wrote:
> Hi Guys,
>
> Can anyone suggest me a way to set a variable in the session in the JSP and
> access that variable in the action class.. (variable
Hi Guys,
Can anyone suggest me a way to set a variable in the session in the JSP and
access that variable in the action class.. (variable must be set from the
JSP file to the session)
iam using struts 2.. is there anyway to do this..?
--
Regards
Kushan Jayathilake
Did you configure Tomcat to return the proxy proxyName and proxyPort?
The doc is here:
http://tomcat.apache.org/tomcat-5.5-doc/proxy-howto.html
I'm not *actually* sure if relative path redirects would be supported,
I always concatenate the scheme +":" + serverName +":"+port when doing
redirects.
To answer my own question, just in case anyone comes across this:
It's no longer possible to dynamically alter the configuration, so a
redirect to an action that's not in the config must be done differently. I
copied the idea from ExecuteAndWaitInterceptor.java:
ServletRedirectResult shRe
Hi, i'm trying to integrate Adobe Flex + Struts2 + BlazeDS Integration +
Spring but i got some problems with spring, he only works on Flex, if i
put @Autowired in one Action's Class(i put my class in package action)
i get the error: nullPointException, the Spring don't injects my class
anyon
Well you are need to track and supply which action name you want the
redirect to go to.
Here is a handy tip; to get the current action name from your action
class you can add a method like this:
public String getActionName()
{
ActionContext context = ActionContext.getContext();
Hi!
Is something like the following snippet possible to do?
${entry.name}
${entry.forced}
Of course this code won't do it, but I hope you're getting my idea. I'd like to
iterate over a collection and create a for every item in it.
This checkbox should set
Dear Greg,
I understood this of how to redirect to next action.
But I want to get the previous action from the context which called this
action.
For eg.
LoginAction calls LoadHomeAction, so can I get the details of which action
called LoadHomeAction in it.
Inshort *can the called Action get th
Dear Greg.
Thanks for the information.
Is this an inbuilt variable or we need to define it somewhere in the calling
action.
Can we also the namespace of the calling action in the called action
directly.
Regards,
Amol Ghotankar
cursivetech.com
On Thu, Jun 17, 2010 at 6:31 PM, Greg Lindholm wr
You can configure a dynamic result like this:
${nextAction}
In your action class you would then need a method "String
getNextAction()" that returns the next action name.
On Thu, Jun 17, 2010 at 1:19 AM, Amol Ghotankar wrote:
> Hello.
>
> I am using struts 2.0.x and facin
We use Tomcat and have written a simple filter to set the cache
control headers on static content. (see below)
We handle the issue with changing JS and CSS files by versioning them
on releases. So when we update a app to version 2 we rename the JS and
CSS files to add a version number so the new p
2010/6/10 Giovanni Cocco
> Hi,
> I'm experiencing some problems in a project based on jAPS (
> http://www.japsportal.org). The jAPS backend is based on Struts2.
> For integration with a IDM System we introduced SpringSecurity on the
> application. The problem is that when Struts2 is executing a r
Hi John,
i'm using axis as a client and server,
Works very well, it is configured as another servlet in web.xml,
AxisServlet
Apache-Axis Servlet
org.apache.axis.transport.http.AxisServlet
AdminServlet
Axis Admin Servlet
org.apache.axis.trans
17 matches
Mail list logo