File Upload Data

2003-08-20 Thread Steven Leija
Hello All, I'm running into a really weird problem. I'm uploading a file in windows and the input stream is just fine. But when I deploy my application to a linux box, the same upload failes. I traced this down to the fact that the input stream is empty. The file is being uploaded but the

NoSuchMethodException?

2003-08-19 Thread Steven Leija
I'm using the ActionMessages object to display a confirmation of an uploaded file. Everything works just fine in my WebSphere Application Developer IDE. When it's deployed to our dev box, i get this message: org.apache.struts.util.RequestUtils - Could not find Java 1.4 encode method. Using

Logging Issues

2003-08-18 Thread Steven Leija
Hello All, I'm new to the new logging feature in Struts. I understand it's built now using the commons-logging feature. I've created the standard files commons-logging.properties and the simplelog.properties files. It appears to be logging to the info level just fine, but when I change the

Compliment Frameworks

2002-12-16 Thread Steven Leija
Hey Guys, What are some good complimentary frameworks out there for struts? I'm looking to perhaps broaden my framework knowledge and looking for some recommendations so I know which direction to head too. Thanks! Steven -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Struts 1.1 Release

2002-10-15 Thread Steven Leija
OK guys, be gentle... -Original Message- From: Bachan Sadanandan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 4:54 PM To: Struts Users Mailing List Subject: Struts 1.1 Release Hi all, Any idea when Struts 1.1 would be ready for Production .??? Thanks ! Bachan -- To

Entity Usage

2002-10-10 Thread Steven Leija
Hey All, When using the struts 1.0.2 release, I tried using entity declarations in the doctype definition to accomplish breaking out the struts config.xml But found that the digester doesn't' work. The Struts 1.1 Beta does work. I would assume this is due to changing in the

RE: Entity Usage

