Re: File Upload and Request Parameter

2003-08-29 Thread Jason Lea
David Stemm wrote:

All,
   I have a form that is doing a file upload and on the confirmation page after the upload I'm trying to get a request parameter using 
the  tag.  The tag doesn't seem to find the request param.  I know the parameter exists - I can see it in the debugger.  
The tag looks like this:  and I tried this as well .  I believe the problem is because the form is setup to use "multipart/form-data". 
 Any ideas on this?  Thanks.
There is a note in the request.getParameter() JavaDocs that states:

"If the parameter data was sent in the request body, such as occurs with 
an HTTP POST request, then reading the body directly via 
getInputStream() or getReader() can interfere with the execution of this 
method."

You have probably used some package like FileUpload to handle the file. 
 This package would be using the getInputStream() to extract the 
contents of the uploaded file (this is why you cannot access the 
parameters normally).  This package should also provide some method of 
accessing any formfields or parameters that were passed.

FileUpload package:
http://jakarta.apache.org/commons/fileupload
(I haven't used this myself) It looks like you could use this in your 
action to get a list of FileItems (some will be uploaded files which you 
can save to disk, the others would be form fields).

When you find a form field, you could try adding it to the request using 
request.setAttribute(), which should allow you to access it using .

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


FW: Vacancy

2003-08-29 Thread Indra Gunawan
PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one
of the 
Plantation and Plant Research export oriented National company. 
We are developing a web based application for supporting our growing
business.
We are now having a vacancy for System DEveloper position for our Pare,
Kediri site.

We seek candidate with specific criterias as mentioned below:
1. At least Bachelor degree in Computer science with GAP >=2.75
2. Ability in JAVA and JSP is a must.
3. Fully understanding in RDBMS concept.
4. ability in Oracle/MySQL is highly valued.

Full application include :
-CV or Resume
-Your Recent Photo or scanned Photo
-Copy of your certificates

Send your full application to [EMAIL PROTECTED]
 
or by postal service to
Attn : P.Suryanto, EDP
PO BOX 1261, Surabaya

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



Re: BEGINEER FOR STRUTS

2003-08-29 Thread virupaksha
Dear mahavir,

check your web.xml file for tag lib configuration.
try to configure your tag lib as follows .


strutsbean
/WEB-INF/struts-bean.tld
  
  
strutshtml
/WEB-INF/struts-html.tld
  
  
strutslogic
/WEB-INF/struts-logic.tld
  
  


it should work..

Regards,
virupaksha
- Original Message -
From: "mahavir" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2003 12:05 PM
Subject: BEGINEER FOR STRUTS


i am begineer for struts,i ahd installed all the files needed for it but it
is giving the following error,as the all *.tld files are in tis proper
locations

 Unable to open taglibrary /WEB-INF/struts-bean.tld : Could not locate TLD
/WEB-INF/struts-bean.tld

can u help me


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



Re:

2003-08-29 Thread Yakov Belov
Thanks Adam,
your comments make sense if I was using Struts1.1, but for reasons out of my
control I am using Struts1.0 and the struts-config_1_0.dtd doesnt define
 tag ... so, I can't use it.

But I can use the  tag,
however I can not define a new bundle with some key because of absense of
the  in the dtd. Is there another way to define a bundle
other than a default one?

I feel like a total newbie in this issue.

Thanks in advance.

Yakov Belov



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



Re: JSTL API docs?

2003-08-29 Thread Craig R. McClanahan
On Fri, 29 Aug 2003, Adam Hardy wrote:

> Date: Fri, 29 Aug 2003 00:22:06 +0200
> From: Adam Hardy <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: JSTL API docs?
>
> I can't find the docs for JSTL anywhere. I mean the API, like the API
> for the struts taglibs bean:, html: etc with every tag and it's required
> and optional attributes and a brief desc.
>
> I've looked all over jakarta and sun, and not found anything. I
> downloaded the jakarta taglibs and they have it for all their taglibs,
> but not for the JSTL standard taglib.
>
> I guess this is a taglibs mailing list question, but I've searched their
> archives and not found any mention of hundreds of people groping around
> in the dark for the API docs.
>
> I kind of looked in the J2EE api at sun but couldn't see anything.
>
> I've now downloaded sun's java webservices developer pack or whatever it
> is, and am looking at the xml for the tld. Is there anything better?
>
> thanks
> Adam
>

It's not quite in the same format, but the JSTL Specification is actually
a pretty readable summary of what each of the tags does, and what the
valid attributes are.  Start at:

  http://java.sun.com/products/jsp/jstl/

for links.  On that page, you'll also find a link to a quick reference
summary you can download and print.

Craig

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



Re: J2EE IDE

2003-08-29 Thread James Harman
Maybe because "it is slow, and crash like once everyday".

Andy Cheng wrote:

Hi, I have never used anything else very seriously except Netbeans.  I
think it is slow, and crash like once everyday, but the feature it offer
really is worth the trouble.  It can generate the get and set method, it
will update any classes that implement the interface you are editing,
ultra good search and highlighting.  You can basically customize
everything you can see too... I really cannot understand why people do
not like it.  
table {

border-style: solid;
border-color: #ff
}
 

-
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]


What in the world is tag for???

2003-08-29 Thread Bill Johnson
Ok, unless I missed something this tag seems
completely redundant. It is used to expose the
properties of the PageContext object, but they all
come "pre-exposed" by default with JSPs.

Can someone please explain its purpose?  Were these
variables (session, request, etc.) not initially
implicitly available in JSPs?

Regards,

Bill

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



Re: What in the world is tag for???

2003-08-29 Thread Craig R. McClanahan
On Thu, 28 Aug 2003, Bill Johnson wrote:

> Date: Thu, 28 Aug 2003 19:48:20 -0700 (PDT)
> From: Bill Johnson <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: What in the world is  tag for???
>
> Ok, unless I missed something this tag seems
> completely redundant. It is used to expose the
> properties of the PageContext object, but they all
> come "pre-exposed" by default with JSPs.
>
> Can someone please explain its purpose?  Were these
> variables (session, request, etc.) not initially
> implicitly available in JSPs?
>

They are pre-exposed as scripting variables (which is fine if you want to
write scriptlets), but not anything you can get to with a custom tag that
wants to use expressions (like , just to take one example).

> Regards,
>
> Bill

Craig McClanahan

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



Validations in Action Form

2003-08-29 Thread sriram
My application uses Struts Action Form.
I am also using Value Objects.
I am not doing validations using validations.xml and validator-rules.xml. I'm 
performing simple validations on server side as follows:

Can some one please check the below code and tell me if what I am doing is correct?

In Action Form "validate" method, the code as follows:

= code in validate method of ActionForm ==

ActionErrors errs = new ActionErrors();
MyValues val = new MyValues();

try {
  val.setInputField(inputField_);
} catch (IllegalArgumentException ex) {
  errs.add(FLD_INPUT_FIELD,new 
ActionError("myviewform.error_input_field",ex.getMessage()));
}

= code in Value Object - MyValues =

public void setInputField(String val) {
if (val==null || val.length()==0) 
throw new IllegalArgumentException("Illegal null parameter passed to 
setInputField");
if (val!=null && val.length()>100)  // max length of this field is 100
throw new IllegalArgumentException("Illegal parameter value too long 
passed to setInputField,value="+val);
inputField_=val;
   
  }// end of setInputField



With the above code, can I say that the validations are written in "validate" method 
of ActionForm? Someone mentioned that since I'm performing actual validations in 
MyValues, the validations are not being done in ActionForm, and so it does not follow 
Struts Framework rules. Is this true? Please clarify.




Re: struts on tomcat?

2003-08-29 Thread mahavir


  Hello

  I want to install struts on Tomcat standalone server.If i have to do anything extra 
steps or simply coping the .tld files and configuring web.xml and struts-config.xml.

  Mahavir


XML Parsing - Castor and Digester ?

2003-08-29 Thread krthekeyan
Hi,
I found our guys suggested Castor and Digester xml parsers  for xml parsing.
May i know what are these and what for we can use this.
and in which way it is different between jaxp and jaxb specifications of
sun.and can u suggest me where can i find more details about this.



- Original Message -
From: "Mark Galbreath" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, August 29, 2003 2:55 AM
Subject: RE: XML Parsing Dilemma


> I was told Digester was, though great, a PITA to learn.  I don't have ANY
> time - I have to get this done in the next 24 hours.
>
> Mark
>
> -Original Message-
> From: Robert Taylor [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2003 5:18 PM
> To: Struts Users Mailing List
> Subject: RE: XML Parsing Dilemma
>
>
> If you don't have time, then use JDOM. It's easy to use.
> If you have few cycles, you might want to investigate Digester.
>
> robert
>
> > -Original Message-
> > From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 28, 2003 4:58 PM
> > To: 'Struts Users Mailing List'
> > Subject: XML Parsing Dilemma
> >
> >
> > Guys,
> >
> > I am integrating my Struts app with a 3rd-party business process
> > application called BizFlow (http://www.handysoft.com).  I am
> > validating user logins through the BizFlow Java Dev API, but the
> > BizFlow class method returns a java.io.File in XML format.  So I need
> > to parse this XML file to extract certain user info, like userid and
> > password.
> >
> > The only XML parsing I've done in the past was in my ASP days and I
> > wrote it myself.  Now, there are several Java XML parsers and I don't
> > have the time to evaluate them.  Help!
> >
> > The front-runners on my list is Castor and JDOM.  Any (related)
> > suggestions are greatly appreciated.
> >
> > Cheers!
> > Mark
> >
> >
> >
> > -
> > 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]



Tomcat Vs Tomcat plugin

2003-08-29 Thread sreekant_gottimukkala
I am trying to run the struts-example webapp under standalone Tomcat 4.0.x
and I was successful.
How ever, when I installed the Tomcat plugin for Eclipse and launched the
same struts-example webapp under the Tomcat plugin for Eclipse, it fails in
the very first screen throwing the below stack. Any ideas ?

java.lang.NullPointerException
  at org.apache.struts.util.RequestUtils.pageURL(RequestUtils.java)
  at org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java)
  at org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java)
  at org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java)

Regards
Sreekant G
@ 98404-65630


This mail was scanned by Interscan Virus Wall of Mailserver2 at SNR, TCS, Chennai

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

RE: struts on tomcat?

2003-08-29 Thread David Friedman
Mahavir,

I recommend you copy the struts-blank.war to the tomcat "webapps" directory
then start tomcat.  It will create a directory "struts-blank" with a WEB-INF
and extract everything from the war file.  You may then edit the
struts-blank/WEB-INF/struts-config.xml and do your work.

Regards,
David

-Original Message-
From: mahavir [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 1:04 AM
To: [EMAIL PROTECTED]
Subject: Re: struts on tomcat?




  Hello

  I want to install struts on Tomcat standalone server.If i have to do
anything extra steps or simply coping the .tld files and configuring web.xml
and struts-config.xml.

  Mahavir


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



RE: struts on tomcat?

2003-08-29 Thread Bill Chmura

Just follow the struts instructions for installing on tomcat and
everything should be fine.  I can personally assure you that this
documentation does exist. 


  > -Original Message-
  > From: mahavir [mailto:[EMAIL PROTECTED] 
  > Sent: Friday, August 29, 2003 1:04 AM
  > To: [EMAIL PROTECTED]
  > Subject: Re: struts on tomcat?
  > 
  > 
  > 
  > 
  >   Hello
  > 
  >   I want to install struts on Tomcat standalone server.If i 
  > have to do anything extra steps or simply coping the .tld 
  > files and configuring web.xml and struts-config.xml.
  > 
  >   Mahavir
  > 


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



Re: RE:BEGINEER FOR STRUTS

2003-08-29 Thread dummu
Hi Chris,

  I did what you have said but still i face the same problem.
Do you have a small program which users this properties and just display a
message so that i can used it directly to check if there is some thing wrong
in my installation.

Rgds,
Dummu.


- Original Message -
From: "Christopher Jones (DHL UK)" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2003 6:18 PM
Subject: RE:BEGINEER FOR STRUTS


> mahavir
>
> Make sure the message-resources tag is in the struts-config.xml and
> that it refers to a file in a directory on your classpath.
> eg:
> 
>
> and then have a file called ApplicationResources.properties in the
> WEB-INF/classes directory of your application.
>
> Chris
>
> -
> 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]



Re: BEGINEER FOR STRUTS

2003-08-29 Thread dummu
HI Viru,

 I have all these setting in my web.xml but still i face the same problem.
 I get the following error

Exception Report:
javax.servlet.ServletException: Cannot find ActionMappings or
ActionFormBeans collection
 at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:442)
 at org.apache.jsp.test_jsp._jspService(test_jsp.java:300)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:200)

Root Cause:javax.servlet.jsp.JspException: Cannot find ActionMappings or
ActionFormBeans collection
 at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:858)
 at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:543)
 at org.apache.jsp.test_jsp._jspService(test_jsp.java:95)

  I have placed the resource file in all directories. ie. web-inf
,web-inf/classes etc

if u have a small applciation which uses the resouce file  then i could use
that and conform that
my installation is fine.

Rgds,
Dummu.

- Original Message -
From: "virupaksha" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, August 29, 2003 6:57 AM
Subject: Re: BEGINEER FOR STRUTS


> Dear mahavir,
>
> check your web.xml file for tag lib configuration.
> try to configure your tag lib as follows .
>
> 
> strutsbean
> /WEB-INF/struts-bean.tld
>   
>   
> strutshtml
> /WEB-INF/struts-html.tld
>   
>   
> strutslogic
> /WEB-INF/struts-logic.tld
>   
>   
>
>
> it should work..
>
> Regards,
> virupaksha
> - Original Message -
> From: "mahavir" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 28, 2003 12:05 PM
> Subject: BEGINEER FOR STRUTS
>
>
> i am begineer for struts,i ahd installed all the files needed for it but
it
> is giving the following error,as the all *.tld files are in tis proper
> locations
>
>  Unable to open taglibrary /WEB-INF/struts-bean.tld : Could not locate TLD
> /WEB-INF/struts-bean.tld
>
> can u help me
>
>
> -
> 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]



Struts Tiles

2003-08-29 Thread Herbert
Hello all.
Im trying to install a context
to my tomcat webapps, and this context
uses the tiles plugin.

Well, that works on the office computer,
but doesn't works at home computer,
throwing:

HTTP Status 500 -




type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

org.apache.jasper.JasperException: Can't get definitions factory from
context.
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
54)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
(etc...)


I'd tried the same j2sdk version, the same struts version (1.1),
the same Tomcat version (4.1.24) and the same files (CVS checkout!!), from
the office machine...

What else to try ?

As aditional information, the tiles-documentation war works here.

Thanks !

Herbert Mattei de Borba
[EMAIL PROTECTED]



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



[OT] Image resizing servlet

2003-08-29 Thread Cameron Hickey
As part of my content management system, I need to be able to generate
thumbnails from existing JPEG files located on the filesystem.  A simple
chunk of code I found uses the java.awt package to handle this nicely,
but when I moved the compiled classes from my windowsXP testing machine
to a linux server, it no longer worked.  The code I have been using
employs the (apparently) deprecated Toolkit class.  

