Cannot initialize RequestProcessor on class extending RequestProc essor

2005-11-01 Thread Garner, Shawn
I'm getting the following error message upon shutdown of my web app: 11/01 10:07:15 error [axis] javax.servlet.UnavailableException: Cannot initialize RequestProcessor of class com.ncs.app06.servlet.CustomRequestProcessor: java.lang.ClassNotFoundException:

shale setup docs, links, and/or examples?

2005-11-02 Thread Garner, Shawn
I've used struts for a couple years. I'm interested in using shale instead of struts on a new project. I downloaded the shales binary and looked at the war and example projects but they were too complex for me to figure out. I've looked at the documentation on Apache's site but not much help

RE: Struts dropdown boxes

2005-11-02 Thread Garner, Shawn
I recommend the AJAX solution if you can use JavaSript. I recommend NOT submitting the page every time you select a value from the dropdown box. 1) This is an interruption in experience and is interpreted as a slow website because it isn't immediate to the user and they are not even sure why it

[shale] Advantages of Shale over JSF alone

2005-11-08 Thread Garner, Shawn
I don't immediately see the benefits to using Shale over JSF alone. I've seen the shale features on Apache's website but they aren't exactly meaningful to me. I've recently read up on JSF and find it looks like it is very nice to use/learn. Can somebody give me some advantages of using

RE: [shale] Advantages of Shale over JSF alone