2002-10-10 Thread Steven Leija
wait for 1.1 final to solve this problem for me. Dave From: Steven Leija [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Entity Usage Date: Thu, 10 Oct 2002 14:33:52 -0500 Hey All, When using the struts 1.0.2

Sub Project Example

2002-09-26 Thread Steven Leija
Does anyone have a working example of how the sub project configuration? Currently I'm trying to implement this using Struts 1.1 b2 from September 26 and not having any success. There isn't much documentation so I'm going blind here. Thanks for any help! Steven

RE: multiple sub projects

2002-09-26 Thread Steven Leija
I'm currently setting up our team environment to use the sub projects. But a question I have is this, are the jsp blind to this shift in the configuration files? Basically, so I need to change the paths or anything in the jsp files to know that it should be pointed to a specific config file? I

Complementary to Action Errors

2002-08-30 Thread Steven Leija
Hello Struts Guru's, Currently we're developing a pretty interactive system using Struts. In one situation, we have a form that where you type in a value and submit it. Now for validation of this value, I use the action class to invoke a remote validator service. If invalid I populate the

Websphere 4.0 and html:link rewriting

2001-12-10 Thread Steven Leija
Hello All, Currently running into an odd problem. Using websphere 4.0 deploying a war file. The html:links are renders the with context root path twice. I know that struts adds it by default, and now, websphere is adding it by default. So urls are looking like this:

OT: Dynamically Reading In Property Files

2001-11-13 Thread Steven Leija
Hello All, I'm creating an application and deploying in a war file. I have a directory that contains * number of xml configuration files. Does anyone know how to read a directory and gather a collection of file names? Thanks for any help! Steven -- To unsubscribe, e-mail: mailto:[EMAIL

RE: Dynamically Reading In Property Files

2001-11-13 Thread Steven Leija
-Original Message- From: Steven Leija [mailto:[EMAIL PROTECTED]] Sent: 13 November 2001 15:22 To: '[EMAIL PROTECTED]' Subject: OT: Dynamically Reading In Property Files Hello All, I'm creating an application and deploying in a war file. I have a directory that contains * number of xml

Radio Buttons

2001-10-24 Thread Steven Leija
Hello All, I'm confused on the usage of the Radio Buttons. I have simply have two html:radio tags defined. Each have the same property and of course, their values are different. But when my form bean is populated upon submit, the values are not read in. I changed the values of the radio

Redirect not working

2001-09-10 Thread Steven Leija
Hey All, I'm using the logic tag along with the Jakarta session tag and running into a problem. Inside my logic tag, I'm simply redirecting using the following code: session:isNew logic:redirect forward=SessionTimeout/ /session:isNew So I'm mapping my forward to my global forward in my

RE: Error 500--Internal Server Error

2001-09-06 Thread Steven Leija
Hi Chandana, You might want to check the printstacktrace on the Weblogic console. There must be some other information provided to debug the situation. Regards, Steven -Original Message- From: Chandana Perera [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 06, 2001 9:16 PM To:

RE: Stability of Struts

2001-09-06 Thread Steven Leija
Hi Angela, I've been developing struts applications on Weblogic 6.0 sp2 and have run into no errors or instabilities. If you are running below weblogic's 6.0, you might run into some configuration problems. But the install documentation is pretty solid. Regards, Steven -Original

RE: logic:iterate JspException

2001-09-06 Thread Steven Leija
Title: Message Hi Tommy, In your xml configuration, you defined your bean to have the scope of "request", so try adding the scope attribute in the iterate tag. logic:iterate id="ddd" name="tommySelectForm" property="use_list" scope="request"TH A HREF="http://www.kimo.com.tw" bean:write

onClick Link Submitting

2001-09-04 Thread Steven Leija
I'm trying to submit a form through a hyperlink, can anyone see what my error is in my code? html:link href= onClick=javascript:form[0].submit(); styleClass=vfsButtonSubmit Changes/html:link I'm getting an error saying that my form is null or not an object. Have a good one, Steven

Tokens?

2001-08-29 Thread Steven Leija
Hello All, I'm going over the Action javadocs and came across several methods that use the keyword of token. The docs aren't very intuitive on what exactly defines a token. What do the token methods do? generateToken() resetToken() saveToken() isTokenValid() Have a good one, Steven

Error: Struts or JSP?

2001-08-28 Thread Steven Leija
Hey All, I'm running into an odd error. I'm using the template taglib for displaying my dynamic content. I have a link that is mapped to a Action mapping. When I select this link, everything works great. But when I reselect the link, I get a page that is blank. When I look at

OT: Configuring Weblogic External Resource

2001-08-24 Thread Steven Leija
Hello All, Sorry for this posting, but I figured someone on this mailing list would have some helpful knowledge on this problem. I configured a Logger class that utilizes Log4J. I'm using an xml configuration for my logging preferences. I'm deploying to a war file to Weblogic 6.0. Does

RE: beginner's problem

2001-08-16 Thread Steven Leija
Title: Message Did you map an action form to the action path "custom.do"? When using forms, struts needs to have a form bean associated with it. Steven -Original Message-From: Haiying Qiao [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 12:10 PMTo: '[EMAIL

Scalability

2001-08-08 Thread Steven Leija
Hello All, I've been working with Struts for sometime now, but now I run into another question. Has anyone had any issues with Struts not being scaleable? Have you performed any stress tests on your applications? I really like Struts, but I'm getting feedback from other developers that don't

RE: Tree

2001-07-20 Thread Steven Leija
Do you have some code to show how you are doing this? Steven -Original Message- From: O'Reilly John [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 6:54 AM To: '[EMAIL PROTECTED]' Subject: RE: Tree We are using Cocoon for our presentation (using XML/XSP/XSL). What we have

html:form Bug?

2001-07-17 Thread Steven Leija
Hello All, I've developed many forms using only the standard attribute of action in my html:form tag. Today I started on a new form, and after six hours of banging my head, I found out that I had to add the type and name attribute to my html:form tag. Is this a bug? My other forms work just

Re: No clue what is wrong...

2001-06-06 Thread Steven Leija
In your configuration file, you are pointing to an ApplicationResources.properties file and it looks like you named your own properties file called App.props so your path would be: org.apache.struts.webapp.example.App Steven - Original Message - From: Wes Bramhall [EMAIL PROTECTED]

Weblogic and ClassCastException

2001-06-01 Thread Steven Leija
Hey All, Has anyone experienced ClassCastException problems while using WebLogic 6.0? I'm developing a multipage form and when trying to retreive the bean from the request, I'm getting a ClassCastException. Steven BEGIN:VCARD VERSION:2.1 N:Leija;Steven;R. FN:Steven R. Leija ORG:Valtech

Using Javascript to cancel submit?

2001-05-31 Thread Steven Leija
Hello All, Currently I'm working on a form, but before submit, I have an onSubmit() in my form tag that verifies they want to submit. The problem is that with my confirmation javascript popup, whether the user selects "OK" or "Cancel", the form is still submitted. Is there a way to prevent

Re: Using Javascript to cancel submit?

2001-05-31 Thread Steven Leija
ally high, and I haven't set the size. Thanks for your help! Steven - Original Message ----- From: Spencer Smith To: [EMAIL PROTECTED] ; Steven Leija Sent: Thursday, May 31, 2001 11:06 PM Subject: Re: Using Javascript to cancel submit? That is

Multiple Buttons

2001-05-29 Thread Steven Leija
Hey All, I'm working on creating a form that has multiple buttons, and based on the button selected, different actions occur. Is there a way to specify a value for a button and get that value in the action class? Thanks! Steven BEGIN:VCARD VERSION:2.1 N:Leija;Steven;R. FN:Steven R. Leija

Non-matching extension tags

2001-05-23 Thread Steven Leija
Hello All, Can anyone help me with this problem? I'm trying to have a link open up a custom browser window using a struts html:link tag, but I'm getting a Non-matching extension tags error. Here is my code: html:link href="window.open("/title.do" + "?MOVIEID=%=MOVIEID%", "title",

Compiling Issues

2001-03-29 Thread Steven Leija
Hello All, I'm new to the struts framework. I've set up struts using weblogic 6 and the newest version of struts. On my first application, when trying to retrieve the web page, it produces a "Parsing of JSP File '/Test.jsp' failed" message. The following is the error from my server console:

Compiling Issues

2001-03-29 Thread Steven Leija
Hello All, I'm new to the Struts framework and trying to compile my first struts application using weblogic 6 and the newest download of the struts application. Here is my code for the test page. %@ page language="java" % %@ taglib uri="/WEB-INF/struts-form.tld" prefix="struts" %

Installing Struts using WebLogic 6.0

2001-03-27 Thread Steven Leija
Hello All, I'm new to Struts and trying to get Struts installed, but running into problems setting up my xml files. Does anyone have instructions for installing struts using weblogic at my server? I'm having trouble understanding how to modify the web.xml file to include the necessary xml