Version of Struts?
2008/8/4 ryan webb [EMAIL PROTECTED]:
How can I make a Struts Project with multiple modules?
--
warmest regards,
Ryan Webb - Philippines
email: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL
Hi,
I tried all things and its again not working still action is getting called
2 times for each call to this Register Action i am attaching the
Register.jsp,Struts.xml as well as the action class please have a look at it
and point me where i am doing the mistake.
Thanks in Advance
-aum
On
Struts Version = 1.2.9
So creating a multiple module depends on struts version?
On 8/4/08, Antonio Petrelli [EMAIL PROTECTED] wrote:
Version of Struts?
2008/8/4 ryan webb [EMAIL PROTECTED]:
How can I make a Struts Project with multiple modules?
--
warmest regards,
Ryan Webb -
2008/8/4 ryan webb [EMAIL PROTECTED]:
Struts Version = 1.2.9
So creating a multiple module depends on struts version?
Surely it depends on being a Struts 1 project or a Struts 2 one. In
fact I think that the concept of module is not used inside Struts 2,
but I wanted to be sure that you were
Haulyn R. Jason wrote:
Hi,all
I set struts-action-extension= for no extension as action or do by
default for struts2, and mapping all url to struts2 dispatcher as /*.
But, the problem is I can not access any jsp, html,css and js files. The
page display:there are no action mapping for XXX.jsp
I'm using struts2.0.11.1 with Velocity.
In my #stextfield tags I'm trying to use eacute; in the label and the
tooltip.
It gets transformed in amp;eacute; in the resulting web page. If I use the
original é it doesn't work either and display an inconsistent character, and
this with UTF-8 encoding
Jeromy Evans 写道:
Haulyn R. Jason wrote:
Hi,all
I set struts-action-extension= for no extension as action or do by
default for struts2, and mapping all url to struts2 dispatcher as /*.
But, the problem is I can not access any jsp, html,css and js files. The
page display:there are no
Hi there,
is it possible to separate getter and setter from ActionClass ?
so that my action class will only contain logic related to action and BO
class with all the getter and setter.
Regards,
Dhiraj
Hi,
try to add getMyBussinessObject() in ActionClass and on Your jsp
s:property value=myBussinessObject.someBussinesProperty/. Still,
You need myBussinessObject field in ActionClass.
Best greetings,
Paweł Wielgus.
On 04/08/2008, Dhiraj Thakur [EMAIL PROTECTED] wrote:
Hi there,
is it possible
can't see the jsp file.
In the action class you are not using modeldriven as you said in the
first email.
2008/8/4 aum strut [EMAIL PROTECTED]:
Hi,
I tried all things and its again not working still action is getting called
2 times for each call to this Register Action i am attaching the
http://www.eclipse.org/newsgroups/
Honestly, if you know what it takes to develop a web application with
java, then you will find all the configuration options you need just
with the eclipse help files and some common sense.
May the force be with you.
2008/8/4 Narasimha Raju Naidu [EMAIL
Hi
Basic question sorry (looked all over but can't find the answer)
1) When validation fails for my 'username' textfield, the error message
is displayed ABOVE the text box.
Is it possible to have more fine-grained control over how to position
the error message. Ideally I would like it below
I agree that execution semantics should be preserved (in an ideal
world at least).
But, if the intention is to enforce security of some parameter values
AND preserve action semantics, then the action should not change its
behavior/semantic if we call it from the context of a different
interceptor
Hi All,
Using JSON, I'm getting below response from action
{list:{com.beans.ComplaintDO:{user__complaint__number:08-C0153,user__complaint__key:08-C0153-1,form__type:2000B,first__name:Sharath,last__name:Karnati}}}
In this response, 'com.beans.ComplaintDO' is a javabean.
Hello everyone,
maybe this question has been asked before, but I couldn't find any
postings on the topic:
How can I validate my input in dependency of the action method (without
XML)?
I know that method dependant processing is possible with the
PrepareInterceptor (i.e. prepareDoThis,
Andreas Mähler schrieb:
I know that method dependant processing is possible with the
PrepareInterceptor (i.e. prepareDoThis, prepareDoThat methods that are
automatically invoked). I checked the Struts2.1.2 docs[1], but it seems
that the ValidationInterceptor does not offer this feature. I
Hi!
I am using Struts 1.3.8 and when i want to try some of the examples or when i
want to develop something
i always have the same error in the line with html:form.
This is a very simple example:
Inside Web-inf,i have a lib folder with the following libs:
2008/8/4 Alexis Abdel [EMAIL PROTECTED]:
!DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts
Configuration 1.3//EN
http://struts.apache.org/dtds/struts-config_1_0.dtd;
Shouldn't it be 1_3?
Antonio
I have a tabbed panel. I would like to refresh the contents of this tab
and am able to do so by publishing to the proper topic. However, I
really need to take it a step further and be able to dynamically specify
the formid and href attributes of the Ajax DIV in my JavaScript, before
refreshing
Dear Al and Dave,
I tried to fix that error with session variable all weekend and I didn't
managed to fix it. When action is defined as redirect action to another
namespace, and when that action is called, another action called method
doesn't see my session variables. I just changed this
Thanks Wes.
Maybe my question is not clear enough. I'd like to find a way to get
value in address bar which is different from the path to the jsp
rendering current page. Your solutions give us the latter.
e.g., if loginForm.jsp is responsible for rendering page for
login_input.action,
Try
${request.requestURL}
or
s:property
value=%{#context['com.opensymphony.xwork2.dispatcher.HttpServletRequest'].requestURL}/
Instead.
(*Chris*)
On Mon, Aug 4, 2008 at 8:29 AM, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Thanks Wes.
Maybe my question is not clear enough. I'd like to
You don't need to have all your actions for a namespace in a single
class, you can use multiple classes.
I usually group methods acting on a common object into a single class
which usually leaves me with the 5 public methods in a class which map
to actions (typically CRUD plus a View method),
I am trying to get spring to manage my Struts2 actions but am getting the
following error:
Action class [springManagedProsocActionUpdateEmail] not found
I have used the http://struts.apache.org/2.x/docs/spring-plugin.html
http://struts.apache.org/2.x/docs/spring-plugin.html as a guide but
I've seen it both waysputting all classes into a global kitchen sink package
(even when the Actions have completely different functionality and address
completely disparate domain objects)
on the other hand i've also seenbanishing (@Embeddable and or inner classes or
classes which belong
I can't say that I see the problem, but I do see a few small issues.
bean id=springManagedProsocActionUpdateEmail
class=uk.co.prodia.prosoc.struts2.action.ActionUpdateEmail
property name=sessionFactory
ref=sessionFactoryProsocForum/
/bean
be sure to add scope=prototype. S2 actions
Thanks Chris. I got the same value using requestURL as using requestURI.
On Mon, Aug 4, 2008 at 11:45 AM, Chris Pratt [EMAIL PROTECTED] wrote:
Try
${request.requestURL}
or
s:property
value=%{#context['com.opensymphony.xwork2.dispatcher.HttpServletRequest'].requestURL}/
Instead.
Hi Brad and thank you for the reply.
I have tried setting the scope=prototype but it didn't change the error I
am seeing.
I also tried your suggestion of removing the !* part of the method name
from the action along with the method={1} but again it didn't change
anything.
I have noticed a
Are any of you using these tags in an S2 project?%-|
Scott
--
View this message in context:
http://www.nabble.com/Ajax-JSP-Tag-Library-1.3-tp18815549p18815549.html
Sent from the Struts - User mailing list archive at Nabble.com.
Hi,
have You been redirecting to jsp? You can also print uri with s:url/
Best greetings,
Paweł Wielgus.
2008/8/4 [EMAIL PROTECTED] [EMAIL PROTECTED]:
Thanks Chris. I got the same value using requestURL as using requestURI.
On Mon, Aug 4, 2008 at 11:45 AM, Chris Pratt [EMAIL PROTECTED] wrote:
can anyone please let me know
if there is any issue with disabled attribute of Anchor tag?
Cause i am not getting the expected behaviour out of the tag.
i used
struts:a href=some_url disabled=trueTest/struts:a
and expected 'Test' coming as disabled.
but its not happening.
Thanks,
Avinash
Forgot to mention, i am using struts-2.0.11.2.
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have tried setting the scope=prototype but it
didn't change the error I am seeing.
right, that makes sense. This setting will stop you from having big
problems later on though.
I am unsure what could be causing this but maybe someone could
clarify that the:
Hi,
s:a tag doesn't render its title attribute value properly if it
contains non-English chars.
Example:
s:a href=.. title=Français #231;.../s:a
Html a tag does it properly.
How to get around it in using s:a tag?
Thanks.
-
Thanks again for replying, I am really stuck on this one at the moment.
I am currently using struts-2.0.11.1 and spring-2.5.4.
Another thing I have noticed on the struts plugin guide page at:
http://struts.apache.org/2.x/docs/spring-plugin.html
Hey
I am trying to create a radio button and I want one of the values selected
by default,
s:radio label=Chart Type name=chartType list={'Bar Chart','3D Bar
Chart'} value=Bar Chart/
I thought I could use the value to select by default. However Its not
working.
Any help is appreciated.
--
Would you expect that to mean that my package should be
extending the spring-default rather than struts-default?
it's good thinking to look at struts-plugin.xml in
struts2-spring-plugin.jar, but you don't need to extend it unless you
intend to use the two interceptors they define there (which
I am experimenting with a non-Struts resource mapped in my web.xml but since
the Struts filter is catching all requests, I am getting
There is no Action mapped for namespace / and action name callout. -
[unknown location]
How do requests for non-action mappings sneak through the
same concept as with legacy Java ApplicationResources.properties
so in struts.xml you should see the globalMessages_locale.properties
identified viaconstant name=struts.custom.i18n.resources
value=globalMessages /where english globalMessages.properties would
containtoken.transfer.time=The
Hi all,
I have a problem with file uploading (i am using the interceptor) and I just
can't find it. I have nothing in Tomcat's logs.
I have an interceptor placed after FileUpload in the stack which gets
executed. But my action isn't.
If you have an idea regarding my problem don't hesitate to
Thanks for your offer of help Brad and sorry these files are so big.
I do have a habit of editing my posts occassionally through Nabble so maybe
that is causing me to post twice?
Currently a lack of skill prevents me from setting a break point on the
SpringObjectFactory.buildBean() but that is
Please help a struggling newbie, and first time mailing list user.
The following Netbeans 6.0 project is using Glassfish.
Directory listing:
TS_6
TS_6/src/
TS_6/src/conf/
TS_6/src/conf/MANIFEST.MF
TS_6/src/java/
TS_6/src/java/HelloWorld.java
TS_6/src/java/struts.xml
hi there,
say I have an object client and it has firstName and lastName. I wish to
write this on the jsp page:
Dear Mr. XX welcome to
the XX should be substitute with firstName and lastName.
what tag should be used in order to achieve this?
thank you!
--
View this message in
Generally, I just map everything through the dispatcher. I find s2
actions/results more friendly than straight up JSP and/or Servlets...
Beyond that, if you're incorporating something that doesn't already have
a result type, would it be a good candidate for a plugin?
-Wes
On Mon, 2008-08-04 at
s:property
2008/8/4 xianwinwin [EMAIL PROTECTED]:
hi there,
say I have an object client and it has firstName and lastName. I wish to
write this on the jsp page:
Dear Mr. XX welcome to
the XX should be substitute with firstName and lastName.
what tag should be used in order
Martin Gainty 写道:
check to make sure your jsp is in webapps/webapplication
check the 'work' folder to see if the jsp compiled
e.g. index.jsp would look like
_index__jsp.class
*
which means
a)index.jsp was compiled to _index__jsp.java
b)_index__jsp.java was compiled to _index__jsp.class
46 matches
Mail list logo