I have seen that things like JAI and ImageMagick can accomplish this
task, but it seems like overkill for something that is so simple, and
should be available as part of the core Java distribution. 

Does anyone employ simple code that accomplishes the functionality
implied by:

generateThumbnail(String inFile, String outFile, String sizePercent)

to create and save a jpeg to the filesystem at a different size?



The code that I have been using is:

makeThumbnail(String inFile, String thumbFile, String th, String
inQuality) throws Exception {

Image image = Toolkit.getDefaultToolkit().getImage(inFile);
MediaTracker mediaTracker = new MediaTracker(new Container());
mediaTracker.addImage(image, 0);
mediaTracker.waitForID(0);

int imageWidth = image.getWidth(null);
int imageHeight = image.getHeight(null);
double imageRatio = (double)imageWidth / (double)imageHeight;

int thumbHeight = Integer.parseInt(th);
int thumbWidth = (int)(thumbHeight * imageRatio);

// draw original image to thumbnail image object and
// scale it to the new size on-the-fly

BufferedImage thumbImage = new BufferedImage(thumbWidth, thumbHeight,
BufferedImage.TYPE_INT_RGB);
Graphics2D graphics2D = thumbImage.createGraphics();

graphics2D.setRenderingHint(RenderingHints.KEY_INTERPOLATION,RenderingHi
nts.VALUE_INTERPOLATION_BILINEAR);
graphics2D.drawImage(image, 0, 0, thumbWidth, thumbHeight, null);
// save thumbnail image to OUTFILE
BufferedOutputStream out = new BufferedOutputStream(new
FileOutputStream(thumbFile));
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(thumbImage);
int quality = Integer.parseInt(inQuality);
quality = Math.max(0, Math.min(quality, 100));
param.setQuality((float)quality / 100.0f, false);
encoder.setJPEGEncodeParam(param);
encoder.encode(thumbImage);

}



it throws the following exception (only when executed on a linux server)
:


java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.Toolkit$2.run(Toolkit.java:748)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)

Thanks for any advice...

Cameron


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



Remote Debugging facility

2003-08-29 Thread sreekant_gottimukkala
Has any one successfully used the "Remote Debugging facility" of ECLIPSE
with TOMCAT 4.0.X ? I tried using it but am getting a message that says
"Failed to connect to remote VM, Connection refused". Below is how I setup
TOMCAT & ECLIPSE for debugging.

Added the below statement to CATALINA.bat
SET CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
and started TOMCAT.

On the ECLIPSE configuration for Remote debugging I gave
Host : localhost
Port : 8000
Connection Type : Standard (Socket Attach).

Is there anything that I am missing ?

Regards
Sreekant G


This mail was scanned by Interscan Virus Wall of Mailserver2 at SNR, TCS, Chennai

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

Re: [OT] Image resizing servlet

2003-08-29 Thread Graham Stark
Cameron,

Is X Windows running on your Linux box? If not, add:

 -Djava.awt.headless=true

to the startup options of your web container.

Graham

> As part of my content management system, I need to be able to generate
> thumbnails from existing JPEG files located on the filesystem.  A simple
> chunk of code I found uses the java.awt package to handle this nicely,
> but when I moved the compiled classes from my windowsXP testing machine
> to a linux server, it no longer worked.  The code I have been using
> employs the (apparently) deprecated Toolkit class.  
> 
> I have seen that things like JAI and ImageMagick can accomplish this
> task, but it seems like overkill for something that is so simple, and
> should be available as part of the core Java distribution. 
> 
> Does anyone employ simple code that accomplishes the functionality
> implied by:
> 
> generateThumbnail(String inFile, String outFile, String sizePercent)
> 
> to create and save a jpeg to the filesystem at a different size?
> 
> 
> 
> The code that I have been using is:
> 
> makeThumbnail(String inFile, String thumbFile, String th, String
> inQuality) throws Exception {
> 
> Image image = Toolkit.getDefaultToolkit().getImage(inFile);
> MediaTracker mediaTracker = new MediaTracker(new Container());
> mediaTracker.addImage(image, 0);
> mediaTracker.waitForID(0);
> 
> int imageWidth = image.getWidth(null);
> int imageHeight = image.getHeight(null);
> double imageRatio = (double)imageWidth / (double)imageHeight;
>   
> int thumbHeight = Integer.parseInt(th);
> int thumbWidth = (int)(thumbHeight * imageRatio);
> 
> // draw original image to thumbnail image object and
> // scale it to the new size on-the-fly
>   
> BufferedImage thumbImage = new BufferedImage(thumbWidth, thumbHeight,
> BufferedImage.TYPE_INT_RGB);
> Graphics2D graphics2D = thumbImage.createGraphics();
> 
> graphics2D.setRenderingHint(RenderingHints.KEY_INTERPOLATION,RenderingHi
> nts.VALUE_INTERPOLATION_BILINEAR);
> graphics2D.drawImage(image, 0, 0, thumbWidth, thumbHeight, null);
> // save thumbnail image to OUTFILE
> BufferedOutputStream out = new BufferedOutputStream(new
> FileOutputStream(thumbFile));
> JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
> JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(thumbImage);
> int quality = Integer.parseInt(inQuality);
> quality = Math.max(0, Math.min(quality, 100));
> param.setQuality((float)quality / 100.0f, false);
> encoder.setJPEGEncodeParam(param);
> encoder.encode(thumbImage);
> 
> }
> 
> 
> 
> it throws the following exception (only when executed on a linux server)
> :
> 
> 
> java.lang.NoClassDefFoundError
>   at java.lang.Class.forName0(Native Method)
>   at java.lang.Class.forName(Class.java:141)
>   at java.awt.Toolkit$2.run(Toolkit.java:748)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
> 
> Thanks for any advice...
> 
> Cameron
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
-- 
Graham Stark, Virtual Worlds
phone: (+044) 01908 618239 mobile: 07952 633185
Homepage http://www.virtual-worlds.biz
Virtual Learning Arcade http://www.bized.ac.uk/virtual/vla
Virtual Economy http://www.bized.ac.uk/virtual/economy 


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



What is Java Server faces ?

2003-08-29 Thread Madhu Nair

Hi,

What is java server faces technology? Is it similar to Struts ? Will all
that I learnt about Struts go waste?

Regards,
Madhu


-
Madhu Nair
Member of Technical Staff,
Persistent Systems Private Limited,
Pune 411016 INDIA.
Tel: +91-20-5678900 Ext: 335


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



Struts form validation: DAO and multipages

2003-08-29 Thread Leyla TOLUN (Internet Yazilimlari Yonetmeni)
Hi,

I have a multipage transaction. On the first page, inside the Action class , I bind a 
DAO list to request. This is listed on the second page. When I submit the formed page, 
if the next ActionForm.validate fails, it automatically returns to the previos page. 
(As defined in the sturts_config.xml form_bean/input directive.) 
Since my DAO list does not exist in the newly formed request I see nothing. 

Is there a way to reexecute my previous ActionMapping when a fom validation fails. 
(for a multipage app.)  Or can anyone reccomend a way to handle multipage apps. 
(Storing DAO in the session seem inefficient, since there may be lots of such cases.)

Regards,

Leyla

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



struts and user Privileges

2003-08-29 Thread Kannan
Hi,
What i have to do is,
1. I have some roles  which have some Privileges(admninistrator...)
2. I have a jsp page has delete , view , update , ...buttons..
according to PrivilegesI try to shoe the user these buttons  e.g: Admin 
can see all the buttons but the normal user can not.
Can anyone help me to do a model for this ... :-(

Kannan.

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


Re: Struts Tiles

2003-08-29 Thread Herbert
sorry,
forget it !!
it was about the database connection...
not the tiles.

thanx

Herbert

- Original Message -
From: "Herbert" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, August 29, 2003 3:15 AM
Subject: Struts Tiles


> Hello all.
> Im trying to install a context
> to my tomcat webapps, and this context
> uses the tiles plugin.
>
> Well, that works on the office computer,
> but doesn't works at home computer,
> throwing:
>
> HTTP Status 500 -
>
> --
--
> 
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented it
> from fulfilling this request.
>
> exception
>
> org.apache.jasper.JasperException: Can't get definitions factory from
> context.
> at
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
> 54)
> at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> (etc...)
>
>
> I'd tried the same j2sdk version, the same struts version (1.1),
> the same Tomcat version (4.1.24) and the same files (CVS checkout!!), from
> the office machine...
>
> What else to try ?
>
> As aditional information, the tiles-documentation war works here.
>
> Thanks !
>
> Herbert Mattei de Borba
> [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]



Display Taglib vs HtmlTable

2003-08-29 Thread thomas Sontheimer
http://edhill.its.uiowa.edu/display/

http://htmltable.yuriy-zubarev.com/jsp/index.jsp

Has anyone tried these two taglibs?
which one do you recommend?

thomas


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



RE: What is Java Server faces ?

2003-08-29 Thread Navjot Singh
Hi,

I guess most of the people have some misconception about JSF. They are not
here to compete with Struts and i think of them as complementary support to
Struts framework.

Start reading on JSF here http://www.jsfcentral.com

regards
Navjot Singh


|-Original Message-
|From: Madhu Nair [mailto:[EMAIL PROTECTED]
|Sent: Friday, August 29, 2003 1:22 PM
|To: Struts Users Mailing List
|Subject: What is Java Server faces ?
|
|
|
|Hi,
|
|What is java server faces technology? Is it similar to Struts ? Will all
|that I learnt about Struts go waste?
|
|Regards,
|Madhu
|
|
|-
|Madhu Nair
|Member of Technical Staff,
|Persistent Systems Private Limited,
|Pune 411016 INDIA.
|Tel: +91-20-5678900 Ext: 335
|
|
|-
|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]



RE: Display Taglib vs HtmlTable

2003-08-29 Thread Paul McCulloch
I have only tried the display taglib. I've found it to be powerful, easy to
use & easy to extend.

My requirements are such that I've had to use the un-released 'display09'
stream. But it does everything I need, seems stable, and the code is easy
enough, for a developer with only a few months of Java, to understand.

Paul

-Original Message-
From: thomas Sontheimer [mailto:[EMAIL PROTECTED]
Sent: 29 August 2003 09:17
To: 'Struts Users Mailing List'
Subject: Display Taglib vs HtmlTable


http://edhill.its.uiowa.edu/display/

http://htmltable.yuriy-zubarev.com/jsp/index.jsp

Has anyone tried these two taglibs?
which one do you recommend?

thomas


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


**
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.


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



[OT] Weblogic Caching

2003-08-29 Thread rajendra . x . yadav
Hi,
How to prevent Weblogic 8.1 sp1 from Caching the jar's, jsp's and other
files for a WEB APPLICATION.
It caches most of the stuff.

thanks
-raj




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



RE: Remote Debugging facility

2003-08-29 Thread Paul McCulloch
I use this facility without a problem. My CATALINA_OPTS & Eclispse settings
are identical to yours.

How are you startimg Tomcat? The icon installed in the Start menu *does not*
use catalina.bat. 

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 29 August 2003 07:00
To: [EMAIL PROTECTED]
Subject: Remote Debugging facility


Has any one successfully used the "Remote Debugging facility" of ECLIPSE
with TOMCAT 4.0.X ? I tried using it but am getting a message that says
"Failed to connect to remote VM, Connection refused". Below is how I setup
TOMCAT & ECLIPSE for debugging.

Added the below statement to CATALINA.bat
SET CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
and started TOMCAT.

On the ECLIPSE configuration for Remote debugging I gave
Host : localhost
Port : 8000
Connection Type : Standard (Socket Attach).

Is there anything that I am missing ?

Regards
Sreekant G




**
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.


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



Re: struts and user Privileges

2003-08-29 Thread graham . stark
Quoting Kannan <[EMAIL PROTECTED]>:

Try:

   
 
 

or somesuch,

Graham

> Hi,
> What i have to do is,
> 1. I have some roles  which have some Privileges(admninistrator...)
> 2. I have a jsp page has delete , view , update , ...buttons..
> according to PrivilegesI try to shoe the user these buttons  e.g: Admin 
> can see all the buttons but the normal user can not.
> Can anyone help me to do a model for this ... :-(
> 
> Kannan.
> 
> 
> -
> 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]



RE: variable in tag

2003-08-29 Thread Paul McCulloch
That is exactly how you do it! If that isn't working then it may be beacuse
you are using the html-el taglib rather than the standard one.


Paul

-Original Message-
From: LUCERO,DENNIS (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]
Sent: 28 August 2003 22:23
To: ' ([EMAIL PROTECTED])'
Subject: variable in tag


Is there any way to do this:
 
blah
 
 
thanks
 
We come from the land of the ice and snow
With the midnight sun, where the hot springs glow
The hammer of the gods, will drive our ships to new lands
Fight the horde, Sing and cry
Valhalla I am coming
 


**
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.


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



Re: J2EE IDE

2003-08-29 Thread Prasenjit Narwade

- Original Message -
From: "Firat TIRYAKI" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, August 27, 2003 1:03 AM
Subject: Re: J2EE IDE


> you should use eclipse, it doesn't use swing for GUI's, and it's faster
than
> the others.
>
> F.
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 27, 2003 9:46 AM
> Subject: J2EE IDE
>
>
> > Can someone please suggest me a free J2EE IDE suitable for development
of
> > webapps using STRUTS. I know of some IDE's like the FORTE, ECLIPSE,
> > NETBEANS. However I wanted to ckeckout if anyone has already evaluated
any
> > of these since I am not sure which one is easy to use and has reasonably
> > good features as well.
> >
> > Regards
> > Sreekant G
> >
> >
> >
>
>
> --
--
> 
>
>
> > -
> > 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]



RE: Vacancy

2003-08-29 Thread Mark Galbreath
Where the heck is this?  Is English spoken there?

-Original Message-
From: Indra Gunawan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 28, 2003 9:27 PM
To: 'Struts Users Mailing List'
Subject: FW: Vacancy


PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one of
the 
Plantation and Plant Research export oriented National company. 
We are developing a web based application for supporting our growing
business. We are now having a vacancy for System DEveloper position for our
Pare, Kediri site.

We seek candidate with specific criterias as mentioned below: 1. At least
Bachelor degree in Computer science with GAP >=2.75 2. Ability in JAVA and
JSP is a must. 3. Fully understanding in RDBMS concept. 4. ability in
Oracle/MySQL is highly valued.

Full application include :
-CV or Resume
-Your Recent Photo or scanned Photo
-Copy of your certificates

Send your full application to [EMAIL PROTECTED]
 
or by postal service to
Attn : P.Suryanto, EDP
PO BOX 1261, Surabaya

-
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]



RE: What is Java Server faces ?

2003-08-29 Thread Mark Galbreath
This should help:

http://www.catb.org/~esr/faqs/smart-questions.html

