link.
Any thoughts.
Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi All
Thank you very much. Sure i will go to the Html tutorials. Actually i dint
see the previous mails of this thread. I just started my morning. Anyways,
thanks to all of you.
--Mohan
> Mohan, please go to and read:
> http://www.w3schools.com/html/html_frames.asp
>
> Colm
>
Hi James
Can u tell me how can acheive this. I have never developed stuff in HTML
or ASP. Suppose the link is www.xyz.com/abc/dba.asp, how do we read this
stuff into a frame. Please let me know.
--Mohan
> This has nothing to do with ASP or JSP specifically. You simply want to
> use one fr
know
if i can do this.
Thanks
--Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
for CMA login page that I have configured but the following url
directly hits the action
http://localhost:/emis/taskmanagement/taskCreation.do?actionType=prepopu
lateTaskInfo
What could be the problem ?
Mohan
-
To
So if I input a value that is not a integer in this particular field I
should see a message specified by
Thanks
Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
lies to is
'String'. Is that a problem ?
Mohan
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 3:20 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Numeric validator
Your can either display all errors:
or e
file.
error.wind.check=Wind speed is a number
in my JSP
Do I have to use
Help is appreciated.
Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
Hi Daniel...
what i had done in my application was create the childform's actionform
instance in the action class...run the query...populate the bean and then
put it as a request attribute to prevent the RequestProcessor from creating
a new form bean object.
Hope this will work for ur app to
answer,
U cant nest tags!
either use html-el for getting the value or use scriptlets
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 20, 2004 4:35 PM
Subject: html:text question
> Question,
> how can i add the test value to the html:t
u cant nest tags like this
try this:
<% String onClickString = "location.href" + myString; %>
another way u can do this is by using html_rt tags:
i am not sure abt the second one especially the quotes...u can give it try
- Original Message -
From: "Sniadach, Tomasz" <[EMAIL PRO
Hi there,
In the jsp get the thing as :
request.getParameter(Konstanten.ADRESSEN_RESULT_START_INDEX_KEY)
this shud workor u can use jstl
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 12, 2004 3:37 PM
Subject: what is wrong with this code
putting an attribute in my request ... the
Hi
The following should work. The hidden variable is needed if you want to
send it back to the proper indexed property when you submit.
Mohan
-Original Message-
From: Patrick Cheng [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 11:57 AM
To: Struts Users Mailing
e ( We are using session ) ?? I know that this is
necessary for session replication across clusters.
Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi everyone,
I need to access the ActionForm properties inside the JSP code for the same
window. Is there any way to do this?
Regarding this I have some doubts about the life cycle of ActionForms
1. When exactly is the ActionForm object instantiated? Is the ActionForm object
instantia
Hi guys
I have been having a question. I do not understand what is the controller
servlet in the struts framewrok. Is it the Action classes or
struts-config.xml that is the controller servlet for struts framework.
Please let me know
Thanx
--Mohan
sing different quote characters to
define the nested string ie.
>
> style='<%=pageContext.findAttribute("styleVar").toString()%>'
>
> S.
>
> > -Original Message-
> > From: Rahul Mohan [mailto:[EMAIL PROTECTED]
> > Sent: 04 Fe
.toString()%>"
inside the tag it wont work!!!
Can anybody tell me why it is so?? I am stumped!
thank you all...
rahul
- Original Message -
From: "Max Cooper" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Rahul
Mohan&qu
Hi...I am facing some problems with using JSTL tags inside struts tags.
This is the piece of code I wrote for my application:
"
/>
the problem is that it is getting traslated to
in the final html page!!
can anybody please tell me why the tag is not getting translated to
;
}
public String[] getSelectedDeletereqs() {
return this.selectedDeletereqs;
}
public void setSelectedDeletereqs(String[] selectedDeletereqs) {
this.selectedDeletereqs= selectedDeletereqs;
}
Mohan
-Original Message-
From: Ramachandran [mailto:[EMAIL
Hi
I am using nested beans. What is the equivalent using nested beans
for the following ?
"OBJECTIVE" is in the session scope.
I tried several options but none worked.
Mohan
-
To u
Hi
I am using modules . Can I have the following in my respective struts
config files ? It seems that something is overwritten and I don't see errors
properly.
Thanks
Mohan
-
To unsubscribe, e
I am using modules and I have two such declarations, one for each module.
Both modules have the same problem.
Mohan
-Original Message-
From: Joe Hertz [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 24, 2004 4:43 PM
To: [EMAIL PROTECTED]
Subject: RE: Validator
I see this.
???en_US.errors.required??? ???en_US.errors.required???
???en_US.errors.required??? ???en_US.errors.required???
I matched bean:message with the JSP and the resource properties and
validator.xml. They are all the same.
Mohan
-Original Message-
From: Joe Hertz [mailto:[EMAIL
Yes. That is what I am assuming.
I tried too
The other methods are blocked. I can see that. The messages are not
appearing though.
Mohan
-Original Message-
From: Joe Hertz [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 24, 2004 1:20 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED
Unintentional Wrong subject again.
Mohan
-Original Message-
From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 24, 2004 12:23 PM
To: 'Struts Users Mailing List'
Subject: RE: generating tables in Struts
Hi
Is there any way to find out what
working.
5. I have in the JSP.
My error messages never appear if I call any method other than those
mentioned in the validate method.
What could be the problem ?
Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
doing this
to avoid changing
code written by somebody.
Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
I read the following spec. This means that in a clustered environment the
application scope
is useless. I can't really believe this. Why do we have this scope then ?
Mohan
The Server Specification states the following:
"javax.servlet
Interface Serv
!= null ){
System.out.println( "The action mapping is " +
mapping.getName().toString() );
}
ActionForward forward = super.processActionPerform(
request,response,action,form, mapping);
returns null. I was planning to do something based on which mapping it is.
Help a
HI
A follow-up question.
How does this impact my Tile request processor ?
SEVERE: TilesPlugin : Specified RequestProcessor not compatible with
TilesReques
tProcessor
Mohan
-Original Message-
From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 4:45 PM
-rulemaking.xml
: XML-0148: (Error) Invalid element 'controller' in content of
'struts-config',
expected elements '[message-resources, plug-in]'.
Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Apology for the wrong subject
Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
( "addRule")
||
getOperation().equals( "showRuleDetail") || getOperation().equals( "init")){
return new ActionErrors();
}
return super.validate( mapping, request );
URL.
Let me know if any one has any inputs.
--Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I meant that in your web.xml you should include something like this.
RuleMakingResources.properties is the .properties file
javax.servlet.jsp.jstl.fmt.localizationContext
com.jea.emis.rulemaking.presentation.RuleMakingResources
Mohan
-Original Message-
From: Mohan Radhakrishnan
Zsolt,
I have some idea about this though I haven't tried it. I think this is
the basic idea.
Use JSTL fmt tag
javax.servlet.jsp.jstl.fmt.localizationContext
com.jea.emis.rulemaking.presentation.RuleMakingResources
Mohan
-Original Message-
From: Zsolt [mailto:[
Raman,
What's wrong with this ?
Shouldn't this pick up the property from the ActionForm and generate
value="x" for example.
Is yours dynamic ?
Mohan
-Original Message-
From: Raman [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 17, 2004 12:43 PM
To: Strut
Hi,
What if it is not a 'submit' ?
Mine is like this
Thanks
Mohan
-Original Message-
From: Hunt, Steve [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 2:05 PM
To: 'Struts Users Mailing List'
Subject: RE: Disable validator framework
Mohan,
If you use the
dator.
Appreciate ideas.
Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I just use ActionErrors for everything but I am guessing that it is
html:errors for errors
and html:messages for messages.
Mohan
-Original Message-
From: Otávio Augusto [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 11:17 AM
To: [EMAIL PROTECTED]
Subject: messages
I'm
I remember that this is done to use custom properties in your action mapping
in the struts-config.xml file.
You can access them in your action.
Mohan
-Original Message-
From: deepak saini [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 6:08 PM
To
We use base forms too but we use sub-forms in both action mappings. It works
for us if we use sub-forms with action chaining like this.
Our action chains are very minimal though because it is not recommended
design practice.
Mohan
-Original Message-
From: [EMAIL PROTECTED] [mailto
o extend the
>RequestProcessor and over-ride the processRoles() method.
You can read the tomcat JDBC/Realm doc. in the apache site. It is similar
for other
containers.
http://kb.atlassian.com/content/tutorials/jollem/orion-security-primer/ is
another good site explaining OC4J roles.
Mohan
--
nested tag. I've used nested beans for multiple
levels of nesting. It is so cool.
Mohan
-Original Message-
From: Eric Chow [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 30, 2003 8:25 AM
To: Struts Users Mailing List
Subject: array property in ActionForm ???
config.xml and
restrict access actions. Tiles has a role attribute too ? though we are not
using that.
Mohan
-Original Message-
From: Patrick Scheuerer [mailto:[EMAIL PROTECTED]
Sent: Monday, December 29, 2003 5:07 AM
To: Struts Users List
Subject: Design question regarding struts securit
Just extend it and call super.init()
action
com.cellx.lucid.servlet.IntranetServlet
Nothing special that I know of.
Mohan
-Original Message-
From: Sudhakar G [mailto:[EMAIL PROTECTED]
Sent: Monday, December 22, 2003 4:46 PM
To: [EMAIL PROTECTED]
Subject: sub classing
This might be the wrapper you are looking for
protected MessageResources getMessageResources(){
return MessageResources.getMessageResources("ApplicationResources");
}
//getMessageResources().getMessage( "key" );
The API has lot of ot
CMA will popup your login page when a secure URL is accessed.
Mohan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 24, 2003 6:58 PM
To: [EMAIL PROTECTED]
Subject: security of html pages & max file size property
Hi all,
I have two quest
,
/WEB-INF/struts-config-training.xml,
/WEB-INF/struts-config-employeedetails.xml
Or else the following method posted by Craig.
]>
&part1;
&part2;
&part3;
Seems this is not supported by many containers yet(J2EE 1.4). You could use
a filter to check for session expiry but what if it expires after it passes
the filter. Then each JSP should have a check in the beginning.
Mohan
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of
with Struts
> Well, what class can't it find, the Logger or the LogonAction.class ?
>
> I use it with Struts, without a hassle, on WebLogic 7.2.
>
> Nick
>
> -Original Message-
> From: Rahul Mohan [mailto:[EMAIL PROTECTED]
> Sent: Friday, 5 December 2003 5:4
= Logger.getLogger(str); //this line is throwing the exception -
apparently str is not having a classdef
somebody please help me with this.or is there any other method to perform logging?
i am using tomcat4.1 ...
Thanks in advance.
Rahul Mohan
~~~
MasterCraft
>> org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
>>
>>
>>
>> I am thinkng the tag should take the Map as Map.Entry
>> and
>> hence i have used the proper
pCourse too that take parameter as
key and Key and Value respectively that set this Map.
Please let me know
--Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi All,
I have a loop this way
I am iterating thro a list called getAppCourses. Suppose i change these
values will the list also get updated with changed objects, given that
there are setters/getters for all the properties
Thanx
Mohan
Hi
Can I use logic:iterate and indexed properties with display tag sorting ?
Thanks,
Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You should have a property in your form bean where the user selection will
go. In this case the property is "name"
Mohan
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 30, 2003 11:18 AM
To: [EMAIL PROTECTED]
Subject: How Do I C
bute( user );
is what is recommended to enable HttpSession replication in a clustered
environment.
Don't we have to do the same thing when we prepopulate ActionForms ? Set
them back into the session in a clustered environment.
Mohan
-
Hi,
We need to show a set of buttons at the bottom of a form activated or
deactivated according to the role of the login user. Now the html:form
closes after the set of buttons in the page. How are parts of the same page
composed like this ?
Help appreciated.
Mohan
Hi All
Is there a way i can use pass the variable values from a page into a
property in the same page
like
The idea is to set/get the value at the count index.
Thanx
--Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Thank you Gus. I apologize to the list if i have annoyed anyone cuz thats
not my intention to. Anyways i will look into these norms and act
accordingly. Once again sorry list for the URGENT stuff
--Mohan
> I noticed you got a poor response with your recent post on struts-user.
>
Hi
I dont want to start a new thread, but the question has changed and if u
cant help just stay away. You dont have right to ruin my day and atleast i
am asking questions related to struts.You could have said this in a better
way.
--Mohan
> Do you really think shouting URGENT and repeate
Hi All
I have tried this
testScoresVector is a vector stored as a session Attribute as
request.getSession().setAttribute("testScoresVector", testScoresVector)
Please let me know what the problem is.
Now it says cannot create iterator for this collection
Hi All
I have tried this
testScoresVector is a vector stored as a session Attribute as
request.getSession().setAttribute("testScoresVector", testScoresVector)
Please let me know what the problem is
--Mohan
> Hi Guys
> The reason i am using the logic:iterate is not to populate
Hi Guys
The reason i am using the logic:iterate is not to populate the select box
but to create the select box for the number times the length of the
testScoresVector and store the option selected in the select box in each
of the testScoresVector element.
--Mohan
> Hi All
> I have a Vector
error saying :No getter method available for property
tsv.testName for bean under name org.apache.struts.taglib.html.BEAN
I think the "tsv" holds a TestScoresVector object for each iteration. Am i
right or not. Please let me know
Thank yo
n addr
else
return new Address()
}
This is the reason why i need to access the session Attribute
--Thank you
Mohan
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> When the user logons to the system, it takes him to a form.
>> Based on the logon values, if the user
user logon info in my ActionForm so that i can write the getters
and setters in the ActionForm accordingly
--Thanks
Mohan
just create a hidden control on the form and assign the value to the
> session variable.
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE
Hi All is there a way i can pass a request in an ActionForm. I need to get
a session attribute thro the request and write the getters in ActionForm
according to the values in the session.Please let me know
Thanks
--Mohan
setter for this method to be recognized as a
bean or something?
--Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
e when the user choses
a country the "country_code" has to be inserted into the "address" table.
Please let me know how to do it if anyone has done it.
--Thank you
Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ory is common to application app1 and app2.
> In my java code i want to use the ApplicationResources.properties for
> each app and produce generic code.
>
> Thank you
> --Mohan
>
>
>
>
>> Put the file where you want it and have ant copy the file to the
>> proper
also
project/web/app2/WEB-INF/struts-config.xml,web.xml.,classes/ApplicationResource.properties
the java code in src directory is common to application app1 and app2.
In my java code i want to use the ApplicationResources.properties for each
app and produce generic code.
Thank you
--Mohan
ApplicationResources.properties file and its properties from my Action
class. I do not want that to be under my src/java directory. Let me know
Thanks
--Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi Kris,
Your method works fine for me. Brice thank you very muchfor helping me
out. Kris's method works fine for me.
Thank you guys
--Mohan
your method works
> Why not just forget about ?
>
> charset="A-Z ! @ # \\ \- + ? & $"/>
> name=&qu
e variable is named "rand" - so you'd use ${rand}.
>
> Or, don't use that syntax at all and use the
>
>
>
> syntax. Where you don't need to explicitly store the random string in a
> separate variable.
>
> [EMAIL PROTECTED] wrote:
>
>>H
Hi
I meant should i say "${var}" or "${rand}".
--mohan
> within the struts tags that support EL, you need to use the ${...}
> syntax. To my knowledge, the only (standard) tags that use "$var" are
> the JSTL xml tags. Make sure that you are using the struts
used it before.
--Thank you
Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
g to
create a random string and put it into the database associated with the
user.
--Mohan
>
> Whatever your fancy is :) But, no - you can't do it as you propose, to
> my knowledge.
>
> [EMAIL PROTECTED] wrote:
>
>>Hi All
>>I would like to use
>>
>>
Hi All
I would like to use
as the value for a tag and store it as property security.
How can i do that?
can i do this
--mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Thank you Wendy thats about what i was thinking.
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> We send him a http://blah.org/resetpwd.jsp?xdksdfksdfsdf URL with the
>> key attached to the URL. The key expires in 24 hours. The
>> user checks on this link in his email. We need to verify i
on this link in his email. We need to verify if the key is still valid and
then allow him to change the password. I am not sure how to generate these
random keys. Also let me know if there is an efficient way to check the
time stamps for these keys.
Thank you very much
--Mohan
gt;>
>>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, October 22, 2003 12:58 PM
>> To: [EMAIL PROTECTED]
>> Subject: accessing static html from struts-config.xml
>>
>
e i have stored
> the static content of the website.
> I do not understand how to write this forward in my struts-config.xml
> does not do anything or
> can i specify a URI to access the resource.
>
> Thanx
> --Mohan
>
>
>
>
in my struts-config.xml
does not do anything or
can i specify a URI to access the resource.
Thanx
--Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thank you David thats some relief i will search in the list archives.
--Mohan
> Mohan,
>
> You should search the list archives. I posted an out of memory tomcat
> 4.1.24 & 4.1.27 issue a while ago. It was related to application
> reloading (not Tomcat stopping/restarting).
Hi all
I am struts and Tomcat4.1.27. I cant quite understand what is the reason
but i sometimes get the java out of memory error whenever i compile my
project. But the error is gone when i restart tomcat. Please let me know
if anyone had this problem.
Thanks
--Mohan
Purchase Order Number
and in the validation.xml i am doing this
The validator does not check if the field has been chosen or not. Please
let me know if any one knows about this problem
Thanxs
--Mohan
Because i was already using mod_jk2 , the best to configure was to change
it to add the Context in the server.xml with the desired URL. This is cool
isnt itMailing List are great
thanx to u all
--Mohan
> If you have developed your application in "struts friendly" way, this
&
chitecture now or
should i be able to do it easily. I have tried to create a directory under
/var/tomcat4/webapps/ as japps/xyz and pointed my ".war" file to this
directory. But tomcat is not able to map this URL at all. Please help me
find a solution to this problem.
Thanx
ght also use the logic:equal tag instead of scriptlets.
Mohan
-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 8:06 PM
To: Struts Users Mailing List
Subject: Re: assigning a value back to a bean in a logic:iterate?
I am basically trying t
This code defines a scripting variable but I think that since you don't have
any html controls this value is not automatically sent with the request.
In our JSP's where we don't have html controls we use the following code.
Mohan
-Original Me
Hi All
I am using Redhat8.0 and struts. I would like use eclipse 2.1 for that
purpose. Does any one know if there is a way i can get it thro
apt-get.Please let me know
Thank you
--Mohan
-
To unsubscribe, e-mail: [EMAIL
beans like this are useful because they can be manipulated
quite well with the tag handlers.
Mohan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, September 08, 2003 7:15 PM
To: [EMAIL PROTECTED]
Subject: simple question
Hi all,
I think I have a
Hi
I am just trying to learn about the Plug-in API.
When exactly is this useful ? How would it be helpful if I want to
plug-in a custom-user authentication facility instead of using the
vendorspecific XML file ( JDBC realm in tomcat for example ).
Mohan
l 2.1
Detail 2.1
How do you implement this ? We can continue to user Collections within
Collections. Is there any other way of doing this ?
Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
I will drop the matter now :-) All I wanted to know was what kind of
framework Struts is. During one of the presentations I was asked to define
frameworks and class libraries.
Have been bitten by the design bug lately.
Mohan
-Original Message-
From: Mainguy, Mike [mailto:[EMAIL
Hi
This is a general question to understand Struts better. Is Struts a
black-box or a gray-box framework ?
Mohan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
1 - 100 of 303 matches
Mail list logo