I want to read struts2's source code,but i found it's too complicated.
so,i want to find a book that analysis the soure code.
who can give me some suggestions?recommend some books to me?
thanks very much!!
--
View this message in context:
http://www.nabble.com/read-the-source-code-tp26090230p260
Hi,
I already use the json plugin. I have written a new action to test the plugin
and it works fine - I get my json result.
But for some reason it doesn't work with the existing action (I didn't write
this action).
Here's what I did:
* Installed the json plugin by copying it into WEB-INF/lib
*
Hi,
whis is the mapping for the action as it is currently used in the application.
No json here:
/jsp/crr_Asset_Calendar_Daily_Report.jsp
This is the mapping I have created which points to the same action but with
json enabled:
jsonData
The only method I h
As far as I know, there are no books that specifically analyze the
source code for Struts 2. I would suggest starting by reading the
source code to Xwork. To really get a handle on what is going on,
first try to get a solid understanding of the command pattern design
pattern. Then, take a look at t
I believe the short answer is you can ignore this warning. If really
inclined you could create your own base class that extends from
ActionSupport and implements readObject().
It's very common in web frameworks to use Serializable objects for a couple
or reasons, such as being able to preserve st
The people who made that decision are by now long gone, and I can't
think of any good reason myself.
musachy
On Wed, Oct 28, 2009 at 7:26 AM, Greg Lindholm wrote:
> I believe the short answer is you can ignore this warning. If really
> inclined you could create your own base class that extends
2009/10/28 Musachy Barroso :
> The people who made that decision are by now long gone, and I can't
> think of any good reason myself.
As I know, ActionSupport is a part of XWork (common purpose action
framework) that is used by example in WebLogic 8.1 to manage multiple
tasks with WorkManager - th
Hello:
I jut upgraded from Struts 2.0.14 to 2.1.8
and noticed I am now getting this error:
SEVERE: Servlet.service() for servlet jsp threw exception
The requested list key 'accountManagerMap' could not be resolved as a
collection/array/map/enumeration/iterator type. Example: people or
people.{na
You have to define constant as below in struts.xml or in
struts.properties - from some version is set to false by default
struts.ognl.allowStaticMethodAccess=true
Regards
--
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/
Lukasz:
> struts.ognl.allowStaticMethodAccess=true
I will try that.
Neil
--
Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com
CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU
1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime
-
On Friday 16 October 2009 19:29:05 Musachy Barroso wrote:
> when you declare a result using annotations, the param values can
> contain OGNL values, just like in xml,:
>
> @Action(value="/different/url",
> result...@result(name="success", type="httpheader",
> params={"status", "%{status}", "e
Hi
I am wondering is there a way in Struts2 to get the result of JSP before
returning the composed HTML back to client?
for example
public String execute() {
...do my logic and prepare my data
...then using the data, compose a HTML file from existing jsp
... then i need to save the HTML f
Thank you very much for your reply!
I have read some code of xwork.however,i am a littel lazy,so i want to find
a book to introduce .
now that there is no book,I'll follow what you said.
Wes Wannemacher wrote:
>
> As far as I know, there are no books that specifically analyze the
> source code
On Wed, Oct 28, 2009 at 6:50 PM, mark lu wrote:
> Thank you very much for your reply!
> I have read some code of xwork.however,i am a littel lazy,so i want to find
> a book to introduce .
> now that there is no book,I'll follow what you said.
It would be great if you could write up your experienc
you can use the embeddedjsp plugin to process a jsp as a template
library without using the container. another alternative is to create
your own filter and create a response object which will have a writer
to capture what is written to it, so you can modify it and then write
it to the real output s
debugging is a great tool to understanding code. try to debug the
blank application bundled with struts. Put a breakpoint in
Dispatcher.serviceAction (double check name, off the top of my head)
and debug all the way down. There is also some tools that generate
sequence diagrams at runtime, but they
16 matches
Mail list logo