-Original Message-
From: Madhu Nair [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 3:52 AM

What is java server faces technology? Is it similar to Struts ? Will all
that I learnt about Struts go waste?

Regards,
Madhu



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



RE: Html:select

2003-08-29 Thread Seshadhri Srinivasan
Hi,
Can someone help out with the usage of html:select. The API just gives the
syntax ans the parameters that can be used with place.
I understand that it can be used with combo boxes. I have to poulate a combo
box using this.
Thanks,
Seshadhri Srinivasan 

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



RE: What is Java Server faces ?

2003-08-29 Thread Hue Holleran
Maybe this:

http://marc.theaimsgroup.com/?l=struts-user&w=2&r=1&s=JSF+Java+Server+Faces&;
q=b

> -Original Message-
> From: Madhu Nair [mailto:[EMAIL PROTECTED]
> Sent: 29 August 2003 08:52
> To: Struts Users Mailing List
> Subject: What is Java Server faces ?
>
>
>
> Hi,
>
> What is java server faces technology? Is it similar to Struts ? Will all
> that I learnt about Struts go waste?
>
> Regards,
> Madhu
>
>
> -
> Madhu Nair
> Member of Technical Staff,
> Persistent Systems Private Limited,
> Pune 411016 INDIA.
> Tel: +91-20-5678900 Ext: 335
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003


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



Re: [FRIDAY] Vacancy

2003-08-29 Thread Adam Hardy
Mark, they won't want you, so just forget about it.

However after watching the Bollywood movie 'Sometimes Happy, Sometimes 
Sad', I can understand why impressionable people like you might want to 
go and work there. ;)

On 08/29/2003 11:51 AM Mark Galbreath wrote:
Where the heck is this?  Is English spoken there?

-Original Message-
From: Indra Gunawan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 28, 2003 9:27 PM
To: 'Struts Users Mailing List'
Subject: FW: Vacancy

PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one of
the 
Plantation and Plant Research export oriented National company. 
We are developing a web based application for supporting our growing
business. We are now having a vacancy for System DEveloper position for our
Pare, Kediri site.

We seek candidate with specific criterias as mentioned below: 1. At least
Bachelor degree in Computer science with GAP >=2.75 2. Ability in JAVA and
JSP is a must. 3. Fully understanding in RDBMS concept. 4. ability in
Oracle/MySQL is highly valued.
Full application include :
-CV or Resume
-Your Recent Photo or scanned Photo
-Copy of your certificates
Send your full application to [EMAIL PROTECTED]
 
or by postal service to
Attn : P.Suryanto, EDP
PO BOX 1261, Surabaya

-
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]

--
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


message resource error/Plz Urgent

2003-08-29 Thread mahavir
Hi Friends

Yesterday i had posted my question regarding the error when i try to browse the jsp 
pages.I had got three or four replies
but the error is not corrected.
Please anyone can guide me in detail.

the error is--

Error: 500
Location: /hello-world/hello.jsp
Internal Servlet Error:

javax.servlet.ServletException: Cannot find message resources under key 
org.apache.struts.action.MESSAGE
 at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)
 at 
_0002fhello_0002ejsphello_jsp_0._jspService(_0002fhello_0002ejsphello_jsp_0.java:90)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
 at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
 at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
 at java.lang.Thread.run(Thread.java:479)

Root cause: 
javax.servlet.jsp.JspException: Cannot find message resources under key 
org.apache.struts.action.MESSAGE
 at 
org.apache.struts.util.RequestUtils.retrieveMessageResources(RequestUtils.java:1103)
 at org.apache.struts.util.RequestUtils.message(RequestUtils.java:1043)
 at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:294)
 at 
_0002fhello_0002ejsphello_jsp_0._jspService(_0002fhello_0002ejsphello_jsp_0.java:68)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
 at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
 at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
 at java.lang.Thread.run(Thread.java:479)

Plz its urgent

mahavir



RE: [FRIDAY] Vacancy

2003-08-29 Thread Mohd Amin Mohd Din
Its in Indonesia, not India


-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 6:32 PM
To: Struts Users Mailing List
Subject: Re: [FRIDAY] Vacancy

Mark, they won't want you, so just forget about it.

However after watching the Bollywood movie 'Sometimes Happy, Sometimes 
Sad', I can understand why impressionable people like you might want to 
go and work there. ;)


On 08/29/2003 11:51 AM Mark Galbreath wrote:
> Where the heck is this?  Is English spoken there?
> 
> -Original Message-
> From: Indra Gunawan [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, August 28, 2003 9:27 PM
> To: 'Struts Users Mailing List'
> Subject: FW: Vacancy
> 
> 
> PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one
of
> the 
> Plantation and Plant Research export oriented National company. 
> We are developing a web based application for supporting our growing
> business. We are now having a vacancy for System DEveloper position
for our
> Pare, Kediri site.
> 
> We seek candidate with specific criterias as mentioned below: 1. At
least
> Bachelor degree in Computer science with GAP >=2.75 2. Ability in JAVA
and
> JSP is a must. 3. Fully understanding in RDBMS concept. 4. ability in
> Oracle/MySQL is highly valued.
> 
> Full application include :
> -CV or Resume
> -Your Recent Photo or scanned Photo
> -Copy of your certificates
> 
> Send your full application to [EMAIL PROTECTED]
>  
> or by postal service to
> Attn : P.Suryanto, EDP
> PO BOX 1261, Surabaya
> 
> -
> 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]
> 
> 

-- 
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9


-
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]



Re:

2003-08-29 Thread Adam Hardy
Hmmm, yes. Problematic. With 1.0 we used a custom taglib that called the 
string from the correct bundle using this code:

public static String getResource(
ServletContext pContext,
String pBundle,
String pKey)
throws Exception
{
MessageResources lResources = 
(MessageResources)pContext.getAttribute(pBundle);
if (lResources == null)
{
mLogger.warn("cannot find '" + pBundle + "' in 
ServletContext");
return "";
}
if (lResources.isPresent(pKey)) //
{
return lResources.getMessage(pKey);
}
else
{
mLogger.warn("cannot find key '" + pKey + "' in bundle '" + 
pBundle + "'");
return "";
}
}

HTH,
Adam
On 08/29/2003 03:51 AM Yakov Belov wrote:
Thanks Adam,
your comments make sense if I was using Struts1.1, but for reasons out of my
control I am using Struts1.0 and the struts-config_1_0.dtd doesnt define
 tag ... so, I can't use it.
But I can use the  tag,
however I can not define a new bundle with some key because of absense of
the  in the dtd. Is there another way to define a bundle
other than a default one?
I feel like a total newbie in this issue.

Thanks in advance.

Yakov Belov



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

--
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


? and & are bad for searchengines

2003-08-29 Thread Marius Oancea

   
  I have a web application made with struts. The servlet container 
is tomcat 4.1.x.
  All my action are called in the falloing way: 
/path/actionname?param1=text1¶m2=text2 and so on.
  Such urls are very bad for search engines.

  I  want to use urls like 
/path/actionname.html/param1.text1/param2.text2/ for example, and the 
action to get the parameters in a normal way 
(request.getParameter("param1")). Also Forms has to be able to handle 
all that things naturally without any code change.

  Should I also modify all strutstags (html:link for example) to 
create html code in that manner ? Or do u see another solution. I'm 
thinking to make filter like on the response who will transfor all urls 
in the right way.
   
  


   Is there any other guy who is trying to do the same?
   Any solutions around?

Thanx a lot

--
"Why program by hand in five days what you can spend five years of your life 
automating." - Terence Parr


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


RE: Struts Tag Question

2003-08-29 Thread Hue Holleran
Hi David,

Be aware that struts will use " to delimit the href attribute, so try:

test

Hue.

> -Original Message-
> From: David Erickson [mailto:[EMAIL PROTECTED]
> Sent: 28 August 2003 22:57
> To: Struts Mailing List
> Subject: Struts Tag Question
>
>
> Here is the code I'm trying to get to work:
>
>  href="javascript:Start(${indexedBean.id})">test
>  but what I need are double quotes around the ${indexedBean.id}
> part.  I've
> tried using both " and \" both seem to not work because the link ends
> up stopping at wherever I insert that at.. for example if I try:
>
>
>
>  href="javascript:Start(\"${indexedBean.id})">test
>
> the link when moused over shows: javascript:Start(
>
> same thing if I try " instead of \"
>
> any ideas?
>
> Thanks!
>
> -David
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003


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



RE: [FRIDAY] Vacancy

2003-08-29 Thread sriram
This doesn't seem to be in the area of BollywoodIt's probably in Malaysia or 
Indonesia..I guess so from the name.

-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 4:02 PM
To: Struts Users Mailing List
Subject: Re: [FRIDAY] Vacancy


Mark, they won't want you, so just forget about it.

However after watching the Bollywood movie 'Sometimes Happy, Sometimes 
Sad', I can understand why impressionable people like you might want to 
go and work there. ;)


On 08/29/2003 11:51 AM Mark Galbreath wrote:
> Where the heck is this?  Is English spoken there?
> 
> -Original Message-
> From: Indra Gunawan [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2003 9:27 PM
> To: 'Struts Users Mailing List'
> Subject: FW: Vacancy
> 
> 
> PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one 
> of the Plantation and Plant Research export oriented National company.
> We are developing a web based application for supporting our growing
> business. We are now having a vacancy for System DEveloper position for our
> Pare, Kediri site.
> 
> We seek candidate with specific criterias as mentioned below: 1. At 
> least Bachelor degree in Computer science with GAP >=2.75 2. Ability 
> in JAVA and JSP is a must. 3. Fully understanding in RDBMS concept. 4. 
> ability in Oracle/MySQL is highly valued.
> 
> Full application include :
> -CV or Resume
> -Your Recent Photo or scanned Photo
> -Copy of your certificates
> 
> Send your full application to [EMAIL PROTECTED] 
>  or by postal service to
> Attn : P.Suryanto, EDP
> PO BOX 1261, Surabaya
> 
> -
> 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]
> 
> 

-- 
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9


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


RE: Writing ActionForm(bean) class when the no of input boxes vary at runtime

2003-08-29 Thread Seshadhri Srinivasan
Hi,
I am used to coding ActionForm beans to get data from a JSP page when the
no. of input boxes on the page are constant. But now, I have a page wherein
I use a Handler class to get the dimensions of a table and then I use the
 tag to create variable number of input boxes(that constitute
the table) on the page. Now, for these input boxes I wish to write an
ActionForm bean. The problem is when the number of input boxes can very I am
not sure of how to write the get and set methods in the bean. Can some one
help me in writing the Form bean for this page. 

Thanks,
Seshadhri Srinivasan

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



RE: [FRIDAY] Vacancy

2003-08-29 Thread Kristanto Oetomo
It's one of the 10 largest agro business companies in the world with a
net profit of 10 Billion USD=)
http://www.cpthailand.com/
Yeah, its headquarter is in Thailand with a branch company in Indonesia


-Original Message-
From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 6:47 PM
To: 'Struts Users Mailing List'
Subject: RE: [FRIDAY] Vacancy


Its in Indonesia, not India


-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 6:32 PM
To: Struts Users Mailing List
Subject: Re: [FRIDAY] Vacancy

Mark, they won't want you, so just forget about it.

However after watching the Bollywood movie 'Sometimes Happy, Sometimes 
Sad', I can understand why impressionable people like you might want to 
go and work there. ;)


On 08/29/2003 11:51 AM Mark Galbreath wrote:
> Where the heck is this?  Is English spoken there?
> 
> -Original Message-
> From: Indra Gunawan [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2003 9:27 PM
> To: 'Struts Users Mailing List'
> Subject: FW: Vacancy
> 
> 
> PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one
of
> the
> Plantation and Plant Research export oriented National company. 
> We are developing a web based application for supporting our growing
> business. We are now having a vacancy for System DEveloper position
for our
> Pare, Kediri site.
> 
> We seek candidate with specific criterias as mentioned below: 1. At
least
> Bachelor degree in Computer science with GAP >=2.75 2. Ability in JAVA
and
> JSP is a must. 3. Fully understanding in RDBMS concept. 4. ability in 
> Oracle/MySQL is highly valued.
> 
> Full application include :
> -CV or Resume
> -Your Recent Photo or scanned Photo
> -Copy of your certificates
> 
> Send your full application to [EMAIL PROTECTED] 
>  or by postal service to
> Attn : P.Suryanto, EDP
> PO BOX 1261, Surabaya
> 
> -
> 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]
> 
> 

-- 
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9


-
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]



Re: [FRIDAY] Vacancy

2003-08-29 Thread Adam Hardy
no way, you're only saying that so I won't send my CV, coz you want the job.



On 08/29/2003 12:46 PM Mohd Amin Mohd Din wrote:
Its in Indonesia, not India

-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 6:32 PM
To: Struts Users Mailing List
Subject: Re: [FRIDAY] Vacancy

Mark, they won't want you, so just forget about it.

However after watching the Bollywood movie 'Sometimes Happy, Sometimes 
Sad', I can understand why impressionable people like you might want to 
go and work there. ;)

On 08/29/2003 11:51 AM Mark Galbreath wrote:

Where the heck is this?  Is English spoken there?

-Original Message-
From: Indra Gunawan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 28, 2003 9:27 PM
To: 'Struts Users Mailing List'
Subject: FW: Vacancy

PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one
of

the 
Plantation and Plant Research export oriented National company. 
We are developing a web based application for supporting our growing
business. We are now having a vacancy for System DEveloper position
for our

Pare, Kediri site.

We seek candidate with specific criterias as mentioned below: 1. At
least

Bachelor degree in Computer science with GAP >=2.75 2. Ability in JAVA
and

JSP is a must. 3. Fully understanding in RDBMS concept. 4. ability in
Oracle/MySQL is highly valued.
Full application include :
-CV or Resume
-Your Recent Photo or scanned Photo
-Copy of your certificates
Send your full application to [EMAIL PROTECTED]
 
or by postal service to
Attn : P.Suryanto, EDP
PO BOX 1261, Surabaya

-
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]



--
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


2 Parameters

2003-08-29 Thread Mehta, Chirag (IT)
Does anyone know if it possible to pass 2 parameters using the display
tag?

Current code:



Produces link:
http://localhost:8080/wact/pages/GIM2Results.do?testsqlscript=select

corp,lname,sname from corporat order by lname 
for example but I want
 
http://localhost:8080/wact/pages/GIM2Results.do?testsqlscript=select

corp,lname,sname from corporat order by lname&sqltitle=corpbroker
 
 
Anyone have any suggestions?
 
Chirag


--
NOTICE: If received in error, please destroy and notify sender.  Sender does not waive 
confidentiality or privilege, and use is prohibited.

RE: [FRIDAY] Vacancy

2003-08-29 Thread Andrew Hill
Hmm practically next door to me :-)
(I even studied bahasa at uni, not that I can remember a word now)

-Original Message-
From: Kristanto Oetomo [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 18:52
To: 'Struts Users Mailing List'
Subject: RE: [FRIDAY] Vacancy


It's one of the 10 largest agro business companies in the world with a
net profit of 10 Billion USD=)
http://www.cpthailand.com/
Yeah, its headquarter is in Thailand with a branch company in Indonesia


-Original Message-
From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 6:47 PM
To: 'Struts Users Mailing List'
Subject: RE: [FRIDAY] Vacancy


Its in Indonesia, not India


