AW: html:javascript question

2004-03-24 Thread Andreas Solarik
nice one, didn't even occur to me to do this.

Andreas

-Ursprüngliche Nachricht-
Von: Janarthan Sathiamurthy [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 24. März 2004 16:05
An: Struts Users Mailing List
Betreff: RE: html:javascript question


var myMessage = "";
alert(myMessage)

-Original Message-
From: Daniel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 6:23 PM
To: Struts Users Mailing List
Subject: html:javascript question


I want to put the msg inside a javasript alert (popup with error message
),some one know how can I make it ???












-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

AW: html:javascript question

2004-03-24 Thread Andreas Solarik
Well, I believe that you are not allowed to mix static and dynamic text
within a JSP, so something like

alert("Error message: ");

should fail. I read once that enclosing the dynamic text in single quotes
whould work (never tried it though). One solution that I do know is:


<%
  String tempString="Error message: " + whateverBean.getWhatever();
%>

alert(<%= tempString %>);


Its ugly, but it works. Anyone know of a more elegant solution? Note that
you need to get to the data contained in the bean you are writing from,
possibly with a request.getAtribute("attributeName");

Good luck,

Andreas


-Ursprüngliche Nachricht-
Von: Daniel [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 24. März 2004 13:53
An: Struts Users Mailing List
Betreff: html:javascript question


I want to put the msg inside a javasript alert (popup with error
message ),some one know how can I make it ???













-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Re[2]: "are you sure?"

2004-03-23 Thread Andreas Solarik
Wow, I'm confused. If javascript was disabled, the onSubmit trigger was
ignored, but the button onClick trigger was honored? I'll have to try that
out.

Andreas

-Ursprungliche Nachricht-
Von: Dmitrii CRETU [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 23. Marz 2004 11:09
An: Struts Users Mailing List
Betreff: Re[2]: "are you sure?"


we tried to use this (form.onsumbit="return f()") but encountered a problem:
if JavaScript is disabled in browser the submiting goes on without
confirmation dialogue and other stuff done by JS (wich in our case was
more important).

We solved this by setting input.type="button" instead of "submit" and
submitting the form from JacaScript. But this caused another problem
(though less important): now user can not submit form pressing "Enter"
being at text input, he must click the button.


Dima.


Tuesday, March 23, 2004, 11:43:54 AM, you wrote:

JS> Try with this -
JS>name="dateForm"
JS>   type="nl.rinke.DateForm"
JS>   onsubmit="return areyousure()" >

JS> Should work

JS> -Original Message-
JS> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
JS> Sent: Tuesday, March 23, 2004 3:10 PM
JS> To: [EMAIL PROTECTED]
JS> Subject: "are you sure?"


JS> Hi list,

JS> Still a struts newbie, I try to write an "are you sure" javascript
JS> confirmation box for my submit button.

JS> The question is: how can I prevent the form from being submitted
JS> when the user clicks "no"?

JS> In the Jsp, I put the following code in the head:

JS> 
JS>function areyousure(){
JS>   var agree = false;
JS>   agree = confirm("are you sure?");
JS>   if(agree){
JS>  ... some code which is not important
JS>   }
JS>   return agree;
JS>}
JS> 


JS> And the form tag looks like this:

JS>name="dateForm"
JS>   type="nl.rinke.DateForm"
JS>   onsubmit="areyousure()" >


JS> Whatever the user clicks, yes or no, the form
JS> gets submitted. I want to stop submitting the
JS> form when the user click "no".

JS> thanks, Rinke


JS> -
JS> To unsubscribe, e-mail: [EMAIL PROTECTED]
JS> For additional commands, e-mail: [EMAIL PROTECTED]


JS> -
JS> To unsubscribe, e-mail: [EMAIL PROTECTED]
JS> For additional commands, e-mail: [EMAIL PROTECTED]



--
Best regards,
 Dmitriimailto:[EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Single Checkbox Required

2004-03-18 Thread Andreas Solarik
hi sam

first off, javascript is not really fun, but here goes.

your form should have the same name as the formbean you associate with it.
you can check this in the html code generated from your jsp. the html:form
tag does not supply an attribute for setting/overriding the name of the form
(correct me if i'm wrong).

furthermore, if you don't want to use the document.forms[...] syntax, you
can use things like document.getElementsByName, document.getElementById etc.
You could even get all elements in the document, filter out the checkboxes
and modify/check attributes like that. you can find a nice explanation of
document.forms[] vs. document.getElementsByName when you google for
"selfhtml"

just make sure that you are working with a browser that gives you nice error
messages while debugging your javascript -> like mozilla.

andreas

-Ursprungliche Nachricht-
Von: as as [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 17. Marz 2004 19:27
An: Struts Users Mailing List
Betreff: RE: Single Checkbox Required


Hi,

Interesting...
"yourForm- where do we mention this in the struts's  tag

Thanks!
Sam
(I had similar error where my form on submission would say ".length " is
null...was probably not able to invoke checkbox.length on the form already
as struts form is generated only after hitting the server but we may need
javascript validation much before that-on client side...
please...correct me if i am wrong.

Thanks


my code snipet below:








..

...



">



...

...


AW: Cannot initialize RequestProcessor

2004-03-17 Thread Andreas Solarik
Hi Uma,

Did you reference the RequestProcessor with its fully qualified class name
in struts-config? I guess you must have, otherwise you wouldn't have gotten
that great error msg. Anyway, it might look something like


  
  


This usually works for me.

Second thought. We had a small problem when trying to use a SessionListener
with suns web-app_2_2.dtd. We needed to use the 2_3 dtd. Are you using the
correct dtd for struts-config.xml?

Well, good luck

Andreas

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 17. März 2004 13:20
An: [EMAIL PROTECTED]
Betreff: Cannot initialize RequestProcessor


Hello All,

We have written a class RFFRequestProcessor which will extends
org.apache.struts.action.RequestProcessor. This is being used to validate
the values in request headers before control enters into execute() method of
action classes. When the application initialized struts not able to locate
RFFRequestProcessor class. We are getting the below exception.

ERROR (2004-03-15 10:30:42,329) [  org.apache.struts.action.ActionServlet] -
javax.servlet.UnavailableException: Cannot initialize RequestProcessor of
class
com.links.servlet.RFFRequestProcessor: java.lang.ClassNotFoundException:
com.links.servlet.RFFRequestProcessor

"RFFRequestProcessor" located in "WEB-INF/classes/com/links/servlet"
directory. All the struts related jars are in WEB-INF/lib folder. Struts
version 1.1.

Any help or direction to resolve this problem is highly appreciated.

regards
Uma Mahesh


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: non-ascii characters

2004-03-16 Thread Andreas Solarik
Yo Dan,

I'm sure you meant RTM?

Andreas

-Ursprungliche Nachricht-
Von: Daniel Lipofsky [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 17. Marz 2004 03:22
An: Struts Users Mailing List
Betreff: RE: non-ascii characters


> I have a database with ISO 3166 country
> names and codes that I use to populate an html:select. There 
> is one country in the list that contains a non-ascii 
> character and I want to make sure it shows up properly. That 
> country is listed in HTML as ÅLAND ISLANDS
> 
> I have two questions regarding this non-ascii:
> 1) How should I encode it in my (mysql)
> database? Right now I put it in with the character reference 
> as written above.
> 
> 2) Assuming I leave it the way it is in
> the database as stated in 1) above, how
> do I get the html tag machinery to not
> attempt to escape the ampersand? This
> is the code I am using:
> 
> 
> 
>property="value" labelProperty="label"/> 

RTFM.
You want filter="false".

Also if you are using struts 1.1 you can use
html:optionsCollection instead of
html:options.  You will find it much nicer.
Specifically you will not have to declare you
value and label.  In either case you will want
filter="false".

- Dan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

AW: server side date validation

2004-03-16 Thread Andreas Solarik
I guess if one really, really wanted to, one could perform the validation in
java using something along the lines of the SimpleDateFormat class. Though I
do see the advantage of letting the validator handle the chore for you.

Andreas

-Ursprüngliche Nachricht-
Von: Anderson, James H [IT] [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 15. März 2004 22:26
An: Struts Users Mailing List
Betreff: RE: server side date validation





  

  
  
datePatternStrict
MM/dd/
  

 ...
 
   

-Original Message-
From: Jignesh Patel [mailto:[EMAIL PROTECTED]
Sent: Monday, March 15, 2004 2:04 PM
To: Struts Users Mailing List
Subject: server side date validation


Can anybody give me example code to validate date towards server side?


-Jignesh

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

AW: [OT] Jericho == Struts 2.0?

2004-03-15 Thread Andreas Solarik
Yeah, you're right, its just a name. Something similar can be said for the
following slogans:

1. Electrolux (vacume cleaners / hoovers) tried to enter the American market
with the ingenious slogan "Nothing sucks like an Electrolux" (I'm so not
kidding)
2. Chevrolet tried selling Chevy Nova's in Mexico

Like you said, its just words...

Andreas :)

-Ursprungliche Nachricht-
Von: Joe Germuska [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 15. Marz 2004 15:21
An: Struts Users Mailing List
Betreff: RE: [OT] Jericho == Struts 2.0?


At 11:33 AM +0100 3/15/04, Jesse Alexander (KAID 11) wrote:
>+ 1
>
>Struts 2 or Struts v2 say what it is: a new major version of struts.
>
>Struts2 or Struts2EE imply: "It is not Struts. It may be based on
>Struts, or is something similar."
>
>Jericho, or whatever other name choosen, just say nothing at all...

merlin, tiger, longhorn, whidbey, panther, jaguar...

folks, "Jericho" is just a name.  When the thing actually gets
released, it will be Struts 2.0.

Joe


--
Joe Germuska
[EMAIL PROTECTED]
http://blog.germuska.com
   "Imagine if every Thursday your shoes exploded if you tied them
the usual way.  This happens to us all the time with computers, and
nobody thinks of complaining."
 -- Jef Raskin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: SV: Form Validation

2004-03-15 Thread Andreas Solarik
Hi guys!

Just something I believe to be true:

Aren't most systems compromised by incorrect configuration? I believe the
second most common weakness must be the postponement of patches to buggy
software -> see for example the whole alphabet of worms working their way
through IIS and Outlook Express... The problems have been addressed and
resolved by Microsoft, but many people fail to update their software.

Having an intruder launch a brute-force attack will only happen *if* you
keep your system current and locked down.

And Cristoph, I agree with you. I didn't doublecheck the numbers, but a
brute force attack only gains meaningfull information by knowing the *max*
string length, and by knowing of characters that are excluded from the
mystery string. And assuming that one authentication attempt takes 3
seconds, the average guessing time for the 4 letter password is roughly a
week...
And the solution space for the function increases exponentially with
increasing string lengths...

So, assuming that your passwords are not contained in a 'dictionary', and
assuming that your system is current, you have little to fear. You do check
your logs occasionally, right?

Andreas

-Ursprungliche Nachricht-
Von: Christoph Kutzinski [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 15. Marz 2004 14:48
An: Struts Users Mailing List
Betreff: Re: SV: Form Validation


Max Cooper wrote:

> If the hacker thinks that 7 character passwords may be allowed, they might
> waste a considerable amount of time trying all 1-to-7 character
> combinations. If you tell them the minimum is 8 chars, they can save a lot
> of time by not trying those shorter passwords.

I still can't see that the point here.
If we have say only 26 characters and a minimum password length of 4
characters:

You have 26^4 variations for 4-char passwords = 456976
The cracker would just save
26 + 26^2 + 26^3 = 18278 variations if he knows that the min length is
4. That is nothing in comparison to the variations for 4 character alone.

If we have more characters, the differences are even bigger.

> Also, if the minimum length is really long (>8 chars), the hacker might
> guess that most people will use a password of that minimum length, and
might
> start trying words that are that length since people would be likely to
> choose something like that to meet the length requirement while still
being
> memorable.
>
> However, if your app allows people to register online, the hacker can
> probably find out the minimum password length anyway, so validating for
min
> password length on the login page for that kind of app would have little
> (i.e. hacker is not smart enough to try to register first to find out the
> minimum password length from the registration form) to no security
> consequences.

Agreed.


Christoph

>
> -Max
>
> - Original Message -
> From: "Christoph Kutzinski" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Monday, March 15, 2004 5:06 AM
> Subject: Re: SV: Form Validation
>
>
>
>>Joe Hertz wrote:
>>
>>
>>>Check the Bugzilla. I believe it works in the  tag, but you
>>>won't get a javascript popup.
>>>
>>>If memory serves, there's a security concern about using minlength in
>>>password fields -- basically the logic goes something like, "Do you
>
> really
>
>>>want to be providing a front end validation that tells a cracker how
>
> long his
>
>>>randomly guessed password attempts must be".
>>
>>What should be the problem with this?
>>You are only telling him, how long they must be AT LEAST. Nothing about
>>how long the can be at most.
>>If you would say, it can be dangerous to expose the maxlength of the
>>password to the user then I could understand it. Though lots of sites do
>>exactely this in reality, so it cannot be such a big security danger.
>>
>>greets,
>>Christoph
>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: help in java script

2004-03-15 Thread Andreas Solarik
Hi Andrew and Shobhana,

As far as I know, you cant mix static text and dynamic text within a JSP. If
I remember correctly, something like the following code should work.

<%
  String tempString="javascript:find(" + value + "\";"; // Not sure about
the semicolon...
%>

and then:



I'll make sure to try the single quotes (') around the dynamic text some
time, cause it's really annoying to use the method im describing here.


Regards, Andreas

-Ursprüngliche Nachricht-
Von: Andrew Hill [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 15. M?rz 2004 10:30
An: Struts Users Mailing List
Betreff: RE: help in java script


Should not that be:



(note the ' around value)

-Original Message-
From: Shobhana.S, ASDC Chennai [mailto:[EMAIL PROTECTED]
Sent: Monday, 15 March 2004 17:27
To: Struts Users Mailing List
Subject: help in java script


Hi !

I'm getting a problem when i use java script in my struts application.

My code runs as follows:


funtion change(value)
 {
 alert(value);
}



...
,,,
<% String value="hello";%>


the problem is the onchange event is not being called.

when i don't pass a scriplet variable the event gets called..say
onchange="javascript:find('hello'); it gets callled..

could anyone suggest me how to pass a dynamic value to javascript function
in struts?

Thank you.

Shobhana



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: AW: bean:message format ssn

2004-03-11 Thread Andreas Solarik
Ah, I guess I misunderstood your previous post. Maybe this will help you
along?


Use the formatKey attribute if you want to pull it from message resources.
Have
a look at java.text.DecimalFormat for an explanation of formatting patterns
for
decimal numbers.


The above code came from http://www.junlu.com/msg/45833.html. I didn't even
know that this was possible. Lets see if I need it some day!


Andreas

-Ursprungliche Nachricht-
Von: Kumar M [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 11. Marz 2004 17:30
An: Struts Users Mailing List
Betreff: Re: AW: bean:message format ssn



Thanks for your replies.

There seems to be a way to format using . If you look at
the following article from Ted Husted:

http://www.jguru.com/faq/view.jsp?EID=915891

 From the article:

"ordering.authorized.range.staff=Staff is only authorized to requisition
supplies that cost less than ${0,number} USD"

would convert argument 0 to the number format. Isn't that nice!

I was wondering if there is anyway we could extend this for things like
ssn. I am looking at the MessageFormat class and all but was wondering
if some one has come across this already.

Thanks!


[EMAIL PROTECTED] wrote:

>Hi Kumar,
>
>when you look at the documentation for bean:write
>(http://jakarta.apache.org/struts/userGuide/struts-bean.html#write) you can
>find that it allows formating. Bean:message looks like it does not support
>this feature - which kind of makes sense when you consider what its used
for
>(lookup of strings in the resources -> supporting parameterized
>replacement).
>
>The format of the format string is something like
>
>
>  -  
>  -   <%= pageContext.getAttribute("test7.value") %>
>  -[#,000.00] format="#,000.00"/>
>  -[] name="test7.value"
>formatKey="format.pattern"/>
>  -  
>
>
>The preceeding code came from
>http://www.mail-archive.com/[EMAIL PROTECTED]/msg20743.html
>
>Andreas
>
>-Ursprungliche Nachricht-
>Von: Kumar M [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 11. Marz 2004 16:45
>An: Struts Users Mailing List
>Betreff: bean:message format ssn
>
>
>
>Hi all,
>
>I am wondering if there is an easy way to format the ssnn. What I have
>is a String '123456789' but the users would like to see '123-45-6789'.
>Is there an easy way of doing this using bean:write or bean:message or
>any other tag?
>
>Thanks!!
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: bean:message format ssn

2004-03-11 Thread Andreas Solarik
Hi Kumar,

when you look at the documentation for bean:write
(http://jakarta.apache.org/struts/userGuide/struts-bean.html#write) you can
find that it allows formating. Bean:message looks like it does not support
this feature - which kind of makes sense when you consider what its used for
(lookup of strings in the resources -> supporting parameterized
replacement).

The format of the format string is something like


  -  
  -   <%= pageContext.getAttribute("test7.value") %>
  -[#,000.00] 
  -[] 
  -  


The preceeding code came from
http://www.mail-archive.com/[EMAIL PROTECTED]/msg20743.html

Andreas

-Ursprungliche Nachricht-
Von: Kumar M [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 11. Marz 2004 16:45
An: Struts Users Mailing List
Betreff: bean:message format ssn



Hi all,

I am wondering if there is an easy way to format the ssnn. What I have
is a String '123456789' but the users would like to see '123-45-6789'.
Is there an easy way of doing this using bean:write or bean:message or
any other tag?

Thanks!!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: AW: textarea

2004-03-11 Thread Andreas Solarik
Hi Sam,

You can find the info at
http://jakarta.apache.org/struts/userGuide/struts-html.html#form.

"method The HTTP method that will be used to submit this request (GET,
POST). [POST] [RT Expr]"


Its set to post by default, so I guess I havn't got a clue what your problem
is. Maybe textareas can be limited by a parameter as to how much data they
will hold - but I'm guessing here.

Good luck,
Andreas


-Ursprungliche Nachricht-
Von: as as [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 11. Marz 2004 14:55
An: Struts Users Mailing List
Betreff: Re: AW: textarea


Andreas,

Thanks for the quick reply.
I am using struts form tag as follows.
wondering ,syntax wise, how I can mention form method as GET...in this tag.
Thanks in advance,
Sam.







Andreas Solarik <[EMAIL PROTECTED]> wrote:
Just a guess, but if the method field of the form is set to "GET", then you
can only transfer a limited amount of data.
If you have set the method to "POST", then I'm at a loss.

Andreas

-Ursprungliche Nachricht-
Von: as as [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 11. Marz 2004 14:46
An: Struts Users Mailing List
Betreff: textarea



Hi,



I am generatinga textare on my jsp with this:

name="teacher" property="qualifications" />



BUt if i enter a large peice of text in the textarea and save it (try to
save it) in my bean, its not getting the whole chunck of data (like a
paragraph or a page)>

ANything wrong i may be doing? how to fix it...

Thanks in advance





-
Do you Yahoo!?
Yahoo! Search - Find what youre looking for faster.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: textarea

2004-03-11 Thread Andreas Solarik
Just a guess, but if the method field of the form is set to "GET", then you
can only transfer a limited amount of data.
If you have set the method to "POST", then I'm at a loss.

Andreas

-Ursprungliche Nachricht-
Von: as as [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 11. Marz 2004 14:46
An: Struts Users Mailing List
Betreff: textarea



Hi,



I am generatinga textare on my jsp with this:





BUt if i enter a large peice of text in the textarea and save it (try to
save it) in my bean, its not getting the whole chunck of data (like a
paragraph or a page)>

ANything wrong i may be doing? how to fix it...

Thanks in advance





-
Do you Yahoo!?
Yahoo! Search - Find what youre looking for faster.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: AW: help about struts

2004-03-11 Thread Andreas Solarik
Erol, I've never actually used resin - so I can't help you with that one.

.war files (in the perfect world) contain all code needed to deploy a web
application on an application server like tomcat. You can do this on tomcat
by copying the .war file into tomcats webapps directory and restarting
tomcat. After this, you should see a directory with the same name as the
.war file - containing all sources. Furthermore, the .war takes care of
modifying the configuration files for you :)

the download for struts is at http://jakarta.apache.org/site/binindex.cgi,
you need to find it in the list.

The example application is included in the struts distribution .zip file (if
you're a windows user) at /webapps/struts-example.war

The struts distribution also contains lots of documentation and some howto
information.

good luck, Andreas

-Ursprungliche Nachricht-
Von: EROL TEZCAN [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 11. Marz 2004 11:49
An: Struts Users Mailing List
Betreff: Re: AW: help about struts


Hi Andreas,

I looked this site and others but didnt analyze them detailed.

Can I work on Resin?

First you installed tomcat.
Secondly you put  .war file in the webapps directory of tomcat. (which war
file?)

If you have a free time, please tell me setup step by step

Thanks.

Erol


Andreas Solarik <[EMAIL PROTECTED]> wrote:Hi Erol,

I suppose you have already visited
http://jakarta.apache.org/struts/learning.html, so I'll tell you how I
started. First I installed tomcat, then I deployed the example application
(by putting the .war file in the webapps directory of tomcat). After
clicking around a little I started to look at how the struts-config.xml
glues together all the files related to a struts powered front-end. Finally,
I actually looked at and started modifying source code in my favourite java
IDE.

Ragards, Andreas

-Ursprungliche Nachricht-
Von: EROL TEZCAN [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 11. Marz 2004 11:11
An: [EMAIL PROTECTED]
Betreff: help about struts


Hi ,

I want to work with struts.

But i dont know where will I start first?

What I need for working with struts?

Where should I start first?

Can I work struts on Resin , or only Tomcat?

Which files needed to work struts.?

Please help me ?

Erol Tezcan




-
Do you Yahoo!?
Yahoo! Search - Find what youre looking for faster.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Do you Yahoo!?
Yahoo! Search - Find what youre looking for faster.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: help about struts

2004-03-11 Thread Andreas Solarik
Hi Erol,

I suppose you have already visited
http://jakarta.apache.org/struts/learning.html, so I'll tell you how I
started. First I installed tomcat, then I deployed the example application
(by putting the .war file in the webapps directory of tomcat). After
clicking around a little I started to look at how the struts-config.xml
glues together all the files related to a struts powered front-end. Finally,
I actually looked at and started modifying source code in my favourite java
IDE.

Ragards, Andreas

-Ursprungliche Nachricht-
Von: EROL TEZCAN [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 11. Marz 2004 11:11
An: [EMAIL PROTECTED]
Betreff: help about struts


Hi ,

I want to work with struts.

But i dont know where will I start first?

What I need for working with struts?

Where should I start first?

Can I work struts on Resin , or only Tomcat?

Which files needed to work struts.?

Please help me ?

Erol Tezcan




-
Do you Yahoo!?
Yahoo! Search - Find what youre looking for faster.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Reporting + Struts

2004-03-11 Thread Andreas Solarik
Hi Mohamed!

Damn, that was a cryptic post. Now you've gone and sparked my curiosity:
what rules didn't you follow while working in Actuate the Reporting
tool and in J2EE?

Regards, Andreas

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 11. März 2004 10:22
An: Struts Users Mailing List
Betreff: Re: Reporting + Struts



Hi, I am working in Actuate the Reporting tool and in J2EE also. To answer
your first question we
are using the struts framework for the reports also but we  are not
following all the rules. It
depends your requirement.


Mohamed Abdul Khaliq.M
IT Specialist
SDC2 - Chennai
Ph 8272628 Ext 8098



  Shyam A
  <[EMAIL PROTECTED]To:
[EMAIL PROTECTED]
  hoo.com> cc:
   Subject:  Reporting + Struts
  03/10/2004 11:57
  AM
  Please respond to
  "Struts Users
  Mailing List"






Hi,

I have a web application in which I need to generate
reports on the fly, i.e., the user submits some report
criteria on a web page and report has to be generated
dynamically.
I searched the archives and found that Jasper reports
is a good tool to use, and there are some GUI tools
available which will help in report design eg.
iReports.

I have a couple of questions:

1. Is it advisable to use Struts for the reporting
application? Or just a JSP/Servlet based application
would suffice?

2. Is there a big learning curve for using Jasper
reports/IReports?

I would appreciate it if somebody could share their
experience in using the above mentioned tools.

Thanks,
Shyam



__
Do you Yahoo!?
Yahoo! Search - Find what you're looking for faster
http://search.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






*
This  electronic  mail  message  is  intended  solely  for  the  named
recipients  and  may contain
confidential  and  proprietary  business information of eFunds Corporation
and all its subsidiaries.
If  you  are  not a named recipient, please notify the sender immediately.
You may not disclose the
contents  to  any  other  person;  use  this  electronic  mail message or
its contents for any other
purpose; or further store or copy its contents in any medium

*



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] copyrighted documents in Struts package

2004-03-09 Thread Andreas Solarik
So, is it just me, or are licensing and copyrighting rather unrelated
issues?


-Ursprungliche Nachricht-
Von: Kevin Wang [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 09. Marz 2004 16:31
An: Struts Users Mailing List
Betreff: Re: copyrighted documents in Struts package


If those files are part of Struts package, but copyrighted as netscape's
property, is it still legal to use Struts to develop commercial software?


Paul Stanton <[EMAIL PROTECTED]>





Paul Stanton <[EMAIL PROTECTED]>
03/08/2004 05:46 PM
Please respond to "Struts Users Mailing List"

To: Struts Users Mailing List <[EMAIL PROTECTED]>
cc:
Subject: Re: copyrighted documents in Struts package


the rss spec is owned by netscape. the dtds are therefore netscapes property

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Error in message resources

2004-03-09 Thread Andreas Solarik
Quoting Ted from a forum on JGuru:


Re[2]: More info: Cannot find message resources under key
org.apache.struts.action.MESSAGE
Topic: Struts 
Ted Husted PREMIUM, Feb 10, 2003
Under b3 and later, you may need to specify the messages resources in the
struts-config: 
 

This can go at the very end of the struts-config, after the action-mappings.


HTH, Ted. 


Andreas

-Ursprüngliche Nachricht-
Von: Praveen Reddy Basani [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 09. März 2004 11:04
An: Struts Users Mailing List
Betreff: Error in message resources



Hi all,

I am getting the following error when i tried to run the application.

  "Cannot find message resources under key org.apache.struts.action.MESSAGE"

Can any suggest the solution for it.

regards
praveen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

AW: [OT] Automatic generation of class diagrams

2004-02-25 Thread Andreas Solarik
Hi Manish

If it doesnt have to be an 'ant tool', then I can recommend TogetherJ, or
argouml (argouml.com) if it has to be free.

andreas

-Ursprungliche Nachricht-
Von: Manish Singla [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 25. Februar 2004 04:36
An: [EMAIL PROTECTED]
Betreff: [OT] Automatic generation of class diagrams


Hello :

   Please suggest any 'Ant tool' which automatically generates class
diagrams from source code.

Thnx




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: spontaneous disappering ApplicationResources.properties

2004-02-23 Thread Andreas Solarik
Ages ago, while using JBuilder5, we found a similar problem. Any editing of
text files belonging to the war (web.xml, app.properties...) was lost if it
was performed while the integrated tomcat was running (copied an old version
of the file from some cache over the "original" files when it was
terminated).

Maybe this helps!

-Ursprungliche Nachricht-
Von: Mark Lowe [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 22. Februar 2004 11:48
An: Struts Users Mailing List
Betreff: Re: spontaneous disappering ApplicationResources.properties


Ah..

I remember giving eclipse a go, and it ate my homework also. My guess
is that it get you producing at such supersonic rates that the files
just ant keep up.

:o) sorry I've nothing useful to add.


On 21 Feb 2004, at 20:45, [EMAIL PROTECTED] wrote:

> Hi list,
>
> I have a weird problem with all of my struts applications.
>
> the file ApplicationResources.properties, usually in WEB-
> INF/classes, is disappearing spontaneously every now and then.
> this happens with all of my projects. I tried and set the attributes of
> the file on read-only, but that does not help.
> Though i learned to live with it by having backups available, it is
> quite irritating.
>
> Has anyone else experienced this?  Is it some weird setting or
> what?
>
> I'm using Eclipse 2.1.0 on a win2000 platform.
>
> Thanks,
> Rinke
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]