hello friend,
I am also not having that much experience so why dont u
try this url.
http://www.michael-thomas.com/tech/apache/struts/struts_first_steps.htm
this url contains Apache link and from there u download one sturts binary
file (suppose if u r doing struts1.3.8>
strut
Hi All,
I am new to struts,i have developed a small application but it is not
running,it is displaying the index page correctly but not forwarding the
request.i developed the application using my eclipse.when i checked the
tomcat log file it is showing the exception that it is not able to find the
On 10/2/07, Fredy Provoste <[EMAIL PROTECTED]> wrote:
> Hi, the location of struts.xml in Struts 2, should be in WEB-INF/classes or
> just WEB-INF??
>
Technically it has to be on the CLASSPATH. The most common place to
put it is WEB-INF/classes.
(*Chris*)
---
Hi, the location of struts.xml in Struts 2, should be in WEB-INF/classes or
just WEB-INF??
I've a struts.xml in WEB-INF/classes,
http://struts.apache.org/dtds/struts-2.0.dtd";>
/login.jsp
/login.jsp
It seems like the doublemultiple attribute set to true without the multiple
attribute set to true in doubleselect doesn't work.
If I set both multiple and doublemultiple attributes to true, then I'm able to
select multiple choices on the second select and as well as the first select
but that'
where can i get help regarding this can u guide me.
thanQ
On 10/3/07, Nuwan Chandrasoma <[EMAIL PROTECTED]> wrote:
>
> This is not related to struts.
>
> msg2ajay wrote:
> > Hello friends,
> >
> > I just downloaded ExadelStudio 4.0.4 for Eclipse 3.2.2 .But when i tried
> to
> > do Struts project,
This is not related to struts.
msg2ajay wrote:
Hello friends,
I just downloaded ExadelStudio 4.0.4 for Eclipse 3.2.2 .But when i tried to
do Struts project, i am geting a message as Evalution Version Expired. Why
it is showing like that.
ThanQ in Adv,
Ajay
---
Hello friends,
I just downloaded ExadelStudio 4.0.4 for Eclipse 3.2.2 .But when i tried to
do Struts project, i am geting a message as Evalution Version Expired. Why
it is showing like that.
ThanQ in Adv,
Ajay
--
View this message in context:
http://www.nabble.com/Exadel-Studio-is-showing-Eval
If you set the debug flag do you get any error
messages?
--- Moacir Cardoso <[EMAIL PROTECTED]> wrote:
> Yes I do.
>
>
>
> Dave Newton wrote:
> > Do you have an tag?
> >
> > --- Moacir Cardoso <[EMAIL PROTECTED]> wrote:
> >
> >
> >> Hi,
> >> I'm unable to make my ajax form work
> >>
> >>
Yes I do.
Dave Newton wrote:
Do you have an tag?
--- Moacir Cardoso <[EMAIL PROTECTED]> wrote:
Hi,
I'm unable to make my ajax form work
initial content
action="cadastro/pessoa_salvarEndereco.action"
method="post"
theme="ajax">
targets="two
Thanks for the reply.. when I put breakpoints in my action class and start
the server in debugging mode and run my application in browser.. its
stopping at the breakpoint and not going forward(It is showing it in the
debug console)..I feel it is not able to find the source files as in
.deployables
I think the Zero Configuration idea is a nice idea but the
implementation is far from sufficient and will probably get better
over time (hopefully). The problem mainly is with the limit of
annotations. There are things that can be represented in struts.xml
that have no chance of being represente
Remote debugging is the keyword. WTP already supports that.
On 10/2/07, Viplav Kallepu <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am using struts 1.3.8 with eclipse 3.1 (wtp) and tomcat 5.5. Can anyone
> please tell me how to enable debugging in it like we debug the core java
> application in eclip
Is something like this legal in a Struts 2 custom component:
Some text to be wrapped in my component.
In other words, can act like, for example, ...s.form>? I'd like to create a HTML fieldset component that plays well
with themes. But this doesn't result
Hello Emi.
see below my comments.
Emi Lu wrote:
Hello,
I looked at this page:
http://struts.apache.org/2.x/docs/tiles-plugin.html
Done:
=
[1] Added
org.apache.struts
struts2-tiles-plugin
${version.tiles}
compile
to web.xml
the above looks like maven stuff.. shou
You also need to add the jars that tiles requires:
copy the Tiles dependencies JARs:
* Jakarta Commons BeanUtils 1.7.0 or above;
* Jakarta Commons Digester 1.8 or above;
* Jakarta Commons Logging (at least API) 1.1 or above
http://tiles.apache.org/getting_started.html
-Jason
O
Hello Emi.
see below my comments.
Emi Lu wrote:
Hello,
I looked at this page:
http://struts.apache.org/2.x/docs/tiles-plugin.html
Done:
=
[1] Added
org.apache.struts
struts2-tiles-plugin
${version.tiles}
compile
to web.xml
the above looks like maven stuff.. shou
Hi,
I am using struts 1.3.8 with eclipse 3.1 (wtp) and tomcat 5.5. Can anyone
please tell me how to enable debugging in it like we debug the core java
application in eclipse. I googled it but the I wasn't able to find a single
correct solution to try (I cant use myeclipse because I have to use e
Hello,
I looked at this page:
http://struts.apache.org/2.x/docs/tiles-plugin.html
Done:
=
[1] Added
org.apache.struts
struts2-tiles-plugin
${version.tiles}
compile
to web.xml
[2] Added
class="org.apache.struts2.views.tiles.TilesResult"/>
to the struts.xml f
Hi,
On http://struts.apache.org/2.x/docs/release-notes-209.html, I can
read : "Please help us test these brave new features. Feedback
appreciated".
So, here is some feedback about Zero configuration :
- the feature is pretty cool, though not much documented. For instance,
it was not obvious to m
I work with the trunk and I get test failures periodically. I usually
ignore them so that I can do whatever I need to do. To get maven to
create the JAR file, you have to tell it to skip tests -
mvn -Dmaven.test.skip=true
On 10/2/07, MassimoH <[EMAIL PROTECTED]> wrote:
>
> While developing a St
--- aum strut <[EMAIL PROTECTED]> wrote:
> can u send me a small demo project in struts.so
> that i cn take help frm it
No, but there are many, many Struts tutorials and
projects searchable on the web, including those that
come with Struts itself.
Perhaps posting some configuration beyond
can u send me a small demo project in struts.so that i cn take help frm
it
On 10/3/07, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> --- aum strut <[EMAIL PROTECTED]> wrote:
> > I hav configured all the files in the right way
>
> Cool... but if everything was configured properly it
> would pr
While developing a Struts 2 app, I've encountered a bug within the framework.
I've debugged this and I believe I've identified the exact cause of the
issue. I'd like to try a fix and then submit it as a recommended patch.
However, before I even try to add my code change, I am having trouble
build
--- aum strut <[EMAIL PROTECTED]> wrote:
> I hav configured all the files in the right way
Cool... but if everything was configured properly it
would probably work.
> Its showing in the tomcat log files that its not
> getting the ActionServlet.
This is usually due to a configuration error, miss
--- "Tom Holmes Jr." <[EMAIL PROTECTED]> wrote:
> Basically, I want to call a pre-Action action that
> loads a bean into a session and then calls a JSP
page
> ... simple right?
Right.
> Is that all I need? Is there anything else? Can
> you send me some links for examples?
What exactly are you as
I hav configured all the files in the right way and I m using My Eclipse.
Its showing in the tomcat log files that its not getting the ActionServlet.
On 10/3/07, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> I'd turn up the logging level. My initial suspicion
> would be a configuration error, but it'
I've been playing with Struts2+Spring2 beans+Hibernate and that all
works very well.
So, now I am trying something simpler ... so consider this a new
web-project altogether with just Struts2 ... no Spring2 and no Hibernate.
Basically, I want to call a pre-Action action that loads a bean into a
I'd turn up the logging level. My initial suspicion
would be a configuration error, but it's kind of hard
to say at the moment.
--- aum strut <[EMAIL PROTECTED]> wrote:
> hi all,
>
> i have developeda small application in struts.but
> itis not
> running.andtomcat log file is giving the error tha
hi all,
i have developeda small application in struts.but itis not
running.andtomcat log file is giving the error that it is unable to
find ActionServlet
calss.
i have configured ActionServlet class in web.xml as
action
org.apache.struts.action.ActionServlet
config
/WEB-
I found a site that explains a similar problem:
http://www.nabble.com/-s2--no-result-defined-error-after-failed-validation---can-someone-help--t4030311.html
My problem is also trying to find an 'input' method. I have not even defined an
input method but it is still looking for it. I tried th
Consider the following segment from my struts.xml:
/jsp/items/itemEntry.jsp
/jsp/items/itemView.jsp
/jsp/error.jsp
What could be the cause for an action call not calling the correct method?
I have a link on 'itemView.jsp' that points to Item!view.action. When I click
the link, it op
--- "Kothari, Kailash" wrote:
> This will give me an instance of the parent bean OR
> the child bean.
>
> What I need is a child bean pre populated with data
> from the parent bean.
I'd probably consider hooking in to the request
processor (or chain if you're using 1.3, I suppose)
and implement t
You can throw an exception , which you can specify in your
@Transactional( rollbackFor = )
to have it rollback.
jon_french wrote:
>
> Yes. But I am using Spring managed transactions that in my understanding
> are outside of the struts Interceptor stack.
>
> My DAO's are annotated with th
Thaks Rick.
This will give me an instance of the parent bean OR the child bean.
What I need is a child bean pre populated with data from the parent
bean.
Note that we cannot get an instance of the parent bean and downcast it
to an instance of a child bean like -
child bean = ((child bean)(instan
--- Emi Lu <[EMAIL PROTECTED]> wrote:
> May I know where to find tutorials for "struts 2 +
> Tiles 2" ?
http://struts.apache.org/2.x/docs/tiles-plugin.html
http://tiles.apache.org/tutorial/index.html
The S2 plugin link *may* be somewhat dated; if there
are changes needed please follow up and / or
Hello,
May I know where to find tutorials for "struts 2 + Tiles 2" ?
I'd like to know
. how to setup Tiles 2 with struts2
. Layout examples of using Tiles2 with struts2
Thanks a lot!
-
To unsubscribe, e-mail: [EMAIL PROTEC
That's what it does indeed.
musachy
On 10/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Yes. But I am using Spring managed transactions that in my understanding
> are outside of the struts Interceptor stack.
>
> My DAO's are annotated with the
> org.springframework.transaction.annotation.T
On 10/2/07, setecastronomy <[EMAIL PROTECTED]> wrote:
> I wonder if there is a smarter and centralized way to store the formatting
> informations used in different jsp pages associated to different actions.
>
I believe you can either do it at the package level using something like:
com/mycompany/
hi all,
I am on Struts 2.0.9 here ... using datetimepicker with the following
displayFormat setting
makes the control work incorrectly i.e. permanently display "2007"
only and wrongly:
displayFormat="MMdd"
using separators works fine though e.g.
displayFormat=".MM.dd"
TIA,
rega
Also, you might want to look at URLRewrite
http://tuckey.org/urlrewrite/ That is what I've been using in S1 and S2 to
have
my urls go from this : /myAction.do?p1=v1&p2=v2 to
/myAction/p1,v1/p2,v2/
I'm also using the zero config and code behind plugins in struts2 that also
work to hide
Yes. But I am using Spring managed transactions that in my understanding
are outside of the struts Interceptor stack.
My DAO's are annotated with the
org.springframework.transaction.annotation.Transactional annotation and
thus have their transactions managed as detailed here:
http://static.sp
I call the database and create an ArrayList of beans to hold the data. Using
JSTL I iterate over the list
to display the data in an html table inside a form in a JSP page.
I can give each row a number using ${row.index}
The last but one column is a Struts html:select that allows the user to
se
Hi all,
i am new to the struts,i am developing a struts based small application for
loggin and then to forward the control to the sucess.html if loggin succeed
else to failure.
my index form is being displayed ok.but when i submittedthe form it is
showing the blank page.
the criteria for the succe
There's nothing preventing you from adding back commons-beanutils or OSCore (
http://www.opensymphony.com/oscore/ ) to get back to that level of
functionality.
I'm not 100% sure why this mechanism is necessary. If you name your getter
on your TestBean appropriately, S2 should take care of it.
I would like to do something like this:
(e.g. http://foo/view.action?page=help.vm)
/templates/screens/#request['page']
I know I can do it if I write my own action with setters/getters for the
parameter .. but I was wondering
if I can use some ognl syntax or other (e.g. $
I'm back coding in Strut1.x after being away from it for a while
(since 1.1). What type of Action do most people prefer to use now and
days? I'm typically using MappingDispatchAction which I really like.
Other than the submit button of course, other buttons I end up adding
a little javascript that
On top of that, that won't work on IE. set showLoadingText="false" on
the submit tag.
musachy
On 10/1/07, Moacir Cardoso <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm unable to make my ajax form work
>
>
>
> initial content
> id="theForm2"
> cssStyle="border: 1px solid green;"
>
This may be a dumb question, but if it's a session attribute, why pass
it as a request parameter? Can't you just pull it from the session in
the target action?
-Wes
On 10/2/07, Diego Ezquerro <[EMAIL PROTECTED]> wrote:
> Hi to everybody.
>
> I have a problem with a JSP page, I think this is a stu
Hi to everybody.
I have a problem with a JSP page, I think this is a stupid question but I was
hours searching the Internet and found nothing.
What i wanna do is to pre-process a session attribute and then show a popup
window with the result.
My code is as follows:
Set Trazability
"srd_tree"
In my jsp pages I often need to limit the number of decimals and I learnt how
to create a properties file with the same name of the action and use the
s:text tag:
I ended up with many properties files which have most the same formatting
informations.
I wonder if there is a smarter and centrali
Hi,
I've got the survey-like application. Survey is divided into several
pages and each of those is represented by a dynamic action form. All
forms are stored in the session.
Once survey is completed it's stored in the database and anyone can go
back at any time, retrieve his/her results, change
52 matches
Mail list logo