-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 6:32 PM
To: Struts Users Mailing List
Subject: Re: [FRIDAY] Vacancy

Mark, they won't want you, so just forget about it.

However after watching the Bollywood movie 'Sometimes Happy, Sometimes 
Sad', I can understand why impressionable people like you might want to 
go and work there. ;)


On 08/29/2003 11:51 AM Mark Galbreath wrote:
> Where the heck is this?  Is English spoken there?
> 
> -Original Message-
> From: Indra Gunawan [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2003 9:27 PM
> To: 'Struts Users Mailing List'
> Subject: FW: Vacancy
> 
> 
> PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one
of
> the
> Plantation and Plant Research export oriented National company. 
> We are developing a web based application for supporting our growing
> business. We are now having a vacancy for System DEveloper position
for our
> Pare, Kediri site.
> 
> We seek candidate with specific criterias as mentioned below: 1. At
least
> Bachelor degree in Computer science with GAP >=2.75 2. Ability in JAVA
and
> JSP is a must. 3. Fully understanding in RDBMS concept. 4. ability in 
> Oracle/MySQL is highly valued.
> 
> Full application include :
> -CV or Resume
> -Your Recent Photo or scanned Photo
> -Copy of your certificates
> 
> Send your full application to [EMAIL PROTECTED] 
>  or by postal service to
> Attn : P.Suryanto, EDP
> PO BOX 1261, Surabaya
> 
> -
> 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]
> 
> 

-- 
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9


-
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]



Re: ApplicationResources

2003-08-29 Thread James Mitchell
http://www.mail-archive.com/[EMAIL PROTECTED]/msg73159.html


--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
770-822-3359
AIM:jmitchtx



- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2003 1:32 PM
Subject: ApplicationResources


> Hi,
> I was of the assumption that the application resources and localization
are
> implemented based on Java resource bundles. I was surprised that it did
> not. Can somebody explain why? Just curious.
>
> Thanks
>
>
>
> -
> The information contained in this communication (including any attachments
hereto) is confidential and is intended solely for the personal and
confidential use of the individual or entity to whom it is addressed.  The
information may also constitute a legally privileged confidential
communication.  If the reader of this message is not the intended recipient
or an agent responsible for delivering it to the intended recipient, you are
hereby notified that you have received this communication in error and that
any review, dissemination, copying, or unauthorized use of this information,
or the taking of any action in reliance on the contents of this information
is strictly prohibited.  If you have received this communication in error,
please notify us immediately by e-mail, and delete the original message.
Thank you
>
>
> -
> 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]



RE: Writing ActionForm(bean) class when the no of input boxes va ry at runtime

2003-08-29 Thread Seshadhri Srinivasan
Hi,
I would like to add another query. I wish to know how I can assign unique
property ids to my text boxes(i.e. ) in the
following code.  I feel would be needing unique ids so that I can access
their values through the Action Form. Please Correct me if my last statement
is incorrect.

This is a part of my JSP:

 
  
S2
 

 
 



  
Thanks Once Again,
Seshadhri Srinivasan

Original Message-
From: Seshadhri Srinivasan [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 4:22 PM
To: 'Struts Users Mailing List'
Cc: Balabaskaran, Kanagasabai; Kartikeya Misra
Subject: RE: Writing ActionForm(bean) class when the no of input boxes
va ry at runtime


Hi,
I am used to coding ActionForm beans to get data from a JSP page when the
no. of input boxes on the page are constant. But now, I have a page wherein
I use a Handler class to get the dimensions of a table and then I use the
 tag to create variable number of input boxes(that constitute
the table) on the page. Now, for these input boxes I wish to write an
ActionForm bean. The problem is when the number of input boxes can very I am
not sure of how to write the get and set methods in the bean. Can some one
help me in writing the Form bean for this page. 

Thanks,
Seshadhri Srinivasan

-
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]



RE: What is Java Server faces ?

2003-08-29 Thread Andrew Hill
Eh?
You sure thats the link Mark?
I read through it but it all seems to be some nonsense about questionable
hackers , or hackers with questions or asking questions or something like
that? - I didnt see anything about JSF or even struts.

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 17:54
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: What is Java Server faces ?


This should help:

http://www.catb.org/~esr/faqs/smart-questions.html

-Original Message-
From: Madhu Nair [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 3:52 AM

What is java server faces technology? Is it similar to Struts ? Will all
that I learnt about Struts go waste?

Regards,
Madhu



-
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]



RE: [FRIDAY] Vacancy

2003-08-29 Thread Mark Galbreath
Isn't Andrew living/working in Indonesia?  I thought he said he hated it
there.

-Original Message-
From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 6:47 AM

Its in Indonesia, not India

-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 6:32 PM

Mark, they won't want you, so just forget about it.

However after watching the Bollywood movie 'Sometimes Happy, Sometimes 
Sad', I can understand why impressionable people like you might want to 
go and work there. ;)

On 08/29/2003 11:51 AM Mark Galbreath wrote:
> Where the heck is this?  Is English spoken there?
> 
> -Original Message-
> From: Indra Gunawan [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2003 9:27 PM
> 
> PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one
of
> the
> Plantation and Plant Research export oriented National company. 
> We are developing a web based application for supporting our growing
> business. We are now having a vacancy for System DEveloper position
for our
> Pare, Kediri site.
> 
> We seek candidate with specific criterias as mentioned below: 1. At
least
> Bachelor degree in Computer science with GAP >=2.75 2. Ability in JAVA
and
> JSP is a must. 3. Fully understanding in RDBMS concept. 4. ability in 
> Oracle/MySQL is highly valued.
> 
> Full application include :
> -CV or Resume
> -Your Recent Photo or scanned Photo
> -Copy of your certificates
> 
> Send your full application to [EMAIL PROTECTED] 
>  or by postal service to
> Attn : P.Suryanto, EDP
> PO BOX 1261, Surabaya



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



RE: [FRIDAY] Vacancy

2003-08-29 Thread Andrew Hill
Uh, no. Havent even been there (unless you count flying over).

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 18:55
To: 'Struts Users Mailing List'
Subject: RE: [FRIDAY] Vacancy


Isn't Andrew living/working in Indonesia?  I thought he said he hated it
there.

-Original Message-
From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 6:47 AM

Its in Indonesia, not India

-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 6:32 PM

Mark, they won't want you, so just forget about it.

However after watching the Bollywood movie 'Sometimes Happy, Sometimes 
Sad', I can understand why impressionable people like you might want to 
go and work there. ;)

On 08/29/2003 11:51 AM Mark Galbreath wrote:
> Where the heck is this?  Is English spoken there?
> 
> -Original Message-
> From: Indra Gunawan [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2003 9:27 PM
> 
> PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one
of
> the
> Plantation and Plant Research export oriented National company. 
> We are developing a web based application for supporting our growing
> business. We are now having a vacancy for System DEveloper position
for our
> Pare, Kediri site.
> 
> We seek candidate with specific criterias as mentioned below: 1. At
least
> Bachelor degree in Computer science with GAP >=2.75 2. Ability in JAVA
and
> JSP is a must. 3. Fully understanding in RDBMS concept. 4. ability in 
> Oracle/MySQL is highly valued.
> 
> Full application include :
> -CV or Resume
> -Your Recent Photo or scanned Photo
> -Copy of your certificates
> 
> Send your full application to [EMAIL PROTECTED] 
>  or by postal service to
> Attn : P.Suryanto, EDP
> PO BOX 1261, Surabaya



-
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]



Manipulation messages in Action Objects!

2003-08-29 Thread manglu
Hi,

How do i write an attribute which is specified in teh request scope 
(contains the key from a message bundle)

The bean:write expects a Bean to be in one of hte scopes?

What are the tags available for me to use?

Also,

i have a message like this:

docket.title=Docket {0} Services ({1})

where {0} could be one of

docket.transaction=Transaction
docket.master=Master
docket.posted=Posted
and one could be one of

telephone.ship.to.shore=Telephone Ship to Shore
telephone.shore.to.ship=Telephone Shore to Ship
telegram.ship.to.shore=Telegram Ship to Shore
telegram.shore.to.ship=Telegram Shore to Ship
The values of {0} and {1} are determined in my action object.

How do i get the messages from the bundle?

Currently i am doing it this way and i am sure there must be another way 
(a easier one to achieve the same)

String arg1= null;
String arg2= null;
String arg3= null;


MessageResources messages= getResources(request);
Locale locale= (Locale) session.getAttribute(Action.LOCALE_KEY);
	arg1= form.getPageTitle();

if (callCategory.equals("1"))
{
arg2=(Object) "telephone.ship.to.shore";
		}

else if (callCategory.equals("2"))
{
arg2= (Object) "telephone.shore.to.ship";
		}

else if (callCategory.equals("3"))
{
arg2= (Object) "telegram.ship.to.shore";
}
else
{
arg2= (Object) "telegram.shore.to.ship";
		}

		arg1 =  messages.getMessage(locale, (String) arg1);
		arg2 =  messages.getMessage(locale, (String) arg2);arg3= 
messages.getMessage(locale, (String) arg3);

String output= messages.getMessage(locale, "docket.title", arg1, arg2, 
arg3);

and i am using a JSP expression to print this value of output.

TIA

Manglu



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


Repost: Validations in Action Form

2003-08-29 Thread sriram
Can some please validate this?

My application uses Struts Action Form.
I am also using Value Objects.
I am not doing validations using validations.xml and validator-rules.xml. I'm 
performing simple validations on server side as follows:

Can some one please check the below code and tell me if what I am doing is correct?

In Action Form "validate" method, the code as follows:

= code in validate method of ActionForm ==

ActionErrors errs = new ActionErrors();
MyValues val = new MyValues();

try {
  val.setInputField(inputField_);
} catch (IllegalArgumentException ex) {
  errs.add(FLD_INPUT_FIELD,new 
ActionError("myviewform.error_input_field",ex.getMessage()));
}

= code in Value Object - MyValues =

