RE: Extra Lines in Compiled JSP

2004-02-20 Thread Piper, James D CECOM SEC EPS
Why do you have this problem with extra lines in your html generated by the <%@ %> section of your jsp and I do not - I use JBOSS and WebLogic both -- never saw this problem? - Jim -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday, February 20, 2004 3:42 PM To: S

RE: Extra Lines in Compiled JSP

2004-02-20 Thread Piper, James D CECOM SEC EPS
is it windows that has the eol be crlf and unix uses just cr? Somthing like that I think... try looking at your jsp file in a hex editor and see if it is crlf and if so change it to be just cr. Be careful moving file back and forth between windows and unix, there is a unix util called dos2unix an

RE: bean:define in weblogic 6.1 SP5

2003-06-23 Thread Piper, James D CECOM SEC EPS
hmmm, looks like we both are having the same problems with bean:define in WLS 6.1 sp5. I posted about my problem on Friday titled: "problem with bean:define and wls 6.1 sp5 when using include". Same situation as you in that after the define the script variable is not accessible. (I didn't have m

RE: problem with bean:define and wls 6.1 sp5 when using include

2003-06-20 Thread Piper, James D CECOM SEC EPS
ECTED] Sent: Friday, June 20, 2003 2:28 PM To: Struts Users Mailing List Subject: Re: problem with bean:define and wls 6.1 sp5 when using include should use toScope="request" I think. sandeep --- "Piper, James D CECOM SEC EPS" <[EMAIL PROTECTED]> wrote: > I am havin

problem with bean:define and wls 6.1 sp5 when using include

2003-06-20 Thread Piper, James D CECOM SEC EPS
I am having a problem with bean:define and wls 6.1 sp5 when using it from a <%@ include %> code. I don't have this problem with sp4. For example here is a simple test case (this code works on WebLogic 6.1 SP4, but it does not work on WebLogic 6.1 SP5): FILE NAMED: wlstest.jsp <%@ page la

RE: [OT] intermittent build and deploy Struts application to WLS problem

2003-04-04 Thread Piper, James D CECOM SEC EPS
eploy Struts application to WLS pro blem Dump WLS and go over to JBOSS in production. We are currenly going to save something like 500k by not upgrading to wls 7.0 or wls 8.0 and go directly to Jboss in production. ----- Original Message - From: "Piper, James D CECOM SEC EPS" <[E

[OT] intermittent build and deploy Struts application to WLS problem

2003-04-04 Thread Piper, James D CECOM SEC EPS
This is a bit OT (probably has nothing to do with struts), but the problem has gone from an irritation to annoying to really starting to tick me off. I hope that since many of you are working with similar environments that you may be able to help me out here: Problem --- Intermittently when I

RE: Action without FormBean

2003-02-26 Thread Piper, James D CECOM SEC EPS
I don't know if it helps but I have used collections not in a form in order to make a table similar to the one you show below: I Put the object containing the collection (i.e. an ArrayList) in the session scope then have the jsp use the nested:iterate tag to show each item of the collection as a r

RE: Iterate Index Evaluation

2003-01-03 Thread Piper, James D CECOM SEC EPS
I found the RowTag by Amarda Business Systems Ltd useful for doing different colors based on odd or even rows... looking at their source they use logic like: boolean evenNumber = (getRowNumber() % 2) == 0 ? true : false; to determine odd or even where getRowNumber() essentialy gets the it

RE: Struts 1.1 beta2 on Weblogic 6.1 SP3 deployment problem

2002-11-22 Thread Piper, James D CECOM SEC EPS
I too use WebLogic 6.1 and I use to have my struts.jar (and everything else struts and Jakarta) in my war file's WEB-INF/lib directory and things seem to be ok, as long as all I was doing was JSP/Servlet stuff. However, when I tried to make my EJBs use the commons-logging.jar I had problems becaus

RE: Backtracking & Breadcrumbs

2002-09-19 Thread Piper, James D CECOM SEC EPS
I'm still new at this, but can you have each of your [Page ? Actions] add a uri to a linked list that gets stored in session. Then your [Page X Action] could implement the perform() method to return 'new ActionForward(myLastURI)' where myLastURI is the String of the uri read out of the current bo

[OT] Newbie Design best practice question

2002-09-17 Thread Piper, James D CECOM SEC EPS
If I were to have a STRUTS enabled application where I had user types of restricted_users, full_access_users, and admins and for the most part the content of the screens the different user types get to see are the same, except for maybe Id like there to be a few extra bits of functionality on the

RE: Call action from JSP

2002-09-05 Thread Piper, James D CECOM SEC EPS
I am new to struts and I don't know if this is of any use or if it is even right, but when I wanted to call an Action when the user clicked a link I used something like (no forms involved): Build Database: Button and in my struts-config.xml had something like:

struts+jboss-3.0.0_tomcat-4.0.3 combo ActionForm error observation

2002-08-28 Thread Piper, James D CECOM SEC EPS
I don't know the ins and outs of why this is, but just in case anybody else has had the same problem using the integrated jboss-3.0.0_tomcat-4.0.3 combo... I found that if I carelessly jar up all my jsp support classes that extend from Strut's 'Action' and 'ActionForms' into my EJB jar file that g