Chris,
Its an interesting point you raise about using a tag in a
jsp without going through an Action. Looking at the Struts 1.1 code it looks
like it would work - ForwardTag calls
RequestUtils.getModuleConfig(HttpServletRequest, ServletContext) which does
exactly what you were hoping would have h
Niall,
(First, let me say that I'm very happy to see such a great response so
fast. I really appreciate the time you took to research my problem and
make suggestions. I expected to suffer several rounds of "go away and
complain to the velocity tools guys" before getting anything useful.
Thanks!
I have to say I don't use velocity and so I don't really understand how your
using Struts without an Action, but anyway here goes...
When modules were introduced in Struts 1.1 ActionServlet was modified so
that every time a request was processed it stores the ModuleConfig as a
parameter in the req
basicPortal (a Struts Portal w/ rich UI and iBatis DAO) uses the the
tiles to control the page “modules”, for example here:
http://www.basicportal.com/bp/download/cms.PNG
You can see beta of it here, should go live:
http://sp8des.ogamo.com
ZD replaced Vignette with the Struts Portal for the 5 gam
I've used a similar approach but mine is working fine.
what does your struts-config.xml look like?
On Fri, 11 Jun 2004 11:26:54 +0200, Cosyns Xavier <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I run into problems with chaining dispatchactions using the same
> parameter 'method'. We do use the same pa
Hello all,
I am in the process of upgrading from velocity-tools 1.0 to
velocity-tools 1.1 in my existing Struts 1.1-based application.
This app was working perfectly before the upgrade (just one JAR file)
and now I get an NPE whenever I use the velocity-tools's
LinkTool.setForward() method.
He
Ich werde ab 11.06.2004 nicht im Büro sein. Ich kehre zurück am
01.07.2004.
Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.
Während meiner Abwesendheit werde ich von Peter Eimann vertreten.
* * * * * * * * L E G A LD I S C L A I M E R * * * * * * * *
This e-mail is destined for th
http://www.niallp.pwp.blueyonder.co.uk/#lazydynabean
- Original Message -
From: "Ricardo Andres Quintero" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 11, 2004 5:29 PM
Subject: Generating a form database
> Good afternoon
>
> The problem i want to solve is that,
>
> i n
Return Receipt
Your Downloading a file from an Action class.
document
:
Hello ,
Thank you Wendy, Hubert and Ram for your reply. I followed what you
have suggested and solved my problem.
Wendy , attSubmit() function accepting argument is cut paste error , I
am sorry I confused you. Thank you for the code snippet.
Hubert, you are right "the problem is that the li
You can define multiple Message-resources in your struts-config.xml and
To access MyWebAppResources, use
Then to access MyWebAppResources2.properties, just use
Thanks,
Yuanbo
-Original Message-
From: Viral_Thakkar [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 3:33 AM
T
I have been trying to make a jsp document work and display. I'm using
tomcat5 and mosiac 1.6. and struts 1.1
I have saved my document as a jspx file and have tried a variety of ways
to add links to a stylesheet.
mosiac tells me this :
This XML file does not appear to have any style infor
Hi All,
Can we have multiple ApplicationResources.properties files for a
project?
As of now I have a following entry in web.xml for an
ApplicationResources.properties file.
application
ApplicationResources
Thanks & Regards,
Viral
So it's the 'return false' statement that makes your links different from
Sandhya's.
--- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> > From: Hubert Rabago [mailto:[EMAIL PROTECTED]
> > I think your problem is that the link itself goes somewhere
> > instead of just
> > calling the JS function. Why
Usually what happens in a clustered environment, whether failover is
involved or not, is that all information that would otherwise be stored in
memory gets saved to a database, or some other persistent storage mechanism,
that all servers have access to. In many cases this is a database that all
That said I've the impression that struts becoming a top level
apache project means that the requirements for release are stricter
than when 1.1 came out. But there's certainly a hive of activity
going on to get 1.2 released.
Actually, I wouldn't say that's true. In fact, going forward, we
hop
Good afternoon
The problem i want to solve is that,
i need to create a form depending on
the data in a database is.
I know i can asociate a bean form with
the view, but the class'atrributes are
indeterminated, since it depends on the
database data.
does anyone know how to solve this problem?
RE: bean define tagChris is right if a message is not found it outputs the
message key prefixed with the locale key and surrounded by "???". So in your
case looks like it thinks the locale key is "hi".
Another thing...you can use the name/property attributes in
to avoid having to do and use scri
> From: Hubert Rabago [mailto:[EMAIL PROTECTED]
> I think your problem is that the link itself goes somewhere
> instead of just
> calling the JS function. Why don't you try something like
> attName
> or even just a regular, non-struts tag, link?
I think the "javascript:function()" syntax is fro
Ich werde ab 11.06.2004 nicht im Büro sein. Ich kehre zurück am
01.07.2004.
Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.
Während meiner Abwesendheit werde ich von Peter Eimann vertreten.
* * * * * * * * L E G A LD I S C L A I M E R * * * * * * * *
This e-mail is destined for th
Use Struts EL library:
Submit
or use scriptlets:
<%
String onclick = "javascript:callAction('" + beanValue + "')";
%>
Submit
robert
-Original Message-
From: Bharat Bhushan [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 12:29 PM
To: [EMAIL PROTECTED]
Subject: Need H
You can in the struts-config. Take a look at Section "5.2.2 Message
Resources Configuration" in the User Guide
http://jakarta.apache.org/struts/userGuide/configuration.html
Niall
- Original Message -
From: "satish ashok shukla" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Viral_Thak
In addition you can check whether you are receiving the form element
values using alert() - or even check whether method is getting called
V.K.Ram
www.m7.com
NitroX for Struts
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 9:38 AM
To: St
I think your problem is that the link itself goes somewhere instead of just
calling the JS function. Why don't you try something like
attName
or even just a regular, non-struts tag, link?
--- "PADALA, SANDHYA (SBCSI)" <[EMAIL PROTECTED]> wrote:
>
>
> Hello Wendy,
>
> Thank you for replying t
Hi
I am using struts tag library. And I want help
in the following tag.
' ) " > Submit
In the above tag how to pass value
from bean in _javascript_ function callAction().
And “Submit” will also
be a bean variable. How to do that???
Any help will be appreciable.
> From: PADALA, SANDHYA (SBCSI) [mailto:[EMAIL PROTECTED]
>
> attName
>
>
>
> function attSubmit(ID)
> {
> document.forms[0].action="/attachment.do";
> document.forms[0].submit();
> }
>
Check a couple of things-- that you don't have a form element called
'submit', or else
Interesting topic. I am new to server clustering so I'd like to discuss
about how fail-over get implemented in a clustering env.
I understand any ActionForms and custom data objects in the session need
to be serializable, so in case one node server fails, all the
information can be serialized and
Hello Wendy,
Thank you for replying to my mail.
What I have tried is something like this
attName
function attSubmit(ID)
{
document.forms[0].action="/attachment.do";
document.forms[0].submit();
}
Can you please tell me what I am doing wrong.
Thank you,
Sandhya
-Orig
What if the system needed to scale to thousands (or potentially even
millions) of user? Would just throwing more hardware solve the
scalability issues? I know this sounds really open ended, but I'm just
trying to figure out how well struts has performed (or will) in the past
for large websites. The
Illya Kysil wrote:
> > http://cvs.apache.org/builds/jakarta-struts/nightly/
> Thanx, but I would like to use something more stable...
Suit yourself, but the code doesn't GET much more stable than in the
days leading up to a release. I've been using nightlies for as long as
I can remember, and h
You are completely correct Matt. In our situation, there were other
reasons that led us to create our own versions of the struts validations -
I won't bore anyone with those details. The point I was really getting at,
is that specialized applications of the struts validations can be easily
a
Yeah, I think its working, thanks
-Original Message-
From: Matt Bathje [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 8:10 PM
To: Struts Users Mailing List
Subject: Re: validation for optional fields
Maybe I'm missing something here, but why can't you just setup the
validation
Oops, didn't realize you were using 1.1 - not sure of the behavior there.
Looking at the code, it appears as though the validateInteger method returns
null if the field is blank, which would seem to indicate this wouldn't work
for you. (But I'm not sure)
I know my suggestion works on the 1.2 nig
Illya Kysil wrote:
Hi all,
Are there any Struts 1.2.x binaries downloads available?
http://jakarta.apache.org/site/binindex.cgi reports 1.1 is the latest.
see below for 1.2.0 binaries :
http://www.mail-archive.com/[EMAIL PROTECTED]/msg94777.html
-
I am trying to use the html:form tag to automatically
populate the user form from a form bean.
I use tiles template, which includes a header and a
body, each has its own data to submit.
If I define one html:form for header and body
separately, then I need to call submit twice in order
to submit
Maybe I'm missing something here, but why can't you just setup the
validation to do the integer validation without the required validation?
Integer does not depend on the required validation, so it should be fine -
if there is nothing in the field the validation will just return true.
Sample code
There is chat of a release of 1.2 on the dev list, but I'm also
waiting.. I've a few internal apps running on 1.2 but like you i cant
be arsed with the bleeding edge stuff.
That said I've the impression that struts becoming a top level apache
project means that the requirements for release a
> From: PADALA, SANDHYA (SBCSI) [mailto:[EMAIL PROTECTED]
> I tried using onClick java script method in the tag and in
> the method implementation I have done document.forms[0].submit().NO
> luck. I was not successful.
Why don't you post what you tried that didn't work? That's the solution
I u
We have a similar situation with our validations. We created our own
validators to handle those situations. For the javascript, we cloned the
javascript for the validation and added logic to apply the validation when
a field was populated - very easy. For the server-side validation, our
ja
Hi all,
I have a href tag on my JSP. I am using html:link tag for this.
And when a user clicks on this URL, if for some reason there is an error
on the action which opens the url page then the user is redirected to
the original page which has the link , which is what I want. But the
problem
I am validating using validator and working on Struts 1.1
-Original Message-
From: Axel Seinsche [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 7:24 PM
To: Struts Users Mailing List
Subject: Re: validation for optional fields
Kalra, Ashwani wrote:
>hi,
>how can I validate an
Kalra, Ashwani wrote:
hi,
how can I validate an optional field. ie validate only if there is some
value in it. For example. I want to validate a field which should of type
int.But it should be validated only if use has entered some value in it.
hi,
if you are validating in your form or action c
hi,
how can I validate an optional field. ie validate only if there is some
value in it. For example. I want to validate a field which should of type
int.But it should be validated only if use has entered some value in it.
Thanks & Regds
Ashwani Kalra
http://www.geocities.com/ashwani_kalra/
Mark Lowe wrote:
You'll want to look at the nightlies.
http://cvs.apache.org/builds/jakarta-struts/nightly/
Thanx, but I would like to use something more stable...
--
Illya Kysil, software developer
Delphi/C/C++/C#/Java/Forth/Assembler
---
It sounds like you would want to use a session-scoped form containing an
array of Strings representing the total set of the selections. Then
you would use to create the checkboxes on the form. As a
far as the paging/selecting by letter -- this is not too hard -- you
just need your Action to h
Ich werde ab 11.06.2004 nicht im Büro sein. Ich kehre zurück am
01.07.2004.
Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.
Während meiner Abwesendheit werde ich von Peter Eimann vertreten.
* * * * * * * * L E G A LD I S C L A I M E R * * * * * * * *
This e-mail is destined for th
You'll want to look at the nightlies.
http://cvs.apache.org/builds/jakarta-struts/nightly/
Mark
On 11 Jun 2004, at 14:08, Illya Kysil wrote:
Hi all,
Are there any Struts 1.2.x binaries downloads available?
http://jakarta.apache.org/site/binindex.cgi reports 1.1 is the latest.
--
Illya Kysil, soft
Title: RE: bean define tag
No. I am only using en_US.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 11, 2004 2:41 PM
To: [EMAIL PROTECTED]
Subject: RE: bean define tag
On 6/11/2004 5:08 AM, [EMAIL PROTECTED] wrote to CHRIS CRANFORD:
Is
Hi all,
Are there any Struts 1.2.x binaries downloads available?
http://jakarta.apache.org/site/binindex.cgi reports 1.1 is the latest.
--
Illya Kysil, software developer
Delphi/C/C++/C#/Java/Forth/Assembler
-
No trees were har
Thank you works fine.
Wolfgang
Paul McCulloch wrote:
I think should only have one element in a single html page. The
component pages you refer to should *not* be well formed html pages in their
own right. The complete page as rendered by tiles should be a well formed
html page with a single eleme
Václavík Radek wrote:
Hi Axel,
don't know if I understood your problem well, but i have such text in db and
when printing it in jsp using i use this parameter:
Hope this helps.
Hi Radek,
thanks your very much. As I used
Axel
-
I think should only have one element in a single html page. The
component pages you refer to should *not* be well formed html pages in their
own right. The complete page as rendered by tiles should be a well formed
html page with a single element.
I'd put each of your component pages (i.e. html
Hi Axel,
don't know if I understood your problem well, but i have such text in db and
when printing it in jsp using i use this parameter:
Hope this helps.
regards Radek
> -Original Message-
> From: Axel Seinsche [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 11, 2004 12:09 PM
> To:
Hi,
I have a webapp that uses tiles (-definitions). I allways get a single
background color
even if the component pages have different
or reference different css (giving other background: color=#yy).
Any suggestions?
Wolfgang
--
Could someone offer some input on the best way to handle the necessary form
logic described below?
I have a popup window and that looks similar to the following:
Search: [ ] [Find]
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z All
-
Thnx Andrew and Ravi.Ya my problem is solved.i can't place struts.jar in ext of jdk.so
to compile the bean files i have placed struts.jar in classpath and it is working.
Anjlai
Yahoo! India Matrimony: Find your partner online.
Hi all,
I have an application where the user should be allowed to use text
formatting tags as or (and so on). To avoid that tags like
oder (and so on) are used I check the for these tags
before it's stored in the DB.
When the text is read from the DB my tags are encoded to . How
can thi
I tried to use
1.
2.
Both are giving errors
For the second option i am getting the error "java.net.MalformedURLException:
Cannot retrive ActionForward named DBOMISRequestProcessor"
Andrew Hill wrote:
> The servlet container will try to encode this sessionId in a cookie if it
> can (sav
The syntax I forget (I dont use JSP for the view myself), so you will need
to look that up, but where you have links in your pages you would use the
tag to rewrite the url (or you could use to
render the entire link) so that it will include the jsessionid if necessary.
Take a look at the docs for
Did your problem got solved ?
[EMAIL PROTECTED]
06/11/2004 02:42 PM
Please respond to Struts Users Mailing List
To: Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:Re: Problem in running
It is not looking for struts.jar but it is looking for
Thanks Andrew for the response.
Should i just put in all my JSP or some attributed also needs to
be passed.
Where should i put this tag in the JSP.
Andrew Hill wrote:
> The servlet container will try to encode this sessionId in a cookie if it
> can (saving the need to rewrite links) so you may
The servlet container will try to encode this sessionId in a cookie if it
can (saving the need to rewrite links) so you may wish to check the browser
settings to see if cookies are enabled. (Its best to make sure you use the
html:rewrite tag (or equivelent) for your links though so that your app wi
Hi,
same thing i have experienced with IE 6.0, it will work with mozilla
Problem is that with each request session id is not passed.
You need to explicitly pass it as url parameter.
http://dbomis.com/anyLink;jsessionid=A0698B81A1F1AA2B1ECDA19B0ACFD6E2
Nikhil
Shailender Jain <[EMAIL PROTECTED]>
Hi,
I run into problems with chaining dispatchactions using the same
parameter 'method'. We do use the same parameter name for all our
dispatchaction for consistency reasons throughout the whole application,
easier to maintain and using generique javascript functions.
The problem we ran into is t
Just extend the struts request processor and
then you can over ride any method in the requestprocessor.
If you need to check something before every request
you can put the code in processPreProcess method of
request processor. ActionServlet calls this method just
before processing every request.
H
You can specify in the TAG which ResourceBudle(key= bundle) tag should
use.
Default is ApplicationResources.properties
satish ashok shukla wrote:
> Hi All,
>
> Can we have multiple ApplicationResources.properties files for a
> project?
>
> As of now I have a following entry in web.xml for an
> A
Hi All,
Can we have multiple ApplicationResources.properties files for a
project?
As of now I have a following entry in web.xml for an
ApplicationResources.properties file.
application
ApplicationResources
Thanks & Regards,
Viral
Use of struts.jar in the ext folder isnt supported. It should be in
WEB-INF/lib with each app having its own copy, otherwise bad things happen
with classloaders (as you noticed).
Why would it need to be in ext for you to compile your code? What IDE are
you using?
-Original Message-
From:
It is not looking for struts.jar but it is looking for :
commons-logging.jar which contains the class org/apache/commons/logging/LogFactory.
Pls keep common-logging.jar in the classpath. That should solve your
problem.
regds
r-a-v-i
gitanjali <[EMAIL PROTECTED]>
06/11/2004 02:32 PM
Please
I am using session object in my application to validate whether the user
is valid or not.
I am doing this in the processPreprocess() method of RequestProcessor.
But in I.E. 6.0 update version: SP1, the session object becomes null.
So once user click at any link in the application he gets logged ou
On 6/11/2004 5:08 AM, [EMAIL PROTECTED] wrote to CHRIS CRANFORD:
Is "hi" the language type, ie: en_US.[resource] is what gets shown on my
install when a message cannot be found in the appropriate
application.properties file for that language.
-> I am reading a value object property and holding
Hi All,
i m facing a problem in running any struts application in tomcat.to compile
the bean files i need struts.jar in ext folder of jdk but if i place struts.jar in ext
tomcat doesn't run any of my struts application.it gives error like this..
root cause
javax.servlet.Serv
I dont think it's a security issue...coz if it is, then weblogic should
have thrown some security related exception.
I too suspect it as a configuration problem.
regds
r-a-v-i
[EMAIL PROTECTED]
06/11/2004 03:19 AM
Please respond to Struts Users Mailing List
To: [EMAIL PROTECTE
Thanks Shailendar !
Shailender Jain <[EMAIL PROTECTED]>
06/11/2004 02:11 PM
Please respond to Struts Users Mailing List
To: Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject:Re: Want to do some business logic before the action class of
struts is
Ich werde ab 11.06.2004 nicht im Büro sein. Ich kehre zurück am
01.07.2004.
Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.
Während meiner Abwesendheit werde ich von Peter Eimann vertreten.
* * * * * * * * L E G A LD I S C L A I M E R * * * * * * * *
This e-mail is destined for th
Have you tried processPreprocess() method of RequestProcessor.
This method will be executed for each request and will be before action class
gets executed
[EMAIL PROTECTED] wrote:
> Dear Strusts users,
>
> I have a typical requirement where i need to do some business
> logic before any ac
The other alternative would be in the RequestProcessor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, 11 June 2004 16:36
To: [EMAIL PROTECTED]
Subject: RE: Want to do some business logic before the action class of
str uts is invoked. How ?
Have you loo
Have you looked at filters?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 11 June 2004 09:33
To: [EMAIL PROTECTED]
Subject: Want to do some business logic before the action class of struts is
invoked. How ?
Dear Strusts users,
I have a typical requi
Dear Strusts users,
I have a typical requirement where i need to do some business
logic before any action class gets executed. Where should I write the code
for this ? Pls suggest.
regds
r-a-v-i
Hi,
I am reading a value object property and holding in a script
variable defined using bean:define tag.
This property “time” actually contains a key to
the resource bundle, so passing it to bean:message tag, so it can fetch
corresponding key from resource bundle.
80 matches
Mail list logo