public void setInputField(String val) {
if (val==null || val.length()==0) 
throw new IllegalArgumentException("Illegal null parameter passed to 
setInputField");
if (val!=null && val.length()>100)  // max length of this field is 100
throw new IllegalArgumentException("Illegal parameter value too long 
passed to setInputField,value="+val);
inputField_=val;
   
  }// end of setInputField



With the above code, can I say that the validations are written in "validate" method 
of ActionForm? Someone mentioned that since I'm performing actual validations in 
MyValues, the validations are not being done in ActionForm, and so it does not follow 
Struts Framework rules. Is this true? Please clarify.




UML class diagram -> Struts-aware GUI, anyone?

2003-08-29 Thread karl wettin

Struts-users,

my project Silvertejp translates UML class diagrams to stereotyped
source code (beans, persistent beans, et.c.). Now I want it to generate
Struts-aware code so that one can navigate and edit the data. Since I've
never touched Struts before, I need help defining the template dummy code.

Anyone care to help me? 




karl



-- 
http://sf.net/projects/silvertejp/ 

[Human]<|--+--[Woman]<>-- +mother +child {0..*} --[Human]
   \--[Man]<>-- +father +child {0..*} --[Human]

"arghhh .. it's all in geek" - objectmonkey.com 

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



Debugging App under SunOne JVM

2003-08-29 Thread sreekant_gottimukkala
Has anyone tried remote debugging an App under SunOne JVM using ECLIPSE
Remote Debugging facility.

Regards
Sreekant G
@ 98404-65630


This mail was scanned by Interscan Virus Wall of Mailserver2 at SNR, TCS, Chennai

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

Re: Repost: Validations in Action Form

2003-08-29 Thread Adam Hardy
Hi Siriam,
there are no struts framework rules. There is the MVC framework which 
you should try to adhere to and not violate, which is why you are using 
struts, right?

There are areas in struts where the adherence to MVC design, or even OO 
design, is not 'optimal', caused by the interfaces between model and 
view, or view and control, or control and model.

It's the same with OO - there are people who say struts should 
incorporate action classes and form classes so that functionality is 
encapsulated with its related data.

Somewhere there has to be a compromise for the sake of productivity.

I've done what you outlined below. It works great having the validation 
checks in the value objects, especially for using nested beans. While it 
enhances OO design, it does decrease MVC seperation because you now have 
classes in your model (that's where you send the value objects I 
presume) where you can call View-layer validation. Not that you would, 
but it would niggle the purists.

Adam



On 08/29/2003 01:18 PM sriram wrote:
Can some please validate this?

My application uses Struts Action Form.
I am also using Value Objects.
I am not doing validations using validations.xml and validator-rules.xml. I'm 
performing simple validations on server side as follows:
Can some one please check the below code and tell me if what I am doing is correct?

In Action Form "validate" method, the code as follows:

= code in validate method of ActionForm ==

ActionErrors errs = new ActionErrors();
MyValues val = new MyValues();
try {
  val.setInputField(inputField_);
} catch (IllegalArgumentException ex) {
  errs.add(FLD_INPUT_FIELD,new 
ActionError("myviewform.error_input_field",ex.getMessage()));
}
= code in Value Object - MyValues =

public void setInputField(String val) {
if (val==null || val.length()==0) 
		throw new IllegalArgumentException("Illegal null parameter passed to setInputField");
if (val!=null && val.length()>100)  // max length of this field is 100
		throw new IllegalArgumentException("Illegal parameter value too long passed to setInputField,value="+val);
inputField_=val;
   
  }// end of setInputField



With the above code, can I say that the validations are written in "validate" method of ActionForm? Someone mentioned that since I'm performing actual validations in MyValues, the validations are not being done in ActionForm, and so it does not follow Struts Framework rules. Is this true? Please clarify.



--
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JSTL API docs?

2003-08-29 Thread Adam Hardy
Thanks everybody, although David and Mark you were both not quite there 
- this is what I had:



where contextHeader is a variable created by Tiles containing the 
resource key. It is:



Mark the 'var' attribute is the variable that fmt puts the result 
*into*, not the one it gets the key from.

Normally I'd rather have my nails ripped out that read a specification, 
but it is actually clear enough.

With all the description tags in the TLDs though, it looked like they 
could easily be put through javadoc (or should that be xmldoc) to 
produce some nice docs.

Adam

On 08/29/2003 04:29 AM Craig R. McClanahan wrote:
On Fri, 29 Aug 2003, Adam Hardy wrote:


Date: Fri, 29 Aug 2003 00:22:06 +0200
From: Adam Hardy <[EMAIL PROTECTED]>
Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: JSTL API docs?
I can't find the docs for JSTL anywhere. I mean the API, like the API
for the struts taglibs bean:, html: etc with every tag and it's required
and optional attributes and a brief desc.
I've looked all over jakarta and sun, and not found anything. I
downloaded the jakarta taglibs and they have it for all their taglibs,
but not for the JSTL standard taglib.
I guess this is a taglibs mailing list question, but I've searched their
archives and not found any mention of hundreds of people groping around
in the dark for the API docs.
I kind of looked in the J2EE api at sun but couldn't see anything.

I've now downloaded sun's java webservices developer pack or whatever it
is, and am looking at the xml for the tld. Is there anything better?
thanks
Adam


It's not quite in the same format, but the JSTL Specification is actually
a pretty readable summary of what each of the tags does, and what the
valid attributes are.  Start at:
  http://java.sun.com/products/jsp/jstl/

for links.  On that page, you'll also find a link to a quick reference
summary you can download and print.
Craig

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

--
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


how to show pdf from the struts

2003-08-29 Thread Mahbub ul Huq Bin Kabir
Hi,

I'm using struts from few months and now doing reports using xml and xslt. 
I'm using xalan to generate reports and now want to use FOP to generate 
reports. I make a report and i can generate it but I'm using Internet 
Explorer 6.0 which does not starts Acrobat reader automatically, i go 
through the fop's web site and they suggeste to fake it using .pdf 
extension. Can anyone help me to get out of this problem.

I want to add a extra parameter with my action submit like this 
http://localhost/meena/report.ezb?fakeID=usethis.pdf

or any better idea and solution

Thank you,

Mahbub

_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

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


RE: Repost: Validations in Action Form

2003-08-29 Thread sriram
Adam,

Thanks for the information. 

Sriram

-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 5:18 PM
To: Struts Users Mailing List
Subject: Re: Repost: Validations in Action Form


Hi Siriam,
there are no struts framework rules. There is the MVC framework which 
you should try to adhere to and not violate, which is why you are using 
struts, right?

There are areas in struts where the adherence to MVC design, or even OO 
design, is not 'optimal', caused by the interfaces between model and 
view, or view and control, or control and model.

It's the same with OO - there are people who say struts should 
incorporate action classes and form classes so that functionality is 
encapsulated with its related data.

Somewhere there has to be a compromise for the sake of productivity.

I've done what you outlined below. It works great having the validation 
checks in the value objects, especially for using nested beans. While it 
enhances OO design, it does decrease MVC seperation because you now have 
classes in your model (that's where you send the value objects I 
presume) where you can call View-layer validation. Not that you would, 
but it would niggle the purists.

Adam



On 08/29/2003 01:18 PM sriram wrote:
> Can some please validate this?
> 
> My application uses Struts Action Form.
> I am also using Value Objects.
> I am not doing validations using validations.xml and 
> validator-rules.xml. I'm performing simple validations on server side 
> as follows:
> 
> Can some one please check the below code and tell me if what I am 
> doing is correct?
> 
> In Action Form "validate" method, the code as follows:
> 
> = code in validate method of ActionForm ==
> 
> ActionErrors errs = new ActionErrors();
> MyValues val = new MyValues();
> 
> try {
>   val.setInputField(inputField_);
> } catch (IllegalArgumentException ex) {
>   errs.add(FLD_INPUT_FIELD,new 
> ActionError("myviewform.error_input_field",ex.getMessage()));
> }
> 
> = code in Value Object - MyValues =
> 
> public void setInputField(String val) {
> if (val==null || val.length()==0) 
>   throw new IllegalArgumentException("Illegal null parameter passed to 
> setInputField");
> if (val!=null && val.length()>100)  // max length of this field is 100
>   throw new IllegalArgumentException("Illegal parameter value too long 
> passed to setInputField,value="+val);
> inputField_=val;
>
>   }// end of setInputField
> 
> 
> 
> With the above code, can I say that the validations are written in 
> "validate" method of ActionForm? Someone mentioned that since I'm 
> performing actual validations in MyValues, the validations are not 
> being done in ActionForm, and so it does not follow Struts Framework 
> rules. Is this true? Please clarify.
> 
> 
> 

-- 
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9


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


WEB interface ?

2003-08-29 Thread Andrey . Rogov
There is Enterprise Management System done under Power Builder, Oracle. I'd
like to re-write applications on Java, as it will be not request client's
workstations configuration.
I'm thinking about client's interface. WEB interface has some advantages,
but it has some disadvantages the same time (not-WEB applications has
disadvantages as well).
 Would you mind giving me your recommendation regarding using WEB interface
or Java+JRunner?
Thank you in advance,

 Best regards,
 Andrey  mailto:[EMAIL PROTECTED]


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



JMeter + WSAD 5.0

2003-08-29 Thread Raj Atchutuni
Did anyone used JMeter with WSAD 5.0. Is it a plug-in which we can integrate in 
WSAD5.0. Please send me a link for 'how-to' if you have one.
Thanks
Raj


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

RE: 2 Parameters

2003-08-29 Thread Paul McCulloch
You might have more luck on the list for that tag:
http://lists.sourceforge.net/lists/listinfo/displaytag-user

I use decorators to do this sort of thing.

Paul

-Original Message-
From: Mehta, Chirag (IT) [mailto:[EMAIL PROTECTED]
Sent: 29 August 2003 12:02
To: Struts Users Mailing List
Subject: 2 Parameters


Does anyone know if it possible to pass 2 parameters using the display
tag?

Current code:



Produces link:
http://localhost:8080/wact/pages/GIM2Results.do?testsqlscript=select

corp,lname,sname from corporat order by lname 
for example but I want
 
http://localhost:8080/wact/pages/GIM2Results.do?testsqlscript=select

corp,lname,sname from corporat order by lname&sqltitle=corpbroker
 
 
Anyone have any suggestions?
 
Chirag


--
NOTICE: If received in error, please destroy and notify sender.  Sender does
not waive confidentiality or privilege, and use is prohibited.


**
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.


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



RE: What is Java Server faces ?

2003-08-29 Thread Mark Galbreath
Did you read the part about doing a web search before posting inane
questions on mailing lists?

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 7:04 AM
To: Struts Users Mailing List
Subject: RE: What is Java Server faces ?


Eh?
You sure thats the link Mark?
I read through it but it all seems to be some nonsense about questionable
hackers , or hackers with questions or asking questions or something like
that? - I didnt see anything about JSF or even struts.

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 17:54
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: What is Java Server faces ?


This should help:

http://www.catb.org/~esr/faqs/smart-questions.html

-Original Message-
From: Madhu Nair [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 3:52 AM

What is java server faces technology? Is it similar to Struts ? Will all
that I learnt about Struts go waste?

Regards,
Madhu



-
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]



Re: What in the world is tag for???

2003-08-29 Thread Bill Johnson
Can you elaborate on this? Are you saying that
 cannot see the implicit "request" or
"session" objects?

Regards,

Bill



--- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:
> On Thu, 28 Aug 2003, Bill Johnson wrote:
> 
> > Date: Thu, 28 Aug 2003 19:48:20 -0700 (PDT)
> > From: Bill Johnson <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List
> <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: What in the world is  tag
> for???
> >
> > Ok, unless I missed something this tag seems
> > completely redundant. It is used to expose the
> > properties of the PageContext object, but they all
> > come "pre-exposed" by default with JSPs.
> >
> > Can someone please explain its purpose?  Were
> these
> > variables (session, request, etc.) not initially
> > implicitly available in JSPs?
> >
> 
> They are pre-exposed as scripting variables (which
> is fine if you want to
> write scriptlets), but not anything you can get to
> with a custom tag that
> wants to use expressions (like , just to
> take one example).
> 
> > Regards,
> >
> > Bill
> 
> Craig McClanahan
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



RE: What is Java Server faces ?

2003-08-29 Thread Andrew Hill
Well yeah sure, but I just assumed it only applied to other people.

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 20:42
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: What is Java Server faces ?


Did you read the part about doing a web search before posting inane
questions on mailing lists?

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 7:04 AM
To: Struts Users Mailing List
Subject: RE: What is Java Server faces ?


Eh?
You sure thats the link Mark?
I read through it but it all seems to be some nonsense about questionable
hackers , or hackers with questions or asking questions or something like
that? - I didnt see anything about JSF or even struts.

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 17:54
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: What is Java Server faces ?


This should help:

http://www.catb.org/~esr/faqs/smart-questions.html

-Original Message-
From: Madhu Nair [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 3:52 AM

What is java server faces technology? Is it similar to Struts ? Will all
that I learnt about Struts go waste?

Regards,
Madhu



-
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]



Re: What is Java Server faces ?

2003-08-29 Thread Jeff Kyser
do you still have to do a web search if you don't actually
ask an inane question, but instead include the phrase
'I don't have the time to...'
LOL

-jeff

On Friday, August 29, 2003, at 07:41  AM, Mark Galbreath wrote:

Did you read the part about doing a web search before posting inane
questions on mailing lists?
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 7:04 AM
To: Struts Users Mailing List
Subject: RE: What is Java Server faces ?
Eh?
You sure thats the link Mark?
I read through it but it all seems to be some nonsense about 
questionable
hackers , or hackers with questions or asking questions or something 
like
that? - I didnt see anything about JSF or even struts.

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 17:54
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: What is Java Server faces ?
This should help:

http://www.catb.org/~esr/faqs/smart-questions.html

-Original Message-
From: Madhu Nair [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 3:52 AM
What is java server faces technology? Is it similar to Struts ? Will 
all
that I learnt about Struts go waste?

Regards,
Madhu


-
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]


Re: Vacancy

2003-08-29 Thread David Stemm
Why would you need a recent photo for an application?

- Original Message - 
From: "Indra Gunawan" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2003 8:27 PM
Subject: FW: Vacancy


> PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one
> of the 
> Plantation and Plant Research export oriented National company. 
> We are developing a web based application for supporting our growing
> business.
> We are now having a vacancy for System DEveloper position for our Pare,
> Kediri site.
> 
> We seek candidate with specific criterias as mentioned below:
> 1. At least Bachelor degree in Computer science with GAP >=2.75
> 2. Ability in JAVA and JSP is a must.
> 3. Fully understanding in RDBMS concept.
> 4. ability in Oracle/MySQL is highly valued.
> 
> Full application include :
> -CV or Resume
> -Your Recent Photo or scanned Photo
> -Copy of your certificates
> 
> Send your full application to [EMAIL PROTECTED]
>  
> or by postal service to
> Attn : P.Suryanto, EDP
> PO BOX 1261, Surabaya
> 
> -
> 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]



RE: Vacancy

2003-08-29 Thread Andrew Hill
Never figured it out, but its pretty much standard practice in this corner
of the world!

-Original Message-
From: David Stemm [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 20:42
To: Struts Users Mailing List
Subject: Re: Vacancy


Why would you need a recent photo for an application?

- Original Message -
From: "Indra Gunawan" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2003 8:27 PM
Subject: FW: Vacancy


> PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one
> of the
> Plantation and Plant Research export oriented National company.
> We are developing a web based application for supporting our growing
> business.
> We are now having a vacancy for System DEveloper position for our Pare,
> Kediri site.
>
> We seek candidate with specific criterias as mentioned below:
> 1. At least Bachelor degree in Computer science with GAP >=2.75
> 2. Ability in JAVA and JSP is a must.
> 3. Fully understanding in RDBMS concept.
> 4. ability in Oracle/MySQL is highly valued.
>
> Full application include :
> -CV or Resume
> -Your Recent Photo or scanned Photo
> -Copy of your certificates
>
> Send your full application to [EMAIL PROTECTED]
> 
> or by postal service to
> Attn : P.Suryanto, EDP
> PO BOX 1261, Surabaya
>
> -
> 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]



[OT] RE: What is Java Server faces ?

2003-08-29 Thread Mark Galbreath
yep, and can you write my code for me?

-Original Message-
From: Jeff Kyser [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 9:02 AM
To: Struts Users Mailing List
Subject: Re: What is Java Server faces ?


do you still have to do a web search if you don't actually
ask an inane question, but instead include the phrase
'I don't have the time to...'

LOL

-jeff

On Friday, August 29, 2003, at 07:41  AM, Mark Galbreath wrote:

> Did you read the part about doing a web search before posting inane 
> questions on mailing lists?
>
> -Original Message-
> From: Andrew Hill [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 29, 2003 7:04 AM
> To: Struts Users Mailing List
> Subject: RE: What is Java Server faces ?
>
>
> Eh?
> You sure thats the link Mark?
> I read through it but it all seems to be some nonsense about
> questionable
> hackers , or hackers with questions or asking questions or something 
> like
> that? - I didnt see anything about JSF or even struts.
>
> -Original Message-
> From: Mark Galbreath [mailto:[EMAIL PROTECTED]
> Sent: Friday, 29 August 2003 17:54
> To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
> Subject: RE: What is Java Server faces ?
>
>
> This should help:
>
> http://www.catb.org/~esr/faqs/smart-questions.html
>
> -Original Message-
> From: Madhu Nair [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 29, 2003 3:52 AM
>
> What is java server faces technology? Is it similar to Struts ? Will
> all
> that I learnt about Struts go waste?
>
> Regards,
> Madhu
>
>
>
> -
> 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]



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



RE: Vacancy

2003-08-29 Thread Mark Galbreath
Al Quieda face recognition scans?

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 9:17 AM
To: Struts Users Mailing List
Subject: RE: Vacancy


Never figured it out, but its pretty much standard practice in this corner
of the world!

-Original Message-
From: David Stemm [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 20:42
To: Struts Users Mailing List
Subject: Re: Vacancy


Why would you need a recent photo for an application?

- Original Message -
From: "Indra Gunawan" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2003 8:27 PM
Subject: FW: Vacancy


> PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one 
> of the Plantation and Plant Research export oriented National company.
> We are developing a web based application for supporting our growing
> business.
> We are now having a vacancy for System DEveloper position for our Pare,
> Kediri site.
>
> We seek candidate with specific criterias as mentioned below: 1. At 
> least Bachelor degree in Computer science with GAP >=2.75 2. Ability 
> in JAVA and JSP is a must. 3. Fully understanding in RDBMS concept.
> 4. ability in Oracle/MySQL is highly valued.
>
> Full application include :
> -CV or Resume
> -Your Recent Photo or scanned Photo
> -Copy of your certificates
>
> Send your full application to [EMAIL PROTECTED] 
>  or by postal service to
> Attn : P.Suryanto, EDP
> PO BOX 1261, Surabaya
>
> -
> 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]



Re: XML Parsing - Castor and Digester ?

2003-08-29 Thread Greg Reddin
Castor: http://www.castor.org/
Digester: http://jakarta.apache.org/commons/digester/
krthekeyan wrote:
Hi,
I found our guys suggested Castor and Digester xml parsers  for xml parsing.
May i know what are these and what for we can use this.
and in which way it is different between jaxp and jaxb specifications of
sun.and can u suggest me where can i find more details about this.



DISCLAIMER:
This email message is for the sole use of the intended recipient(s) and may contain 
confidential and privileged information.  Any unauthorized review, use, disclosure or 
distribution is prohibited.  If you are not the intended recipient, please contact the 
sender by reply email and destroy all copies of the original message and attachments.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[FRIDAY] RE: Vacancy

2003-08-29 Thread Bill Chmura

I am pretty sure this is one of those hiring for an evil army jobs...
Sure first they hit you with the "its going to be so cool for you being
an evil henchmen" then your off in the middle of nowhere with no girls
anywhere execpt for the evil madmans henchnessess and forget about
them...

This has come work for our evil empire written all over it...

BISICP - Come on, that is an evil sounding as HYDRA, CHAOS, or SPECTRE

Pare, Kediri site - isolated sounding location, perfect for nefarious
evil scheme development

GPA 2.75 - we like em smart, but not smart enough to figure out what is
going on around them

"Plantation and Plant research" - Perfect cover story, no one would
suspect a thing.


I answered an ad like this, ended up doing cobol in the arctic for some
guy that was going to take over the world.  Turns out he was only
marginally evil, ended up scaring some eskimos.  Lousy benefits.  If you
want to work for seriously evil empire, join up with corporate america!




  > -Original Message-
  > From: David Stemm [mailto:[EMAIL PROTECTED] 
  > Sent: Friday, August 29, 2003 8:42 AM
  > To: Struts Users Mailing List
  > Subject: Re: Vacancy
  > 
  > 
  > Why would you need a recent photo for an application?
  > 
  > - Original Message - 
  > From: "Indra Gunawan" <[EMAIL PROTECTED]>
  > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
  > Sent: Thursday, August 28, 2003 8:27 PM
  > Subject: FW: Vacancy
  > 
  > 
  > > PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) 
  > group, is one 
  > > of the Plantation and Plant Research export oriented 
  > National company.
  > > We are developing a web based application for supporting 
  > our growing
  > > business.
  > > We are now having a vacancy for System DEveloper position 
  > for our Pare,
  > > Kediri site.
  > > 
  > > We seek candidate with specific criterias as mentioned 
  > below: 1. At 
  > > least Bachelor degree in Computer science with GAP >=2.75 
  > 2. Ability 
  > > in JAVA and JSP is a must. 3. Fully understanding in 
  > RDBMS concept.
  > > 4. ability in Oracle/MySQL is highly valued.
  > > 
  > > Full application include :
  > > -CV or Resume
  > > -Your Recent Photo or scanned Photo
  > > -Copy of your certificates
  > > 
  > > Send your full application to [EMAIL PROTECTED] 
  > >  or by postal service to
  > > Attn : P.Suryanto, EDP
  > > PO BOX 1261, Surabaya
  > > 
  > > 
  > 
  > -
  > > 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]



html:base pe problem

2003-08-29 Thread Heather Buch
Hi,

When I use the 

 tag (using Tiles), my 

 url gets rendered with a "pe" at the end, plus some other
gibberish that prevents it from working, for example:

http://www.myurl.compe";>

instead of 

http://www.myurl.com";>

So I had to remove the  tag. But what if I have problems and need
to use  after all? Has anyone experienced this?

Where does  get its url?

Thanks,

Heather Buch


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



Re: Vacancy

2003-08-29 Thread James Harman
So that they can determine if you would be a good model for the 
company's corporate clothing line.

David Stemm wrote:

Why would you need a recent photo for an application?

- Original Message - 
From: "Indra Gunawan" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2003 8:27 PM
Subject: FW: Vacancy

 

PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one
of the 
Plantation and Plant Research export oriented National company. 
We are developing a web based application for supporting our growing
business.
We are now having a vacancy for System DEveloper position for our Pare,
Kediri site.

We seek candidate with specific criterias as mentioned below:
1. At least Bachelor degree in Computer science with GAP >=2.75
2. Ability in JAVA and JSP is a must.
3. Fully understanding in RDBMS concept.
4. ability in Oracle/MySQL is highly valued.
Full application include :
-CV or Resume
-Your Recent Photo or scanned Photo
-Copy of your certificates
Send your full application to [EMAIL PROTECTED]
 
or by postal service to
Attn : P.Suryanto, EDP
PO BOX 1261, Surabaya

-
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]


Re: ? and & are bad for searchengines

2003-08-29 Thread Marius Oancea
Marius Oancea wrote:


   
  I have a web application made with struts. The servlet container 
is tomcat 4.1.x.
  All my action are called in the falloing way: 
/path/actionname?param1=text1¶m2=text2 and so on.
  Such urls are very bad for search engines.

  I  want to use urls like 
/path/actionname.html/param1.text1/param2.text2/ for example, and the 
action to get the parameters in a normal way 
(request.getParameter("param1")). Also Forms has to be able to handle 
all that things naturally without any code change.

  Should I also modify all strutstags (html:link for example) to 
create html code in that manner ? Or do u see another solution. I'm 
thinking to make filter like on the response who will transfor all 
urls in the right way.
   
 

   Is there any other guy who is trying to do the same?
   Any solutions around?


Thanx a lot

I'll try to create a servlet2.3 filter and If I'll success with that 
. opensource comunity will be richer. :-)

--
"Why program by hand in five days what you can spend five years of your life 
automating." - Terence Parr


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


RE: Vacancy

2003-08-29 Thread Kristanto Oetomo
Guys. Good or Evil. This company turns net profit of USD$10Billion


-Original Message-
From: James Harman [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 10:21 PM
To: Struts Users Mailing List
Subject: Re: Vacancy


So that they can determine if you would be a good model for the 
company's corporate clothing line.


David Stemm wrote:

>Why would you need a recent photo for an application?
>
>- Original Message -
>From: "Indra Gunawan" <[EMAIL PROTECTED]>
>To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
>Sent: Thursday, August 28, 2003 8:27 PM
>Subject: FW: Vacancy
>
>
>  
>
>>PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one

>>of the Plantation and Plant Research export oriented National company.
>>We are developing a web based application for supporting our growing
>>business.
>>We are now having a vacancy for System DEveloper position for our
Pare,
>>Kediri site.
>>
>>We seek candidate with specific criterias as mentioned below: 1. At 
>>least Bachelor degree in Computer science with GAP >=2.75 2. Ability 
>>in JAVA and JSP is a must. 3. Fully understanding in RDBMS concept.
>>4. ability in Oracle/MySQL is highly valued.
>>
>>Full application include :
>>-CV or Resume
>>-Your Recent Photo or scanned Photo
>>-Copy of your certificates
>>
>>Send your full application to [EMAIL PROTECTED] 
>> or by postal service to
>>Attn : P.Suryanto, EDP
>>PO BOX 1261, Surabaya
>>
>>-
>>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]



RE: Display Taglib vs HtmlTable

2003-08-29 Thread Yansheng Lin
I think 'htmltable' is a bit more powerful since it's got a few extra goodies
you can use.

I am not sure if you can sort the whole list with display taglib, but with
htmltable you can. Of course I only tried the released versioin of display, I
will give the 'display09' a try soon.

But both will do the thing for you if you only want to display something.  Also
you can edit one row at a time easily with both tablib(since you can get the id
column easily).  But if you want something like a spreadsheet editing, welcome
to the world of javascript:).  It's not so bad if you use OO strategy in
javascript, really.  Love 'prototype'. 

Hope this info helps!


-Original Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED] 
Sent: August 29, 2003 3:07 AM
To: 'Struts Users Mailing List'
Subject: RE: Display Taglib vs HtmlTable


I have only tried the display taglib. I've found it to be powerful, easy to
use & easy to extend.

My requirements are such that I've had to use the un-released 'display09'
stream. But it does everything I need, seems stable, and the code is easy
enough, for a developer with only a few months of Java, to understand.

Paul

-Original Message-
From: thomas Sontheimer [mailto:[EMAIL PROTECTED]
Sent: 29 August 2003 09:17
To: 'Struts Users Mailing List'
Subject: Display Taglib vs HtmlTable


http://edhill.its.uiowa.edu/display/

http://htmltable.yuriy-zubarev.com/jsp/index.jsp

Has anyone tried these two taglibs?
which one do you recommend?

thomas


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


**
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are
not the addressee indicated in this message (or responsible for delivery of the
message to such person), you may not copy or deliver this message to anyone. In
such case, you should destroy this message, and notify us immediately. If you or
your employer does not consent to Internet email messages of this kind, please
advise us immediately. Opinions, conclusions and other information expressed in
this message are not given or endorsed by my Company or employer unless
otherwise indicated by an authorised representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being
transmitted via electronic mail attachments we cannot guarantee that attachments
do not contain computer virus code.  You are therefore strongly advised to
undertake anti virus checks prior to accessing the attachment to this electronic
mail.  Axios Systems Ltd grants no warranties regarding performance use or
quality of any attachment and undertakes no liability for loss or damage
howsoever caused.


-
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]



RE: Vacancy

2003-08-29 Thread Yansheng Lin
A picture tells a story.  A recent photo likely reveals your age, gender, and
sometimes personality.  Imagine you sit in front of a camera, what would you
want yourself to look like?  And that tells the others what you *think* is your
best self, etc...

Photo editing is a big industry in Japan too, btw.  Companies will ask you to
handwrite your resume, image that!


-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED] 
Sent: August 29, 2003 7:17 AM
To: Struts Users Mailing List
Subject: RE: Vacancy


Never figured it out, but its pretty much standard practice in this corner
of the world!

-Original Message-
From: David Stemm [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 20:42
To: Struts Users Mailing List
Subject: Re: Vacancy


Why would you need a recent photo for an application?

- Original Message -
From: "Indra Gunawan" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2003 8:27 PM
Subject: FW: Vacancy


> PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one
> of the
> Plantation and Plant Research export oriented National company.
> We are developing a web based application for supporting our growing
> business.
> We are now having a vacancy for System DEveloper position for our Pare,
> Kediri site.
>
> We seek candidate with specific criterias as mentioned below:
> 1. At least Bachelor degree in Computer science with GAP >=2.75
> 2. Ability in JAVA and JSP is a must.
> 3. Fully understanding in RDBMS concept.
> 4. ability in Oracle/MySQL is highly valued.
>
> Full application include :
> -CV or Resume
> -Your Recent Photo or scanned Photo
> -Copy of your certificates
>
> Send your full application to [EMAIL PROTECTED]
> 
> or by postal service to
> Attn : P.Suryanto, EDP
> PO BOX 1261, Surabaya
>
> -
> 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]



Re: [FRIDAY] Vacancy

2003-08-29 Thread James Harman
I wonder if they consider a tele-commuter.

Andrew Hill wrote:

Uh, no. Havent even been there (unless you count flying over).

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 18:55
To: 'Struts Users Mailing List'
Subject: RE: [FRIDAY] Vacancy
Isn't Andrew living/working in Indonesia?  I thought he said he hated it
there.
-Original Message-
From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 6:47 AM

Its in Indonesia, not India

-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 6:32 PM

Mark, they won't want you, so just forget about it.

However after watching the Bollywood movie 'Sometimes Happy, Sometimes 
Sad', I can understand why impressionable people like you might want to 
go and work there. ;)