2005-11-08 Thread Garner, Shawn
/shale/ Regards, David -Original Message- From: Garner, Shawn [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 10:01 AM To: 'Struts Users Mailing List' Subject: [shale] Advantages of Shale over JSF alone I don't immediately see the benefits to using Shale over JSF alone. I've

RE: Validation seemingly not getting called any longer

2005-11-08 Thread Garner, Shawn
I think you need something in the struts config file telling it to use the validation plugin. Try that line of investigation. Not sure off the top of my head. Shawn D. Garner -Original Message- From: Preston CRAWFORD [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 11:39 AM

RE: Validation seemingly not getting called any longer

2005-11-08 Thread Garner, Shawn
-rules.xml are both configured as properties via plug-in in struts-config.xml http://www.oracle.com/technology/oramag/oracle/04-jan/o14dev_struts.html HTH, Martin- - Original Message - From: Garner, Shawn [EMAIL PROTECTED] To: 'Struts Users Mailing List' user@struts.apache.org Sent: Tuesday

RE: Validation seemingly not getting called any longer

2005-11-08 Thread Garner, Shawn
: Garner, Shawn [EMAIL PROTECTED] To: 'Struts Users Mailing List' user@struts.apache.org Sent: Tuesday, November 08, 2005 1:08 PM Subject: RE: Validation seemingly not getting called any longer I think you need something in the struts config file telling it to use the validation plugin. Try

RE: Validation seemingly not getting called any longer

2005-11-09 Thread Garner, Shawn
be other jars you need to but I know you need this one for sure. Shawn D. Garner -Original Message- From: Garner, Shawn Sent: Tuesday, November 08, 2005 4:23 PM To: 'Struts Users Mailing List' Subject: RE: Validation seemingly not getting called any longer I think you might need the following

RE: Upgrade from struts1.0 to 1.2

2005-11-09 Thread Garner, Shawn
What do you do if you are using the struts template? Is there a replacement tag you can use in place? I was thinking of upgrading from 1.1 to the 1.2.7 version of struts. Shawn D. Garner -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yujun Liang Sent:

[OT] Web application context case

2005-11-09 Thread Garner, Shawn
I have a struts webapp on JRun tied to IIS. Anyway our application's context root is all lowercase for example /webapp But the stats for our site in the IIS logs say we're getting 404 page not found errors for the same context only with different case variations. So for /WEBAPP, /WebApp for

RE: [OT] Web application context case

2005-11-09 Thread Garner, Shawn
Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Wednesday, November 09, 2005 5:31 PM To: user@struts.apache.org Subject: Re: [OT] Web application context case Garner, Shawn wrote: I have a struts webapp on JRun tied to IIS. Anyway our application's context

RE: [OT] Web application context case

2005-11-10 Thread Garner, Shawn
but I think this would be the task of a webserver administrator? -Original Message- From: Garner, Shawn [mailto:[EMAIL PROTECTED] Sent: 10 November 2005 00:35 To: 'Struts Users Mailing List' Subject: RE: [OT] Web application context case It isn't from a link necessarily. Usually

RE: cant reset form

2005-11-10 Thread Garner, Shawn
Isn't there two different reset methods. One taking in Request params and other taking in HTTPRequest params? Maybe you have the wrong one overridden? Shawn D. Garner -Original Message- From: Chris Pat [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 09, 2005 10:04 PM To: Struts

RE: [OT] Web application context case

2005-11-10 Thread Garner, Shawn
webserver functionality so you must have some freedom to manipulate the URLs before redirection. -Original Message- From: Garner, Shawn [mailto:[EMAIL PROTECTED] Sent: 10 November 2005 15:28 To: 'Struts Users Mailing List' Subject: RE: [OT] Web application context case I tried this on my

[shale]

2005-11-14 Thread Garner, Shawn
Does anyone know if shale will run on JRun 4? They say that they are J2EE 1.3 compatible. Shawn This email may contain confidential material. If you were not an intended recipient, Please notify the sender

DTD files in lib of struts download

2005-11-16 Thread Garner, Shawn
I had a question about the .dtd files in the lib directory when I downloaded the struts 1.2.7. Do I need the .dtd files or are they optional? I never had any in my project before I don't think. Shawn This

RE: DTD files in lib of struts download

2005-11-16 Thread Garner, Shawn
: DTD files in lib of struts download On 11/16/05, Garner, Shawn [EMAIL PROTECTED] wrote: I had a question about the .dtd files in the lib directory when I downloaded the struts 1.2.7. Do I need the .dtd files or are they optional? I never had any in my project before I don't think. You

RE: Is it Possible!

2005-11-16 Thread Garner, Shawn
I use the ServletContext when the Servlet loads to get files relatively like this: context.getResourceAsStream(/WEB-INF/MyPersonalXMLFile.xml) Shawn -Original Message- From: Shailesh Barde [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 15, 2005 10:21 PM To: user@struts.apache.org

[struts faces] form-bean vs managed-bean

2005-11-17 Thread Garner, Shawn
I was looking at the struts faces example app and was wondering what the difference between the managed-bean and a form-bean was? I would think managed-beans would replace the need for form beans. They are both beans but I was wondering how they are different in this architecture?

[OT] RE: Can't build project because of unavailable dtd

2005-11-17 Thread Garner, Shawn
I'm curious of the answer you get back. Can you post [OT] the answer back to this list. Shawn -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Lionel Sent: Thursday, November 17, 2005 5:16 AM To: user@struts.apache.org Subject: Re: Can't build project because of

RE: Has anybody experienced this weirdness with taglibs?

2005-11-17 Thread Garner, Shawn
I downloaded jboss which includes tomcat and I couldn't find these two files: servlet-api.jar - Tomcat's jsp-api.jar - Tomcat's Can somebody help me? Are they different in jboss for some reason? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Moving from struts-layout to struts-tiles

2005-11-18 Thread Garner, Shawn
My application was using struts-layout and I wanted to upgrade to 1.2.8. I thought the tiles tags would translate 1 to 1 but they don't seem to. When I change template:get name='header' %@ include file=header.jsp%/template:get to tiles it says it can not have content in a body. I would like to

bean:define errors in eclipse 3.1.1 WTP

2005-11-21 Thread Garner, Shawn
I try to edit my JSP in Eclipse 3.1.1 WTP (Web Tools Project) however I get errors on variables defined by ID tags for example: snip bean:define id=myValue1 type=String/ bean:define id=myValue2 type=String/ %=(myValue1 + - myValue2)% /snip The above snip of code will result in Eclipse telling

RE: logic:equal looking for null

2005-11-22 Thread Garner, Shawn
Use logic:empty to test if it is null or an empty String. Use logic:notEmpty to test if it is not a null String and not an empty String Shawn -Original Message- From: Srinivas Jadcharla [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 3:55 PM To: Struts Users Mailing List

[tiles]

2005-11-22 Thread Garner, Shawn
There are ways to put content into a tile but there isn't a way to remove a tile. Say we have a layout that has a menu by default then you extend that layout and you don't want a menu. I know struts-templates didn't work if you did a put on a blank value. Does this work with tiles? Why isn't

RE: [tiles]

2005-11-28 Thread Garner, Shawn
To: Struts Users Mailing List Subject: Re: [tiles] On 11/22/05, Garner, Shawn [EMAIL PROTECTED] wrote: There are ways to put content into a tile but there isn't a way to remove a tile. Say we have a layout that has a menu by default then you extend that layout and you don't want a menu

RE: Upgrade from struts1.0 to 1.2

2005-11-28 Thread Garner, Shawn
You're supposed to use tiles and tiles tags now I think. I haven't seen any specific documents on moving from one to another. I've had the trouble that the tiles tags aren't backward compatible with template tags so nothing worked right. I still haven't had the time to mess with it any more

RE: How to stop struts logging in my web application

2005-11-28 Thread Garner, Shawn
add this line below the rootLogger line: log4j.category.org.apache=OFF -Original Message- From: nitin mandolkar [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 23, 2005 6:31 AM To: user@struts.apache.org Subject: How to stop struts logging in my web application Hello Strust Users

RE: odd return error

2005-11-28 Thread Garner, Shawn
Your forward was not found in the struts-config file probably. Check the action on your JSP page and find it in your struts-config file. Make sure the forward name you getting from the ActionMapping is in there under that path. -Original Message- From: Chris Pat [mailto:[EMAIL PROTECTED]

RE: OT: OutOfMemory

2005-12-02 Thread Garner, Shawn
I would think he should use some kind of a buffered input stream and only read in part of the data at once. That way he would never have the entire string in the buffer at once. Then open an output stream at the same time and write out the modified contents to it. This way I wouldn't think the

[shale][tomahawk] user-role

2005-12-05 Thread Garner, Shawn
I saw that some of the tags in the tomahawk use a user-role property. I was wondering how you would set this user-role field for a person in a java class when they log in? I couldn't find any documentation on this field. Shawn

RE: [shale][tomahawk] user-role

2005-12-05 Thread Garner, Shawn
I see how the Filter and Wrapper work roughly but how do I apply them to my requests? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wendy Smoak Sent: Monday, December 05, 2005 4:11 PM To: Garner, Shawn Subject: Re: [shale][tomahawk] user-role [offlist

[shale] View Controller methods

2005-12-05 Thread Garner, Shawn
Can somebody elaborate on more uses of these? init() preprocess() prerender() destroy() I currently have a start and save struts (in a struts 1.1) methods that populate the form bean values from a session object for the start and save the values from the form bean into a session

RE: Parameter of ActionMessage...

2005-12-05 Thread Garner, Shawn
I use the RequestUtils class in the struts 1.1 framework. I think they moved it though. You can look up the message and then pass it into your ActionMessage. -Original Message- From: Gaet [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 30, 2005 5:15 AM To: Mailing List Struts

RE: Multiple Servlet contexts

2005-12-05 Thread Garner, Shawn
Put your Jar in your web server's lib instead of your web app. So in my case for JRun I put it in the JRun4/servers/lib directory instead of my webapp/WEB-INF/lib directory. For apache I think they have a commons/lib or something for the server. I think that will work. Shawn -Original

RE: How do you prepopulate a form bean with arguments from a hype rlink?

2005-12-05 Thread Garner, Shawn
There is a limit to the size of data you can do this way. Might want to figure out a way to post the data instead. You can send much more data that way. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 29, 2005 2:37 PM To:

RE: help using validate inside ActionForm

2005-12-05 Thread Garner, Shawn
Use the parameter attribute in the struts-config.xml file and then use the request.getParameter() in the form or action. Shawn -Original Message- From: Sun Shine [mailto:[EMAIL PROTECTED] Sent: Sunday, December 04, 2005 5:20 PM To: user@struts.apache.org Subject: help using validate

RE: [QA]Does STRUTS v1.1 work well under J2SE_1.5?

2005-12-05 Thread Garner, Shawn
I would think it would as long as you have the right jars in the classpath. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, December 04, 2005 7:34 PM To: user@struts.apache.org Subject: [QA]Does STRUTS v1.1 work well under J2SE_1.5? Hi All, I want to

RE: Addressformat For Different Countries

2005-12-08 Thread Garner, Shawn
I would set up three different JSP Pages and route to them based on them answering which country they are from. I suggest you use the struts method to setLocale to the country and then make a version of the resources file for that locale. In our application we have two sets of properties files.

RE: Addressformat For Different Countries

2005-12-08 Thread Garner, Shawn
left is to go for tiles... On 12/8/05, Garner, Shawn [EMAIL PROTECTED] wrote: I would set up three different JSP Pages and route to them based on them answering which country they are from. I suggest you use the struts method to setLocale to the country and then make a version

RE: Addressformat For Different Countries

2005-12-08 Thread Garner, Shawn
to the length of a JSP page so I'm for breaking it up. You could do it this way also for 3 countries. Shawn -Original Message- From: Garner, Shawn Sent: Thursday, December 08, 2005 11:47 AM To: 'Struts Users Mailing List' Subject: RE: Addressformat For Different Countries He said he

[ot] XML Formatter that lets path be first

2005-12-15 Thread Garner, Shawn
Is there a free XML Formatter that lets path be first in the struts config file be first? The one I have puts the attributes in alphabetical order and I hate that. Shawn This email may contain confidential material.

Subject: [ot] XML Formatter that lets path be first

2005-12-15 Thread Garner, Shawn
Is there a free XML Formatter that lets path be first in the struts config file be first? The one I have puts the attributes in alphabetical order and I hate that. Shawn This email may contain confidential

RE: ServletException: duplicate class definition ?!

2005-12-16 Thread Garner, Shawn
Your web server has jar files already, check those. For me on JRun it is JRUN\servers\lib. For apache tomcat it is a commons\lib or something like that. It might be two different JAR files with the same class in it. You'll have to look inside the jar files to see if there is more than one

[struts-shale jsf]

2005-12-20 Thread Garner, Shawn
In struts we have an struts config struts-app06.xml and a struts-app07.xml file as well as a struts-config.xml It would have non year specific stuff in the struts-config.xml base directory but then the would redirect to the app06 or app07 modules for year specific stuff and the JSP pages would

RE: [struts-shale jsf]

2005-12-20 Thread Garner, Shawn
Of Craig McClanahan Sent: Tuesday, December 20, 2005 1:22 PM To: Struts Users Mailing List Subject: Re: [struts-shale jsf] On 12/20/05, Garner, Shawn [EMAIL PROTECTED] wrote: In struts we have an struts config struts-app06.xml and a struts-app07.xml file as well as a struts-config.xml

FW: [struts-shale jsf]

2005-12-20 Thread Garner, Shawn
Oops I meant faces-app07.xml below instead of struts-app07.xml -Original Message- From: Garner, Shawn Sent: Tuesday, December 20, 2005 2:04 PM To: 'Struts Users Mailing List' Subject: RE: [struts-shale jsf] As with Struts, the JSP pages for a JSF app can certainly be in subdirectories

[.do - JSF/Shale]

2005-12-21 Thread Garner, Shawn
Is there a way to call a .do type action in JSF/Shale and have it do some processing and then that action decides which view to go to? My case would be I am use to calling a login.do from another company and we need to process the information in the post to either go to welcome.jsp or error.jsp.

RE: [.do - JSF/Shale]

2005-12-21 Thread Garner, Shawn
PM To: Struts Users Mailing List Subject: Re: [.do - JSF/Shale] On 12/21/05, Garner, Shawn [EMAIL PROTECTED] wrote: Is there a way to call a .do type action in JSF/Shale and have it do some processing and then that action decides which view to go to? My case would be I am use to calling

[JSF/Shale] Controller returning null

2005-12-21 Thread Garner, Shawn
I see examples of the controller method returning success or error type situations which are mapped in the faces-config.xml file. What happens if you return null from a controller method? Does it return the previously rendered view or do you go to an error view defined in a web.xml or something.

RE: [.do - JSF/Shale]

2005-12-22 Thread Garner, Shawn
PROTECTED] On Behalf Of Craig McClanahan Sent: Wednesday, December 21, 2005 5:52 PM To: Struts Users Mailing List Subject: Re: [.do - JSF/Shale] On 12/21/05, Garner, Shawn [EMAIL PROTECTED] wrote: so I can enter something like http://www.mycompany.com/mycontext/mymanagedbean.mymethod in my

RE: [JSF/Shale] Controller returning null

2005-12-22 Thread Garner, Shawn
returning null On 12/21/05, Alexandre Poitras [EMAIL PROTECTED] wrote: I am not 100% sure but I think it does return the previously rendered view. On 12/21/05, Garner, Shawn [EMAIL PROTECTED] wrote: I see examples of the controller method returning success or error type situations which

RE: [OT] customizing JSF view management (was [shale][struts-face s] structured URLs with JSF (reprised))

2005-12-27 Thread Garner, Shawn
Is there a way to get the view as in the name of the jsp page within the code? Shawn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig McClanahan Sent: Thursday, December 22, 2005 11:24 PM To: Struts Users Mailing List Subject: Re: [OT] customizing

RE: [.do - JSF/Shale]

2006-01-02 Thread Garner, Shawn
-Original Message- From: [EMAIL PROTECTED] To: Struts Users Mailing List Sent: 12/21/2005 5:51 PM Subject: Re: [.do - JSF/Shale] On 12/21/05, Garner, Shawn [EMAIL PROTECTED] wrote: so I can enter something like http://www.mycompany.com/mycontext/mymanagedbean.mymethod in my browser

[Shale/JSF]

2006-01-04 Thread Garner, Shawn
How do you get access to one managed bean from within another managed bean? We have some business logic that depends on values in another managed. Shawn This email may contain confidential material. If you were

RE: [OT] customizing JSF view management (was [shale][struts-face s] structured URLs with JSF (reprised))

2006-01-04 Thread Garner, Shawn
: Re: [OT] customizing JSF view management (was [shale][struts-face s] structured URLs with JSF (reprised)) Is FaceesContext.getViewRoot().getViewId() what you're looking for? L. Garner, Shawn wrote: Is there a way to get the view as in the name of the jsp page within the code? Shawn

RE: How does Shale affect my Struts development

2006-01-06 Thread Garner, Shawn
If you've developed apps in the past with struts I'd just stay with struts. My company is starting to do some projects with JSF so it is inevitable that I will need to learn it so I'm trying to investigate shale. Shawn -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED]

RE: [Shale/JSF]

2006-01-06 Thread Garner, Shawn
Could you elaborate on this? Shawn -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Wednesday, January 04, 2006 5:38 PM To: user@struts.apache.org Subject: Re: [Shale/JSF] Craig McClanahan wrote: On 1/4/06, Garner, Shawn [EMAIL PROTECTED] wrote

RE: form submitted twice

2006-01-06 Thread Garner, Shawn
Use the html:img tag instead of html:image Read here for the difference: http://struts.apache.org/struts-taglib/tagreference-struts-html.html -Original Message- From: Faisal Shoukat [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 10:47 AM To: user@struts.apache.org Subject: form

RE: [Shale/JSF]

2006-01-06 Thread Garner, Shawn
I was talking about the interjection part. Thanks. Shawn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig McClanahan Sent: Friday, January 06, 2006 4:44 PM To: Struts Users Mailing List Subject: Re: [Shale/JSF] On 1/6/06, Garner, Shawn [EMAIL

[JSF/Shale] bean:message with parameter

2006-01-07 Thread Garner, Shawn
I want to do something like this in JSF: bean:message key=affirmation.link1 arg0=%=szFormType%/ Which I think translates to h:outputText value=#{bundle.affirmation.link1 f:param value=#{szFormType}/ /h:outputText Is this correct? Shawn

[OT] Eclipse and JSTL

2006-01-09 Thread Garner, Shawn
I am finding that eclipse wtp isn't resolving my jstl tags. I have the uri includes at the top of the jsp pages and the jars in the build path. Any c:set, c:set, or c:choose are labled as unknown and marked as errors. It resolves the JSF ones. Shawn

RE: [OT] Eclipse and JSTL

2006-01-10 Thread Garner, Shawn
know much about custom taglibs). Has worked in the past. Maybe if I add a uri to it then Eclipse will resolve it. Shawn -Original Message- From: Garner, Shawn Sent: Monday, January 09, 2006 10:10 AM To: 'Struts Users Mailing List' Subject: [OT] Eclipse and JSTL I am finding

RE: Modules

2006-01-10 Thread Garner, Shawn
I would think it should be but I'm unsure exactly how. I have some ideas of things I would try but I don't want to lead you down a path I'm unsure of. Shawn -Original Message- From: Daniel Las [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 11:17 AM To: Struts Users Mailing

RE: [OT] Eclipse and JSTL web-app

2006-01-11 Thread Garner, Shawn
I got eclipse to recognize my custom tag but in the process I noticed that the xml web-app definition version 2.4 doesn't support the taglib element anymore. Why did this go away and what version of the Servlet/JSP servlet spec did it go away? Shawn -Original Message- From: Garner

RE: [OT] Eclipse and JSTL web-app

2006-01-11 Thread Garner, Shawn
Mailing List Subject: Re: [OT] Eclipse and JSTL web-app On 1/11/06, Garner, Shawn [EMAIL PROTECTED] wrote: I got eclipse to recognize my custom tag but in the process I noticed that the xml web-app definition version 2.4 doesn't support the taglib element anymore. Why did this go away

RE: Session Attribute strange behaviour

2006-01-11 Thread Garner, Shawn
Looks like you think it should be doing it conditionally. The order of operations is. Request Page A -- Always sets backUrl to /initA.do in session -- Render JSP Page to User -- User clicks link -- Requests Page B -- Same session so backUrl is still /initA.do -- Render Page B -- User sees

RE: [OT] Getting started is confusing [was] Re: Need advice bet ween Shale or Struts-Faces

2006-01-11 Thread Garner, Shawn
First thing I did was to create a helper base class with methods like the following public Object getRequestParameter(String key) { return FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMa p().get(key); } Doesn't seem very hard to me. Shawn -Original

RE: [OT] Getting started is confusing [was] Re: Need advice bet ween Shale or Struts-Faces

2006-01-11 Thread Garner, Shawn
: RE: [OT] Getting started is confusing [was] Re: Need advice bet ween Shale or Struts-Faces On Wed, January 11, 2006 2:18 pm, Garner, Shawn said: First thing I did was to create a helper base class with methods like the following public Object getRequestParameter(String key) { return

[OT JSF/Shale]

2006-01-12 Thread Garner, Shawn
I want to use a link in one view page to go to another view without going through a bean action. Something like this? I thought maybe I could just use the jsp:forward tag and put the name of the jsp page. view1.jsp f:view h:commandLink forward=/view2.jsp h:outputText

[JSF/SHALE] 403 error

2006-01-12 Thread Garner, Shawn
http://localhost:8101/totwcf/totwcf07/ http://localhost:8101/totwcf/totwcf07/ I have a faces-totwcf.xml file that is bound in jrun to totwcf context. When I visit http://localhost:8101/totwcf/totwcf07/ http://localhost:8101/totwcf/totwcf07/ I get a 403 error (You are not authorized to view

[shale] starting server errors

2006-01-12 Thread Garner, Shawn
I found one reason it wasn't working. I had to go back to this version of web-app. !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/j2ee/dtds/web-app_2.3.dtd; After that though I'm getting some errors upon startup: 01/12

RE: [shale] starting server errors

2006-01-12 Thread Garner, Shawn
Yes, I did. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 2:55 PM To: Struts Users Mailing List Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn [EMAIL PROTECTED] wrote: I found one reason it wasn't working. I had

RE: [shale] starting server errors

2006-01-12 Thread Garner, Shawn
I think I might be missing some myfaces dependency jars. -Original Message- From: Garner, Shawn Sent: Thursday, January 12, 2006 3:03 PM To: 'Struts Users Mailing List' Subject: RE: [shale] starting server errors Yes, I did. -Original Message- From: Wendy Smoak [mailto:[EMAIL

RE: [shale] starting server errors

2006-01-12 Thread Garner, Shawn
It says: If you are using a JSP 1.2 container like Tomcat 4 you must also copy the file jsp-2.0.jar to your WEB-INF/lib dir I'm not using Tomcat 4 but am using a 1.2 container. Where do I get the jsp-2.0.jar file? Shawn -Original Message- From: Garner, Shawn Sent: Thursday, January 12

RE: [shale] starting server errors

2006-01-12 Thread Garner, Shawn
To: Struts Users Mailing List Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn [EMAIL PROTECTED] wrote: It says: If you are using a JSP 1.2 container like Tomcat 4 you must also copy the file jsp-2.0.jar to your WEB-INF/lib dir I'm not using Tomcat 4 but am using a 1.2

RE: [shale] starting server errors

2006-01-12 Thread Garner, Shawn
- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 4:07 PM To: Struts Users Mailing List Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn [EMAIL PROTECTED] wrote: I'm not getting the el error anymore but still getting the following: I'm afraid I'm

RE: [shale] starting server errors

2006-01-12 Thread Garner, Shawn
is not setup in your web.xml. A typical config looks like this; listener listener-classorg.apache.myfaces.webapp.StartupServletContextListener/lis tener-class /listener at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84) Any help? -Original Message- From: Garner, Shawn

RE: [shale] starting server errors

2006-01-13 Thread Garner, Shawn
an updater on JRun. They might have added that support after the original version was released. Shawn -Original Message- From: [EMAIL PROTECTED] To: Struts Users Mailing List Sent: 1/13/2006 12:38 AM Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn [EMAIL PROTECTED

RE: [shale] starting server errors

2006-01-13 Thread Garner, Shawn
List Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn [EMAIL PROTECTED] wrote: Googled and couldn't find anything and not sure what to try and still have this error: 01/12 16:16:18 error Error loading class for Filter shale: Filter is disabled

RE: [shale] starting server errors

2006-01-14 Thread Garner, Shawn
Users Mailing List user@struts.apache.org Sent: Friday, January 13, 2006 1:38 AM Subject: Re: [shale] starting server errors On 1/12/06, Garner, Shawn [EMAIL PROTECTED] wrote: Googled and couldn't find anything and not sure what to try and still have this error: 01/12 16:16:18 error Error

RE: Generating dropdown lists using html tag

2006-01-19 Thread Garner, Shawn
Isn't there an options tag that takes in a collection? Wouldn't that be more optimized and easier? Shawn -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Thursday, January 19, 2006 10:16 AM To: Struts Users Mailing List Subject: Re: Generating dropdown lists using

RE: [OT]Query and update LDAP

2006-01-20 Thread Garner, Shawn
I believe this is handled at the J2EE server level. Shawn -Original Message- From: Priya Saloni [mailto:[EMAIL PROTECTED] Sent: Friday, January 20, 2006 2:47 PM To: Struts Users Mailing List Subject: [OT]Query and update LDAP Hi There, As per the requirement in my project i need to

tabs struts tutorial

2006-01-23 Thread Garner, Shawn
Is there a way to do page tabs in struts? I seem to recall somebody saying there was. Also does anyone know of a good struts tutorial/refresher? I'm starting up a project with a person who hasn't worked with struts for a few years. Shawn

[Struts EL JSTL]

2006-01-23 Thread Garner, Shawn
I'm not sure what exactly is Struts EL and how it compares to the JSTL tags. I've used JSTL 1.0 tags and see how there is overlap between some of the Struts logic/bean tags but I fail to see what exactly Struts EL is. I've read http://struts.apache.org/struts-el/index.html

el tags and regular struts tags

2006-01-24 Thread Garner, Shawn
I see the bean-el has the same shortname as bean. So if I want to use the bean-el tags then should I just use the el tags instead of the regular tags? I was declaring both the regular struts tags and el tags in the web.xml file until I saw they had the same shortname when declaring them in jsp.

difference between x.tld and x-rt.tld

2006-01-24 Thread Garner, Shawn
What is the difference between x.tld and x-rt.tld or any other tag that has version of the tld with or without the rt suffix? Shawn This email may contain confidential material. If you were not an intended

RE: difference between x.tld and x-rt.tld

2006-01-24 Thread Garner, Shawn
between x.tld and x-rt.tld On 1/24/06, Garner, Shawn [EMAIL PROTECTED] wrote: What is the difference between x.tld and x-rt.tld or any other tag that has version of the tld with or without the rt suffix? Using Google nowadays is scary, eh? ;-) Come on, they will not come to you unless you

RE: el tags and regular struts tags

2006-01-24 Thread Garner, Shawn
: el tags and regular struts tags Garner, Shawn wrote: I see the bean-el has the same shortname as bean. So if I want to use the bean-el tags then should I just use the el tags instead of the regular tags? I was declaring both the regular struts tags and el tags in the web.xml file until I

[JSF] rt tld

2006-01-25 Thread Garner, Shawn
How come there isn't a rt.tld for JSF that takes in runtime expressions? I understand that views may return xml or html views instead of jsp but arn't tld's basically a JSP thing? I understand this isn't a concern with JSP 2.0 but I'm still using JSP 1.2. Shawn

RE: A util class for EJB tier similar to BeanUtils?

2006-01-25 Thread Garner, Shawn
I don't see why this would couple the web tier to the ejb tier. All it would couple you to is the commons-beanutils.jar which you should be able to use even if you don't use struts. Shawn -Original Message- From: Sharon Jolly [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006

RE: rt tld

2006-01-25 Thread Garner, Shawn
. Shawn -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 25, 2006 12:06 PM To: Struts Users Mailing List Subject: Re: rt tld On 1/25/06, Garner, Shawn [EMAIL PROTECTED] wrote: How come there isn't a rt.tld for JSF that takes in runtime expressions

RE: [HELP] Can't not get parameter when submit a form form metho d=POST enctype=multipart/form-data

2006-01-26 Thread Garner, Shawn
Use an html hidden property to get this value. Shawn -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Wednesday, January 25, 2006 1:31 PM To: user@struts.apache.org Subject: Re: [HELP] Can't not get parameter when submit a form form method=POST

RE: [HELP] Can't not get parameter when submit a form form metho d=POST enctype=multipart/form-data

2006-01-26 Thread Garner, Shawn
/form-data hidden tag input type=hidden ? You can not get that html hidden property in reset method of FormBean ... any solution :( - Original Message - From: Garner, Shawn [EMAIL PROTECTED] To: 'Struts Users Mailing List' user@struts.apache.org Sent: Friday, January 27, 2006 12:38 AM

RE: Action Form error.

2006-01-27 Thread Garner, Shawn
action path=/sectorSetUp name=sectorForm Is sectorForm declared in the top of your struts-config file? Make sure the type is valid. form-bean name=sectorForm type=web.form.SectorForm / Also check that your JSP has htm:form action=/sectorSetUp.do... Shawn

RE: [HELP] Can't not get parameter when submit a form form metho d=POST enctype=multipart/form-data

2006-01-27 Thread Garner, Shawn
parameters from url address. http://something.do?u=nothing. - Original Message - From: Garner, Shawn [EMAIL PROTECTED] To: 'Struts Users Mailing List ' user@struts.apache.org Sent: Friday, January 27, 2006 10:33 AM Subject: RE: [HELP] Can't not get parameter when submit a form form method

RE: Action Form error.

2006-01-27 Thread Garner, Shawn
I think there is a ConsoleAppender for log4j. Otherwise I believe you can do a System.out.println. Shawn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 7:22 AM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: Re:

[OT] Serving an pdf file in a struts action

2006-02-01 Thread Garner, Shawn
Is there any trick in sending the user a pdf by setting the content type to application/pdf and then using the response.getWriter() to write out the data? Shawn This email may contain confidential material. If

[tiles] question on tiles functionality

2006-02-03 Thread Garner, Shawn
I was looking at the examples at http://struts.apache.org/struts-tiles/examples.html http://struts.apache.org/struts-tiles/examples.html and I didn't really see a good example of what I was looking for. I'm doing something like this for every page: file: somepage.jsp %@ taglib

  1   2   >