Greetings to all,
I have a spring dao class like this
public class RoleDaoImpl extends SimpleJdbcDaoSupport implements RoleDao {
public Role findRoleById(Long id) {
.
and I have added it to spring as
when I am calling a method in this dao
Hi
Thanks a lot. Its working for me now...
Thanks and Regards
Upasana Sharma
try something like this:
function callRelatedAction(actionName) {
var testForm = document.getElementById('test');
testForm.action=actionName;
testForm.submit();
}
From: hisameer
To: user@struts.apache.org
Sent: Tue, April 13, 2010 1:21:38 PM
Subject
* we are using below mentioed like approach and its working in our case.
" rel="stylesheet"
type="text/css"/>*
On Tue, Apr 13, 2010 at 4:29 PM, Upasana Sharma wrote:
> Hi
>
> I am new to Struts. I am trying to develop a project. The jsp pages that
> are
> relevant are arranged in res
Martin, I think he is looking at the Convention plug-in rather than code
behind.
Chris in your struts.xml check if you have
Also check if you are following the conventions -- name of action ending
with Action or extending ActionSupport etc.
Then check the annotations on the actions
Marti
You can't. One alternative is to save the file in another directory and
redirect to it.
fea jabi wrote:
On click of a button I open a window and generating PDF in it as "inline" within that browser window. It works fine.
I did set the http response header for the response with the file nam
On click of a button I open a window and generating PDF in it as "inline"
within that browser window. It works fine.
I did set the http response header for the response with the file name. So, I
am seeing the right PDF name in the open/save dialog of PDF.
But when I click on the save bu
I resolved this issue...
We need to keep below line in struts.properties file
struts.enable.DynamicMethodInvocation = true
Thanks,
Sharath.
--- On Tue, 4/13/10, Lukasz Lenart wrote:
From: Lukasz Lenart
Subject: Re: Migrating struts2 version 2.0.11 to 2.1.8.1
To: "Struts Users Mailing
Hi,
I am having radio buttons in my jsp page with three selections:
(o) Login
(o) Returning user
(*) Register
Register is selected default. But if the user selects Login or Returning
User I want to call an action on the onchange event which has to do some
business logic and redirect the page to
Hi,
Sorry for insisting, but we didn't get conclusion on the subject.
Does someone have an idea? Do we miss sthg ?
We are currently thinking in developing such an extension for struts2.
Best Regards
-Mensaje original-
De: Nicola de Saint-Aubert [mailto:nsaintaub...@lavanguardia.es]
En
2010/4/13 sharath karnati :
> />
>
> When I press this button it should call 'checkLogin' method in LoginAction
> but it is not calling this method, it is just calling execute() method. I
> even tried changing above line to name="method:checkLogin" but it is calling
> exeute() method only??
I
Hi All,
Migrating application developed in 2.0.11 to 2.1.8.1 struts2 version, I did
following changes
web.xml file
changed below line FROM
org.apache.struts2.dispatcher.FilterDispatcher
TO
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
Removed s
Are you certain that there's not more than one version of the OGNL jar
in one of those deployment environments that's causing one to
environment to find classes with different methods than the other?
I'd see if you can get detailed logging info from the classloader so you
know where all the cl
satyanarayana katta wrote:
>
> Issue with logger. Suppress the messages at the logger level will
> resolve the issue.
>
It's not an unwanted error message I'm complaining about - the action
crashes and I get the stacktrace in the browser window.
I've managed to upgrade the Debian server s
What is the recommended way do define a Input Result
when using AJAX Client Validation?
Because on validation error the error "No result defined for action ... and
result input"
is thrown.
More Details:
http://code.google.com/p/struts2-jquery/issues/detail?id=133
Best Regards
Johannes Geppert
Hi
I am new to Struts. I am trying to develop a project. The jsp pages that are
relevant are arranged in respective folders. When I start the project from
eclipse the page from welcome file list are loaded properly with the
respective css. But whenever i try to access some other jsp css are not
ac
Good Afternoon Chris
best to look at the usage of the code behind plugin
http://struts.apache.org/2.1.6/docs/codebehind-plugin.html
a few fundamentals:
did you copy the codebehind jar to WEB-INF/lib?
is your Action mapping adhering to the convention of
/NAMESPACE/ACTION.(jsp|vm|ftl)
additiona
I am using Glassfish 2.1 and deploying my application with the
convention plugin, but none of my annotations are being processed which
leads me to believe that the plugin is not being loaded. There is
nothing in the server logs mentioning any messages or errors. The config
browser plugin tells me a
NOT PROTECTIVELY MARKED
I am using Glassfish 2.1 and deploying my application with the
convention plugin, but none of my annotations are being processed which
leads me to believe that the plugin is not being loaded. There is
nothing in the server logs mentioning any messages or errors. The config
Hi All,
Our requirement is use to use STRUTS + REST + SPRING.
We are stuck with the below problem:
Rest controllers are not able to autowire the spring beans. So i am not able to
inject the spring beans to the rest controllers that are created using
convention plugin.
1) We configured the
I forgot (again) to say that the s:select tag is even not displayed on the
jsp. That's why i think it's a problem of populating, but i don't really
understand how the s:select will provide the Integer key to my class company
who is waiting for an Integer after the submit. Anyway i can't submit form
21 matches
Mail list logo