On 08/29/2003 11:51 AM Mark Galbreath wrote:
 

Where the heck is this?  Is English spoken there?

-Original Message-
From: Indra Gunawan [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 9:27 PM
PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one
   

of
 

the
Plantation and Plant Research export oriented National company. 
We are developing a web based application for supporting our growing
business. We are now having a vacancy for System DEveloper position
   

for our
 

Pare, Kediri site.

We seek candidate with specific criterias as mentioned below: 1. At
   

least
 

Bachelor degree in Computer science with GAP >=2.75 2. Ability in JAVA
   

and
 

JSP is a must. 3. Fully understanding in RDBMS concept. 4. ability in 
Oracle/MySQL is highly valued.

Full application include :
-CV or Resume
-Your Recent Photo or scanned Photo
-Copy of your certificates
Send your full application to [EMAIL PROTECTED] 
 or by postal service to
Attn : P.Suryanto, EDP
PO BOX 1261, Surabaya
   



-
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]


RE: [FRIDAY] Vacancy

2003-08-29 Thread Andrew Hill
A fair few of the expat workers in Indonesia are actually based here so they
fly over during the week, and back here for the weekend as its only an hour
or twos flight. (That sort of job is way out of my league of course, - alas!
my commute is a daily one - taking one and a half hours to get to work, and
the same to get home. (Literally halfway across the country twice a day!
(The anoying thing is its only 15 minutes by taxi, so I waste a fortune
during the busy months when Ive got to work 16+ hour days and dont have time
for the commute))

-Original Message-
From: James Harman [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 22:11
To: Struts Users Mailing List
Subject: Re: [FRIDAY] Vacancy


I wonder if they consider a tele-commuter.

Andrew Hill wrote:

>Uh, no. Havent even been there (unless you count flying over).
>
>-Original Message-
>From: Mark Galbreath [mailto:[EMAIL PROTECTED]
>Sent: Friday, 29 August 2003 18:55
>To: 'Struts Users Mailing List'
>Subject: RE: [FRIDAY] Vacancy
>
>
>Isn't Andrew living/working in Indonesia?  I thought he said he hated it
>there.
>
>-Original Message-
>From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED]
>Sent: Friday, August 29, 2003 6:47 AM
>
>Its in Indonesia, not India
>
>-Original Message-
>From: Adam Hardy [mailto:[EMAIL PROTECTED]
>Sent: Friday, August 29, 2003 6:32 PM
>
>Mark, they won't want you, so just forget about it.
>
>However after watching the Bollywood movie 'Sometimes Happy, Sometimes
>Sad', I can understand why impressionable people like you might want to
>go and work there. ;)
>
>On 08/29/2003 11:51 AM Mark Galbreath wrote:
>
>
>>Where the heck is this?  Is English spoken there?
>>
>>-Original Message-
>>From: Indra Gunawan [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, August 28, 2003 9:27 PM
>>
>>PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one
>>
>>
>of
>
>
>>the
>>Plantation and Plant Research export oriented National company.
>>We are developing a web based application for supporting our growing
>>business. We are now having a vacancy for System DEveloper position
>>
>>
>for our
>
>
>>Pare, Kediri site.
>>
>>We seek candidate with specific criterias as mentioned below: 1. At
>>
>>
>least
>
>
>>Bachelor degree in Computer science with GAP >=2.75 2. Ability in JAVA
>>
>>
>and
>
>
>>JSP is a must. 3. Fully understanding in RDBMS concept. 4. ability in
>>Oracle/MySQL is highly valued.
>>
>>Full application include :
>>-CV or Resume
>>-Your Recent Photo or scanned Photo
>>-Copy of your certificates
>>
>>Send your full application to [EMAIL PROTECTED]
>> or by postal service to
>>Attn : P.Suryanto, EDP
>>PO BOX 1261, Surabaya
>>
>>
>
>
>
>-
>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]



[OT] Re: Vacancy

2003-08-29 Thread Brian Lee
I think they want a recent photo for racial profiling purposes.

I once had a Gattica moment, when a company had me come down for a 
preliminary interview. After talking for a few moments they said I was good 
to go. I asked why we couldn't have done this over the phone and the 
recruiter went on to explain how they didn't want the "wrong element" in the 
position. Needless to say I promptly rejected the offer.

It's sad to hear that racism is alive and well in business around the world, 
not just in Manhattan.

BAL

From: James Harman <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Re: Vacancy
So that they can determine if you would be a good model for the company's 
corporate clothing line.

David Stemm wrote:

Why would you need a recent photo for an application?

- Original Message - From: "Indra Gunawan" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, August 28, 2003 8:27 PM
Subject: FW: Vacancy



PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one
of the Plantation and Plant Research export oriented National company. We 
are developing a web based application for supporting our growing
business.
We are now having a vacancy for System DEveloper position for our Pare,
Kediri site.

We seek candidate with specific criterias as mentioned below:
1. At least Bachelor degree in Computer science with GAP >=2.75
2. Ability in JAVA and JSP is a must.
3. Fully understanding in RDBMS concept.
4. ability in Oracle/MySQL is highly valued.
Full application include :
-CV or Resume
-Your Recent Photo or scanned Photo
-Copy of your certificates
Send your full application to [EMAIL PROTECTED]
 or by postal service to
Attn : P.Suryanto, EDP
PO BOX 1261, Surabaya
-
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]
_
MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Resetting ActionForm transient props

2003-08-29 Thread Sasha Borodin
>From Struts release notes 1.1 b1:

"The ActionForm class is now truly serializable, because the two
non-serializable instance variables (servlet and
multipartRequestHandler) have been made transient.  However, if you
actually do serialize and deserialize such instances, it is your
responsibility to reset these two properties."


1.  Seems like this sould be the job of the framework; is there a reason
that it's left up to the developer?
2.  Where would I place the "reset" code in the
ActionForm...constructor/reset/etc.?

Thanks,

-Sasha


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



Re: message resource error/Plz Urgent

2003-08-29 Thread Andrew Kuzmin
hi,
   this should help:

struts-config.xml:
add 

and place file application.properties to /WEB-INF/classes/resources dir.

--
andrew
www.java201.com

- Original Message -
From: "mahavir" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 29, 2003 1:33 PM
Subject: message resource error/Plz Urgent


Hi Friends

Yesterday i had posted my question regarding the error when i try to browse
the jsp pages.I had got three or four replies
but the error is not corrected.
Please anyone can guide me in detail.

the error is--

Error: 500
Location: /hello-world/hello.jsp
Internal Servlet Error:

javax.servlet.ServletException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
 at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:459)
 at
_0002fhello_0002ejsphello_jsp_0._jspService(_0002fhello_0002ejsphello_jsp_0.
java:90)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
va:130)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:282)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
 at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
 at java.lang.Thread.run(Thread.java:479)

Root cause:
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
 at
org.apache.struts.util.RequestUtils.retrieveMessageResources(RequestUtils.ja
va:1103)
 at org.apache.struts.util.RequestUtils.message(RequestUtils.java:1043)
 at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:294)
 at
_0002fhello_0002ejsphello_jsp_0._jspService(_0002fhello_0002ejsphello_jsp_0.
java:68)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
va:130)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:282)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
 at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
 at java.lang.Thread.run(Thread.java:479)

Plz its urgent

mahavir



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



RE: [FRIDAY] RE: Vacancy

2003-08-29 Thread Andrew Hill
Any chance I'd get to ride in the corporate Battlesub?

-Original Message-
From: Bill Chmura [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 21:27
To: 'Struts Users Mailing List'
Subject: [FRIDAY] RE: Vacancy



I am pretty sure this is one of those hiring for an evil army jobs...
Sure first they hit you with the "its going to be so cool for you being
an evil henchmen" then your off in the middle of nowhere with no girls
anywhere execpt for the evil madmans henchnessess and forget about
them...

This has come work for our evil empire written all over it...

BISICP - Come on, that is an evil sounding as HYDRA, CHAOS, or SPECTRE

Pare, Kediri site - isolated sounding location, perfect for nefarious
evil scheme development

GPA 2.75 - we like em smart, but not smart enough to figure out what is
going on around them

"Plantation and Plant research" - Perfect cover story, no one would
suspect a thing.


I answered an ad like this, ended up doing cobol in the arctic for some
guy that was going to take over the world.  Turns out he was only
marginally evil, ended up scaring some eskimos.  Lousy benefits.  If you
want to work for seriously evil empire, join up with corporate america!




  > -Original Message-
  > From: David Stemm [mailto:[EMAIL PROTECTED] 
  > Sent: Friday, August 29, 2003 8:42 AM
  > To: Struts Users Mailing List
  > Subject: Re: Vacancy
  > 
  > 
  > Why would you need a recent photo for an application?
  > 
  > - Original Message - 
  > From: "Indra Gunawan" <[EMAIL PROTECTED]>
  > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
  > Sent: Thursday, August 28, 2003 8:27 PM
  > Subject: FW: Vacancy
  > 
  > 
  > > PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) 
  > group, is one 
  > > of the Plantation and Plant Research export oriented 
  > National company.
  > > We are developing a web based application for supporting 
  > our growing
  > > business.
  > > We are now having a vacancy for System DEveloper position 
  > for our Pare,
  > > Kediri site.
  > > 
  > > We seek candidate with specific criterias as mentioned 
  > below: 1. At 
  > > least Bachelor degree in Computer science with GAP >=2.75 
  > 2. Ability 
  > > in JAVA and JSP is a must. 3. Fully understanding in 
  > RDBMS concept.
  > > 4. ability in Oracle/MySQL is highly valued.
  > > 
  > > Full application include :
  > > -CV or Resume
  > > -Your Recent Photo or scanned Photo
  > > -Copy of your certificates
  > > 
  > > Send your full application to [EMAIL PROTECTED] 
  > >  or by postal service to
  > > Attn : P.Suryanto, EDP
  > > PO BOX 1261, Surabaya
  > > 
  > > 
  > 
  > -
  > > 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]



RE: [OT] Re: Vacancy

2003-08-29 Thread Andrew Hill
In this area of the world its still quite normal to have to enter ones race
(& religion & medical history) on applications for all sorts of things
including of course jobs. (I usually put "human" much to their annoyance).

In this country (though not in many of our less developed neighbours) it is
(afaik) illegal to discriminate against an applicant on the basis of race.
One does sometimes see job adds requiring you to speak Mandarin for
positions where its quite obviously not a relevant skill (of course for
quite a few positions it IS essential).  By far the vast majority of
employers here however are not discriminatory and are far more concerned
with getting the best candidate (or at least the one with the most acronymns
on their resume) so they can compete better and make more money...

-Original Message-
From: Brian Lee [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 23:01
To: [EMAIL PROTECTED]
Subject: [OT] Re: Vacancy


I think they want a recent photo for racial profiling purposes.

I once had a Gattica moment, when a company had me come down for a
preliminary interview. After talking for a few moments they said I was good
to go. I asked why we couldn't have done this over the phone and the
recruiter went on to explain how they didn't want the "wrong element" in the
position. Needless to say I promptly rejected the offer.

It's sad to hear that racism is alive and well in business around the world,
not just in Manhattan.

BAL

>From: James Harman <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: Struts Users Mailing List <[EMAIL PROTECTED]>
>Subject: Re: Vacancy
>
>So that they can determine if you would be a good model for the company's
>corporate clothing line.
>
>
>David Stemm wrote:
>
>>Why would you need a recent photo for an application?
>>
>>- Original Message - From: "Indra Gunawan" <[EMAIL PROTECTED]>
>>To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
>>Sent: Thursday, August 28, 2003 8:27 PM
>>Subject: FW: Vacancy
>>
>>
>>
>>
>>>PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) group, is one
>>>of the Plantation and Plant Research export oriented National company. We
>>>are developing a web based application for supporting our growing
>>>business.
>>>We are now having a vacancy for System DEveloper position for our Pare,
>>>Kediri site.
>>>
>>>We seek candidate with specific criterias as mentioned below:
>>>1. At least Bachelor degree in Computer science with GAP >=2.75
>>>2. Ability in JAVA and JSP is a must.
>>>3. Fully understanding in RDBMS concept.
>>>4. ability in Oracle/MySQL is highly valued.
>>>
>>>Full application include :
>>>-CV or Resume
>>>-Your Recent Photo or scanned Photo
>>>-Copy of your certificates
>>>
>>>Send your full application to [EMAIL PROTECTED]
>>> or by postal service to
>>>Attn : P.Suryanto, EDP
>>>PO BOX 1261, Surabaya
>>>
>>>-
>>>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]
>

_
MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup


-
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]



WAR file: deployment to J2EE 1.4 Beta 2, Early Access app server...

2003-08-29 Thread OFlaherty, Colm
I am attempting to deploy an EAR file to the app server in J2EE 1.4 Beta 2, Early 
Access, and am getting the following error:

<[SEVERE][j2eesdk1.4_beta2][][][12][org.apache.struts.util.RequestUtils][29.August.2003
 15:44:37:031 IST][Error creating form bean of class 
com.kbcam.core.struts.form.LoginAttemptForm
java.lang.ClassNotFoundException: com.kbcam.core.struts.form.LoginAttemptForm
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1327)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1174)

This class (com.kbcam.core.struts.form.LoginAttemptForm) is located in the WAR file at 
the correct structure (as per its package structure), and the War file is contained in 
the EAR file, but the class still cannot be found.. 
This works for me on JBoss 3.2.2, so I know I'm on the right track... I haven't 
succeeded in deploying this to Jaguar CTS or any other J2EE app server yet though..

Does anyone know what the issue might be? Struts specific?  Any fixes? Workarounds?  
Advice?  

Should WAR files contain classes, like what I'm attempting?  My Struts specific 
classes are in there (Forms, Actions, etc)... Is this reasonable??

Note: an issue similar to this was reporting against Sun One in Nov 2002, but no 
resolution was posted.

Thanks, 

Colm



**
This message is sent in confidence for the addressee
only.  The contents are not allowed to be disclosed to
anyone other than the addressee.  Unauthorised 
recipients must preserve this confidentiality and should 
please advise the sender immediately of any error in
transmission.
**


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



RE: Validations in Action Form

2003-08-29 Thread Yansheng Lin
There is no such thing as 'Struts Framework rules'.  In fact there is so many
ways you can do this validation in struts that it's confusing for anyone
new-to-struts. For example you can either use the commons-validator
framework(which I use), or inside the validate method comes with struts
formBeans.

>From what I understand about VO pattern, it's a mean for carrying a bunch of
attributes at once; cataining any business logic contaminates the neutrality of
the VO.  After all, the VO can carry not only good data from the clients, but
also the bad data, as the one you are trying to validate.  And so it's up to the
business object to handle this.



-Original Message-
From: sriram [mailto:[EMAIL PROTECTED] 
Sent: August 28, 2003 10:06 PM
To: 'Struts Users Mailing List'
Subject: Validations in Action Form


My application uses Struts Action Form.
I am also using Value Objects.
I am not doing validations using validations.xml and validator-rules.xml. I'm
performing simple validations on server side as follows:

Can some one please check the below code and tell me if what I am doing is
correct?

In Action Form "validate" method, the code as follows:

= code in validate method of ActionForm ==

ActionErrors errs = new ActionErrors();
MyValues val = new MyValues();

try {
  val.setInputField(inputField_);
} catch (IllegalArgumentException ex) {
  errs.add(FLD_INPUT_FIELD,new
ActionError("myviewform.error_input_field",ex.getMessage()));
}

= code in Value Object - MyValues =

public void setInputField(String val) {
if (val==null || val.length()==0) 
throw new IllegalArgumentException("Illegal null parameter
passed to setInputField");
if (val!=null && val.length()>100)  // max length of this field is 100
throw new IllegalArgumentException("Illegal parameter value too
long passed to setInputField,value="+val);
inputField_=val;
   
  }// end of setInputField



With the above code, can I say that the validations are written in "validate"
method of ActionForm? Someone mentioned that since I'm performing actual
validations in MyValues, the validations are not being done in ActionForm, and
so it does not follow Struts Framework rules. Is this true? Please clarify.




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



Re: [FRIDAY] RE: Vacancy

2003-08-29 Thread Adam Hardy
I read your emails, and then I realized: you two joint-win the Friday 
Unsolicited Creative Kommunication award. You get a rosette to tie to 
your beanie hat, and then you can say you're F.U.C.K.'ed in the head.

On 08/29/2003 04:49 PM Andrew Hill wrote:
Any chance I'd get to ride in the corporate Battlesub?

-Original Message-
From: Bill Chmura [mailto:[EMAIL PROTECTED]
Sent: Friday, 29 August 2003 21:27
To: 'Struts Users Mailing List'
Subject: [FRIDAY] RE: Vacancy


I am pretty sure this is one of those hiring for an evil army jobs...
Sure first they hit you with the "its going to be so cool for you being
an evil henchmen" then your off in the middle of nowhere with no girls
anywhere execpt for the evil madmans henchnessess and forget about
them...
This has come work for our evil empire written all over it...

BISICP - Come on, that is an evil sounding as HYDRA, CHAOS, or SPECTRE

Pare, Kediri site - isolated sounding location, perfect for nefarious
evil scheme development
GPA 2.75 - we like em smart, but not smart enough to figure out what is
going on around them
"Plantation and Plant research" - Perfect cover story, no one would
suspect a thing.
I answered an ad like this, ended up doing cobol in the arctic for some
guy that was going to take over the world.  Turns out he was only
marginally evil, ended up scaring some eskimos.  Lousy benefits.  If you
want to work for seriously evil empire, join up with corporate america!


  > -Original Message-
  > From: David Stemm [mailto:[EMAIL PROTECTED] 
  > Sent: Friday, August 29, 2003 8:42 AM
  > To: Struts Users Mailing List
  > Subject: Re: Vacancy
  > 
  > 
  > Why would you need a recent photo for an application?
  > 
  > - Original Message - 
  > From: "Indra Gunawan" <[EMAIL PROTECTED]>
  > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
  > Sent: Thursday, August 28, 2003 8:27 PM
  > Subject: FW: Vacancy
  > 
  > 
  > > PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP) 
  > group, is one 
  > > of the Plantation and Plant Research export oriented 
  > National company.
  > > We are developing a web based application for supporting 
  > our growing
  > > business.
  > > We are now having a vacancy for System DEveloper position 
  > for our Pare,
  > > Kediri site.
  > > 
  > > We seek candidate with specific criterias as mentioned 
  > below: 1. At 
  > > least Bachelor degree in Computer science with GAP >=2.75 
  > 2. Ability 
  > > in JAVA and JSP is a must. 3. Fully understanding in 
  > RDBMS concept.
  > > 4. ability in Oracle/MySQL is highly valued.
  > > 
  > > Full application include :
  > > -CV or Resume
  > > -Your Recent Photo or scanned Photo
  > > -Copy of your certificates
  > > 
  > > Send your full application to [EMAIL PROTECTED] 
  > >  or by postal service to
  > > Attn : P.Suryanto, EDP
  > > PO BOX 1261, Surabaya
  > > 
  > > 
  > 
  > -
  > > 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]

--
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Applying Taglib Patches

2003-08-29 Thread Yansheng Lin
 - download the source display.jar
 - unjar it to your favorite editor
 - replace the old .java file with the new one
 - compile packages
 - export to display.jar

There you go:).

-Original Message-
From: Mehta, Chirag (IT) [mailto:[EMAIL PROTECTED] 
Sent: August 29, 2003 7:22 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Applying Taglib Patches


I've just downloaded a patch for a taglib and was wondering how to
apply. It comes with a new tld file which I assume you just replace the
old one with. It also comes with a .java file. What am I meant to do
with that? 
 
Its a patch for the Display taglib.
 
Thanks
 
Chirag
 


--
NOTICE: If received in error, please destroy and notify sender.  Sender does not
waive confidentiality or privilege, and use is prohibited.


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



RE: XML Parsing Dilemma

2003-08-29 Thread David Graham
--- Mark Galbreath <[EMAIL PROTECTED]> wrote:
> This is my real dilemma.  I think an XML parsing engine should be able
> to
> take a validated XML file and output:
> 
> tag_name = tag_value
> 
> and understand where one record stops and another record begins.  For
> crying
> out loud, I can write the thing myself in a few hours, but I want to
> remain
> open-source standard.  Is there an XML parser that simply reads the tags
> and
> puts them into a collection indexed by record?

I'm not sure if this is exactly what you're looking for but with Digester
you can setup a call-method-rule with parameters.  So, if you have:



you could setup Digester to call the put() method on a map passing in k
and v.  You can also do this with nested elements under  instead of
attributes.

David


> 
> Mark
> 
> -Original Message-
> From: Greg Reddin [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, August 28, 2003 12:07 PM
> To: Struts Users Mailing List
> Subject: Re: XML Parsing Dilemma
> 
> 
> > The front-runners on my list is Castor and JDOM.  Any (related) 
> > suggestions are greatly appreciated.
> 
> I've used both of these, though not JDOM enough to comment on it.  My 
> favorite XML tool right now is Digester.  To me, it has a smaller 
> development footprint than Castor and gives you at least the same XML 
> parsing capability.
> 
> I used both Castor and Digester to parse configuration files.  To use 
> Castor I had to write a schema and the castor "client" code, which was 
> pretty big and I had to put up with the objects it generated.  For 
> Digester I wrote a RuleSet class, some value objects and a very small 
> amount of "client" code.  I didn't write (but should've written) a DTD.
> 
> Greg
> 
> 
> 
> DISCLAIMER:
> This email message is for the sole use of the intended recipient(s) and
> may
> contain confidential and privileged information.  Any unauthorized
> review,
> use, disclosure or distribution is prohibited.  If you are not the
> intended
> recipient, please contact the sender by reply email and destroy all
> copies
> of the original message and attachments.
> 
> -
> 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]
> 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



validating mapped properties

2003-08-29 Thread Yusuf Kör
Hallo,

I have a dynamic form with groups of input fields (string fields, 
integer fields, double fields .etc.).
If I validate these fields with struts validator, then the Validator 
Class throws the Exception: java.lang.NoSuchMethodException: Property 
'string' has no getter method.
Has somebody an idea what a did wrong or has somebody another solution 
for validating groups of  input fields? (The number and types of all the 
fields are dynamic)

Here is my example JSP:










Here is my ActionForm:
--
private HashMap string = new HashMap();
private HashMap integer = new HashMap();
private HashMap decimal = new HashMap();
public void setString(String key, Object value) {
   string.put(key, value);
}
public Object getString(String key) {
   return string.get(key);
}
public void setInteger(String key, Object value) {
   integer.put(key, value);
}
public Object getInteger(String key) {
   return integer.get(key);
}
public void setDecimal(String key, Object value) {
   decimal.put(key, value);
}
public Object getDecimal(String key) {
   return decimal.get(key);
}
Thats part of my validate.xml


   
   


   
   
   
  


Thanks
Yusuf




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


nested root and nested iterate

2003-08-29 Thread Hiren Dossani
hello,

refer to the code below:











it always give me error as :
java.lang.IllegalArgumentException: Null property value for 'itemMap(13)'

at
org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.j
ava:755)

at
org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:80
1)



although, i have an itemMap property in the shoppingCart bean as HashMap.

thanks for all your help.



--

hiren






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



RE: XML Parsing Dilemma

2003-08-29 Thread Mark Galbreath
Thx David; I'll look into it.

Mark

-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 1:39 PM
To: Struts Users Mailing List
Subject: RE: XML Parsing Dilemma


--- Mark Galbreath <[EMAIL PROTECTED]> wrote:
> This is my real dilemma.  I think an XML parsing engine should be able 
> to take a validated XML file and output:
> 
> tag_name = tag_value
> 
> and understand where one record stops and another record begins.  For 
> crying out loud, I can write the thing myself in a few hours, but I 
> want to remain
> open-source standard.  Is there an XML parser that simply reads the tags
> and
> puts them into a collection indexed by record?

I'm not sure if this is exactly what you're looking for but with Digester
you can setup a call-method-rule with parameters.  So, if you have:



you could setup Digester to call the put() method on a map passing in k and
v.  You can also do this with nested elements under  instead of
attributes.

David


> 
> Mark
> 
> -Original Message-
> From: Greg Reddin [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2003 12:07 PM
> To: Struts Users Mailing List
> Subject: Re: XML Parsing Dilemma
> 
> 
> > The front-runners on my list is Castor and JDOM.  Any (related)
> > suggestions are greatly appreciated.
> 
> I've used both of these, though not JDOM enough to comment on it.  My
> favorite XML tool right now is Digester.  To me, it has a smaller 
> development footprint than Castor and gives you at least the same XML 
> parsing capability.
> 
> I used both Castor and Digester to parse configuration files.  To use
> Castor I had to write a schema and the castor "client" code, which was 
> pretty big and I had to put up with the objects it generated.  For 
> Digester I wrote a RuleSet class, some value objects and a very small 
> amount of "client" code.  I didn't write (but should've written) a DTD.
> 
> Greg
> 
> 
> 
> DISCLAIMER:
> This email message is for the sole use of the intended recipient(s) 
> and may contain confidential and privileged information.  Any 
> unauthorized review,
> use, disclosure or distribution is prohibited.  If you are not the
> intended
> recipient, please contact the sender by reply email and destroy all
> copies
> of the original message and attachments.
> 
> -
> 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]
> 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-
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]



Re: What in the world is tag for???

2003-08-29 Thread Craig R. McClanahan
On Fri, 29 Aug 2003, Bill Johnson wrote:

> Date: Fri, 29 Aug 2003 05:55:00 -0700 (PDT)
> From: Bill Johnson <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: Re: What in the world is  tag for???
>
> Can you elaborate on this? Are you saying that
>  cannot see the implicit "request" or
> "session" objects?
>

That's exactly what I'm saying.  Those implicit objects are instance
variables in the service() method of the servlet that is generated for
your JSP page, while  can only access attributes in some scope
(page, request, session, application).  Thus, you need things like the
"page" tag to bridge the gap.

> Regards,
>
> Bill

Craig

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



RE: message resource error/Plz Urgent

2003-08-29 Thread David Tobey
Mahavir:

Try going to HelloWorld.do in your browser, rather than hello.jsp?

dave


> -Original Message-
> From: mahavir [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 29, 2003 4:34 AM
> To: [EMAIL PROTECTED]
> Subject: message resource error/Plz Urgent
>
>
> Hi Friends
>
> Yesterday i had posted my question regarding the error when i try
> to browse the jsp pages.I had got three or four replies
> but the error is not corrected.
> Please anyone can guide me in detail.
>
> the error is--
>
> Error: 500
> Location: /hello-world/hello.jsp
> Internal Servlet Error:
>
> javax.servlet.ServletException: Cannot find message resources
> under key org.apache.struts.action.MESSAGE
>  at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(Page
> ContextImpl.java:459)
>  at
> _0002fhello_0002ejsphello_jsp_0._jspService(_0002fhello_0002ejsphe
> llo_jsp_0.java:90)
>  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(Jsp
> Servlet.java:130)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Jsp
> Servlet.java:282)
>  at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
>  at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
>  at org.apache.tomcat.core.Handler.service(Handler.java:287)
>  at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>  at
> org.apache.tomcat.core.ContextManager.internalService(ContextManag
> er.java:812)
>  at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
>  at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnec
> tion(HttpConnectionHandler.java:213)
>  at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
>  at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
>  at java.lang.Thread.run(Thread.java:479)
>
> Root cause:
> javax.servlet.jsp.JspException: Cannot find message resources
> under key org.apache.struts.action.MESSAGE
>  at
> org.apache.struts.util.RequestUtils.retrieveMessageResources(Reque
> stUtils.java:1103)
>  at org.apache.struts.util.RequestUtils.message(RequestUtils.java:1043)
>  at
> org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:294)
>  at
> _0002fhello_0002ejsphello_jsp_0._jspService(_0002fhello_0002ejsphe
> llo_jsp_0.java:68)
>  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(Jsp
> Servlet.java:130)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Jsp
> Servlet.java:282)
>  at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
>  at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
>  at org.apache.tomcat.core.Handler.service(Handler.java:287)
>  at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>  at
> org.apache.tomcat.core.ContextManager.internalService(ContextManag
> er.java:812)
>  at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
>  at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnec
> tion(HttpConnectionHandler.java:213)
>  at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
>  at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
>  at java.lang.Thread.run(Thread.java:479)
>
> Plz its urgent
>
> mahavir
>
>


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



Re: how to show pdf from the struts

2003-08-29 Thread David Erickson
What we did was create an action that takes parameters of the xml and XSLFO
documents and merges them then outputs that to the browser window.  To make
this happen we mapped a certain directory in web.xml to the struts action


action

/pdf/convert/*



then in the struts config it looks like this:







What this does is takes anything like /pdf/convert/test.pdf or
/pdf/convert/workyplease.pdf and forwards that to the action.  This is using
the struts wildcards plugin, http://www.twdata.org/struts-wildcard/.

So a link to run our action would look like
http://www.myserver.com/myservletcontext/pdf/convert/audio.pdf?source=audio.xml&style=transform.xsl

Works perfect in IE6 with the latest adobe reader.

If you need anymore info shoot me an email.

-David

- Original Message - 

From: "Mahbub ul Huq Bin Kabir" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 29, 2003 5:34 AM
Subject: how to show pdf from the struts


> Hi,
>
> I'm using struts from few months and now doing reports using xml and xslt.
> I'm using xalan to generate reports and now want to use FOP to generate
> reports. I make a report and i can generate it but I'm using Internet
> Explorer 6.0 which does not starts Acrobat reader automatically, i go
> through the fop's web site and they suggeste to fake it using .pdf
> extension. Can anyone help me to get out of this problem.
>
> I want to add a extra parameter with my action submit like this
> http://localhost/meena/report.ezb?fakeID=usethis.pdf
>
> or any better idea and solution
>
> Thank you,
>
> Mahbub
>
> _
> MSN 8 with e-mail virus protection service: 2 months FREE*
> http://join.msn.com/?page=features/virus
>
>
> -
> 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]



RE: [FRIDAY] RE: Vacancy

2003-08-29 Thread Gamas Sugiarto
1. In Indonesian's Universities, getting GPA 3.0 is as hard as getting 3.5
GPA in US
2. Alot of employers overthere required you to include alot of weird
requirements and these are some of the examples:
   - Male, university graduated majoring in Accounting
   - Maximum age 27
3. And Indonesia is a country where disrimination is still very strong


-Original Message-
From: Bill Chmura [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 6:27 AM
To: 'Struts Users Mailing List'
Subject: [FRIDAY] RE: Vacancy



I am pretty sure this is one of those hiring for an evil army jobs...
Sure first they hit you with the "its going to be so cool for you being
an evil henchmen" then your off in the middle of nowhere with no girls
anywhere execpt for the evil madmans henchnessess and forget about
them...

This has come work for our evil empire written all over it...

BISICP - Come on, that is an evil sounding as HYDRA, CHAOS, or SPECTRE

Pare, Kediri site - isolated sounding location, perfect for nefarious
evil scheme development

GPA 2.75 - we like em smart, but not smart enough to figure out what is
going on around them

"Plantation and Plant research" - Perfect cover story, no one would
suspect a thing.


I answered an ad like this, ended up doing cobol in the arctic for some
guy that was going to take over the world.  Turns out he was only
marginally evil, ended up scaring some eskimos.  Lousy benefits.  If you
want to work for seriously evil empire, join up with corporate america!




  > -Original Message-
  > From: David Stemm [mailto:[EMAIL PROTECTED]
  > Sent: Friday, August 29, 2003 8:42 AM
  > To: Struts Users Mailing List
  > Subject: Re: Vacancy
  >
  >
  > Why would you need a recent photo for an application?
  >
  > - Original Message -
  > From: "Indra Gunawan" <[EMAIL PROTECTED]>
  > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
  > Sent: Thursday, August 28, 2003 8:27 PM
  > Subject: FW: Vacancy
  >
  >
  > > PT. BenihInti Subur Intani (BISI), Charoen Pokphand (CP)
  > group, is one
  > > of the Plantation and Plant Research export oriented
  > National company.
  > > We are developing a web based application for supporting
  > our growing
  > > business.
  > > We are now having a vacancy for System DEveloper position
  > for our Pare,
  > > Kediri site.
  > >
  > > We seek candidate with specific criterias as mentioned
  > below: 1. At
  > > least Bachelor degree in Computer science with GAP >=2.75
  > 2. Ability
  > > in JAVA and JSP is a must. 3. Fully understanding in
  > RDBMS concept.
  > > 4. ability in Oracle/MySQL is highly valued.
  > >
  > > Full application include :
  > > -CV or Resume
  > > -Your Recent Photo or scanned Photo
  > > -Copy of your certificates
  > >
  > > Send your full application to [EMAIL PROTECTED]
  > >  or by postal service to
  > > Attn : P.Suryanto, EDP
  > > PO BOX 1261, Surabaya
  > >
  > >
  > 
  > -
  > > 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]



Suggestion of a java package hierarchy for a Struts project

2003-08-29 Thread Jean-Michel Garnier
My company is going to use Struts for all its web applications and we have
defined a standard java package hierarchy. 

I submit the result of our work to the community so any company new to
Struts could use it. If you are currently using Struts, I am interested by
your feedback.

Toolkit project
***

The toolkit project is company framework which contains all the common
stuff. The package hierarchy of the toolkit project is organized arround the
3 tiers :

com.mycompany.toolkit.presentation.action : Struts action classes
com.mycompany.toolkit.presentation.form : Struts ActionForms 
com.mycompany.toolkit.business.object : business model classes
com.mycompany.toolkit.business.process : Business Process 
com.mycompany.toolkit.integration.* : DAO (Data Access Object) classes
com.mycompany.toolkit.util : utilities classes

Applications

Presentation Tiers classes only. Applications are distinct chunks of front
end functionality (struts actions and forms etc). 
All applications are under the package com.mycompany.application.

For example, the "registration" application contains only one package
com.mycompany.applications.registration.action, which contains all the
Struts Actions relatives to the registration component.

Components
**
Components are units of business/integration tier functionality which can be
shared/reused by different applications

All components are under the package com.mycompany.component.

For example, the "registration" component contains 2 businsses domains
"logon" and "security", the package hierarchy is the following:
com.mycompany.component.registration.logon.object 
com.mycompany.component.registration.logon.dao 
com.mycompany.component.registration.security.object 
com.mycompany.component.registration.security.dao 

Doing that way, components do not depend on the presention tiers (Struts Web
front-end) and can be used outside in any context (batch application, oracle
stored procedure, ...).

Web-Application
***
A web-application will be made up of configuration files and  JSP (or tiles)
using several applications and components.

I wonder if you make the same distinction as us between applications and
components !?!

Thanks, 

Jean-Michel Garnier




This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com


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



  1   2   >