Having more than one tleDefinitions.xml

2003-11-10 Thread Parthasarathy Kesavaraj
I want to have a common basetileDefinition.xml as base and i want to have seperate tileDefinition.xml for each of my module.The tileDefinition.xml in each module should extend a definition in basetileDefinition.xml.Is it possible? is my idea of using seperate tileDefinition.xml for each module is

Servlet filter and Struts

2003-11-10 Thread Steffen Gransow
Hi, I want to implement a servlet filter to redirect users to login when there is no valid session. Now I have a simple Struts application with a welcome and a login page. As soon as I add the filter my 'application' stops working. How do I implement a servlet filter in a correct way to achieve

Action Class: Print into respone

2003-11-10 Thread Christian Burger
Hello, I want to generate on the fly data which I want to print into the response stream. This is not the problem: The poblem is that any Struts Action shall return with an ActionForward instance. Yes, I could generate a temporary file in which I would print. I could furthermore create an

RE: Action Class: Print into respone

2003-11-10 Thread Nimish Chourey , Tidel Park - Chennai
Put the data in form of bean into request/session scope and then forward to a JSP (view Page) .. Which then takes the bean from the request/session scope to render the data ... -Original Message- From: Christian Burger [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 4:53 PM

Re: Action Class: Print into respone

2003-11-10 Thread Thomas Cornet
What I do is returning 'null' after setting the MIME type and printing in the response output stream. Works quite well... Thomas At 12:22 10/11/2003, you wrote: Hello, I want to generate on the fly data which I want to print into the response stream. This is not the problem:

RE: Action Class: Print into respone

2003-11-10 Thread Andrew Hill
snip src=javadoc for Action class Return an ActionForward instance describing where and how control should be forwarded, or null if the response has already been completed. /snip A quick glance at the javadocs will show that you need only to return null from your action instead of an

RE: Action Class: Print into respone

2003-11-10 Thread Yoganarasimha G
U write output response as a ServletOutputStream and return null, this will make not to forward to any JSP page. -yoga -Original Message- From: Nimish Chourey , Tidel Park - Chennai [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 4:57 PM To: Struts Users Mailing List Subject:

Re: Hello World gone wrong

2003-11-10 Thread Adam Hardy
On 11/10/2003 04:48 AM Richard Morris wrote: org.apache.jasper.JasperException: Cannot find message resources under key org.apache.struts.action.MESSAGE Here is the struts-config.xml file: struts-config message-resources parameter=HelloWorldMessageResources null=false/ /struts-config

RE: Servlet filter and Struts

2003-11-10 Thread Steffen Gransow
Sorry, wrong mailing list I guess. :\ But what I would like to know is: If I do forward to a specific page in a servlet filter, what would the code look like? RequestDispatcher rd = context.getRequestDispatcher(/kvnet/login.jsp); rd.forward(request, response); Or should I use /kvent/Login.do?

RE: ValidatorForm losing params when validation fails

2003-11-10 Thread Marc Dugger
My mapping specifies 'validate=false' because I have a method in the DispatchAction, called refresh(mapping, form, request, response) which adjusts the size of indexed properties in the Form and returns the user to the same page. I do not want the form to be validated when refresh(mapping, form,

Re: Struts Best Practices.. Paper for Review pls

2003-11-10 Thread Puneet Agarwal
Hi Adam, Yup, it was originally a pdf file and I converted it to HTML, have fixed it now. We took those as best practices from user's mailing list and within TCS Delhi, however if the people don't accept those as best practices, I shall be ready to amend this. I am planning to update this paper

Re: Dynamic page contentType

2003-11-10 Thread Adam Hardy
On 11/10/2003 04:48 AM Eric SCHULTZ wrote: Do use the method below in my Action object? And then use different Forwards depending on whether the result is to be in HTML or XML? Or do I check in the JSP what my content-type is set to and output the correct output? Hi Eric, yes, exactly. I would

RE: ValidatorForm losing params when validation fails

2003-11-10 Thread Nimish Chourey , Tidel Park - Chennai
Yes .. It makes sense .. Can u post the action mapping in the struts config .. That may give some clue -Original Message- From: Marc Dugger [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 5:33 PM To: Struts Users Mailing List Subject: RE: ValidatorForm losing params when

RE: ValidatorForm losing params when validation fails

2003-11-10 Thread Marc Dugger
action path=/note/edit name=NoteForm validate=false input=/note/get.do type=com.socotech.loanauditor.web.note.EditNoteAction parameter=mode scope=request forward name=refreshed path=editNote

PDF File Display in JSP-Struts

2003-11-10 Thread Abhijeet Mahalkar
Hi All, I want to display one PDF file in my websphere struts framework. when i do it without struts (only servlets ) it works but when i use JSP along with struts it does not work. it does not read binary data properly... Is there any body to help me out regards thankx in advace...

Re: Servlet filter and Struts

2003-11-10 Thread Vic Cekvenich
This is the standard way to do what you want... in web-xml only, using J2EE for container (such as tomcat JDBC realms) for security, a best practice. Once you know this part of JAAS, then you can extend, to put more things about the user in session, and track that in you actions. !-- guest --

RE: PDF File Display in JSP-Struts

2003-11-10 Thread shirishchandra.sakhare
Are you setting the mime type properly on the response object? -Original Message- From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 1:55 PM To: Struts Users Mailing List Cc: WebSphere User Group Tech Q A Forum Subject: PDF File Display in JSP-Struts Hi

RE: PDF File Display in JSP-Struts

2003-11-10 Thread Nail, Evan Burke
Also, You have to make sure that nothing is written out to the stream before you set your content type. Also I did this just playing around a while back, I noticed that we had to move our jsp imports to the bottom of the file. Having them at the top caused errors in the output. I'm guessing

Re: Struts Best Practices.. Paper for Review pls

2003-11-10 Thread Ted Husted
The document is really closer to a cookbook. Hibernate has a very good example of a best practices document. http://www.hibernate.org/hib_docs/reference/html/best-practices.html -Ted. Puneet Agarwal wrote: Hi Adam, Yup, it was originally a pdf file and I converted it to HTML, have fixed it

RE: PDF File Display in JSP-Struts

2003-11-10 Thread shirishchandra.sakhare
The better approach would be to set the proper mime type in the action itself...So that u dont put any restrictions on jsps then...And any how, if you are writing the pdf to output stream, why you still want to forward to a jsp? Why not return a null forward in that case? -Original

sendRedirect within Action

2003-11-10 Thread Mohamed Abu Zur
Hi all: How I can make a sendRedirect whitin an action in struts. in action class I have to return ActionForward but I want to make sendRedirect to lose the request instance. thanks in advance Mohamed Nail, Evan Burke [EMAIL PROTECTED] wrote: Also, You have to make sure that nothing

ServletException: exception creating bean

2003-11-10 Thread todd thorner
Hi, I'm having some (newbie) problems with my Struts-based webapp running on Tomcat 4.1.x Something is going wrong when I try to access the first jsp page that has a form. One thing I have tried to add recently to my webapp's functionality is a data-source (I had been using straight JDBC), so

[OT] [ANNOUNCE] JUnit in Action now available

2003-11-10 Thread Ted Husted
A new book offering, JUnit in Action, by Jakarta regulars Vincent Massol and Ted Husted, is now available for purchase. Developers in the know are switching to a new testing strategy - unit testing - which interleaves coding and testing in an integrated way. This has proven to be a powerful

Re: Having more than one tleDefinitions.xml

2003-11-10 Thread Brice Ruth
I don't believe you can share tile-definitions between modules, since the Tiles plug-in is responsible for the Tile definitions, and that plug-in is loaded per-module, if I'm not mistaken. Maybe the default plug-in could be extended to support what you're trying to do? Parthasarathy Kesavaraj

Re: [OT] [ANNOUNCE] JUnit in Action now available

2003-11-10 Thread Brice Ruth
Sweet! Just what I was lookin' for ... :) JUnit rocks, we mere mortals simply need some guidance on some better practices with regards to testing! Ted Husted wrote: A new book offering, JUnit in Action, by Jakarta regulars Vincent Massol and Ted Husted, is now available for purchase.

Re: [OT] [ANNOUNCE] JUnit in Action now available

2003-11-10 Thread Hubert Rabago
The amazon.com developers need to read this book and find a port for the language they use. Two days ago the listing for this book said ships in 2-3 months. :) --- Brice Ruth [EMAIL PROTECTED] wrote: Sweet! Just what I was lookin' for ... :) JUnit rocks, we mere mortals simply need some

Re: [OT] [ANNOUNCE] JUnit in Action now available

2003-11-10 Thread khote
http://www.manning.com/ebook_buy.html?project=massol Manning has lots of good books, I always pay the $20.00 and download the pdf. - Original Message - From: Brice Ruth [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, November 10, 2003 5:59 AM Subject:

Re: [FRIDAY] YA Stuts In Action / JUnit in Action Trivia Quiz

2003-11-10 Thread Ted Husted
Since JUnit on Action is hot off the presses, this time we'll be offering the winner the choice of a signed copy of SIA *OR* JUnit in Action. (Just my signature in both cases, I'm afraid, logistics prevent circulating these to my many co-authors.) But, first, last time we offered up a holiday

Problem with struts form tag and Tomcat

2003-11-10 Thread John McAliley
I am getting the following error using Tomcat 5.0.12 and struts 1.1: StandardWrapperValve[action]: Servlet.service() for servlet action threw exceptionjava.lang.NoClassDefFoundError: org/apache/tomcat/util/net/URL at

mapping.forward() take a long time

2003-11-10 Thread Milind Kulkarni
Hi All, We are using Struts as a framework of choice and most of the applications are using Struts framework. One thing that we have noticed is that mapping.forward takes a very long time to navigate a person from one screen to another. Has anybody experienced this problem? Any solutions /

FW: mapping.findforward() take a long time

2003-11-10 Thread Milind Kulkarni
Hi All, We are using Struts as a framework of choice and most of the applications are using Struts framework. One thing that we have noticed is that mapping.forward takes a very long time to navigate a person from one screen to another. Has anybody experienced this problem? Any solutions /

Accessing application scope in Action.execute()

2003-11-10 Thread Looser
Hi, is there any chance to access objects in application scope in my action classes ? I have to override the .execute(ActionMapping mapping,ActionForm form,HttpServletRequest request,HttpServletResponse response) method but none of these parameters give me access to application scope like

STRUTS - Image/Img tags

2003-11-10 Thread Todor Sergueev Petkov
Hello everybody, is there a way to use struts Image or Img tags to display thumbnails ( pictures - gif or tiff or jpeg ) on a page from a Stream and not from file. The idea is to pick the picts up directly from a database and display them together with text on the same page? Thanks, Todor

Html:image

2003-11-10 Thread Shishir K. Singh
Hi, I am reposting this question. How can I use runtime variable with the property attribute of html:image tag. Eg, My intent is : html:image property=c:out value='${}' / page=/a/b.gif / However, the value for property is not substituted. I get the property as c:out

Re: Html:image

2003-11-10 Thread Ben Anderson
Shishir, you cannot nest tags within tags. You probably want to use html-el:image http://jakarta.apache.org/struts/faqs/struts-el.html -Ben From: Shishir K. Singh [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject:

Re: Html:image

2003-11-10 Thread David Graham
--- Ben Anderson [EMAIL PROTECTED] wrote: Shishir, you cannot nest tags within tags. Just to be clear, you can nest tags but you cannot use a tag as the value of another tag's attribute. David You probably want to use html-el:image http://jakarta.apache.org/struts/faqs/struts-el.html

dynamic indexed properties in Form bean

2003-11-10 Thread Marc Dugger
I'm having trouble populating a Form bean that has an indexed (variable size) nested bean. I'm using an ArrayList inside the Form bean to collect the nested properties and it's partially working. The problem is that because the index is variable, I don't know how to correctly size the ArrayList.

RE: Accessing application scope in Action.execute()

2003-11-10 Thread David Friedman
Dear Looser, Inside the execute, you can set/get application scope properties using the Action class methods getServlet() followed by two more commands: getServlet().getServletContext().getAttribute(String); OR getServlet().getServletContext().setAttribute(String, obj); Regards, David

Re: Accessing application scope in Action.execute()

2003-11-10 Thread Frank Schaare
Hi David, getServlet() followed by two more commands: getServlet().getServletContext().getAttribute(String); OR getServlet().getServletContext().setAttribute(String, obj); Regards, this was a great help for me thank you. Hope my name is shown correctly now...

Pre-poluating values...

2003-11-10 Thread Jacob Wilson
Hello Everybody... I have got this generic question... I wan't to use the onLoad event of the javascript function to pre-populate values.For certain reasons, I cannot use the onLoad in the body tag... Hence, I am using the onLoad in an img tag (just created a spacer image specfically for

RE: dynamic indexed properties in Form bean

2003-11-10 Thread shirishchandra.sakhare
search the user archive..This has been answered many times before.. The solution is use lazyList implementation by struts or Dynamic arryList as implemented in my Solution..(See in the list archive)..I think that is what u have also said u tried..And it works..I have also answered thsi question

Re: Can't undeploy struts.jar in Tomcat 4.1.27

2003-11-10 Thread Yann Cébron
Using Tomcat 4.1.27 (and JVM 1.4.2_02-b03 on Win2k) when I Remove my Struts application in the Manager the /myApp/WEB-INF/lib/struts.jar file doesn't get deleted. The original WAR file is deleted and the expanded directory contents are deleted, except the struts.jar file. If I try to

Re: STRUTS - Image/Img tags

2003-11-10 Thread Max Cooper
The answer is yes, but not in the way you are thinking. You cannot send a stream of HTML and image data together and expect the browser to display it. You can send a stream of HTML data with references to image data (IMG tags) and the browser will make a separate request for each of the images.

Refer to an html:form by name ?

2003-11-10 Thread Gleichmann, Mario
Dear Struts-Community, assumed we use a composite-view, which is composed by multiple 'tiles' delivered by several Design-Team members. Every of this tile is free to define it's own form-areas (html:form...) and appropriate action(s). Furthermore we have a 'Menu-Tile' which Buttons/Links refers

Inputs needed for Reset password

2003-11-10 Thread mohan
Hi All, I am doing a reset password page using struts. The user clicks on a forgotpassword link which takes him to a page where he enters his email address. We send him a http://blah.org/resetpwd.jsp?xdksdfksdfsdf URL with the key attached to the URL. The key expires in 24 hours. The user checks

Re: Refer to an html:form by name ?

2003-11-10 Thread Brice Ruth
The form name attribute is set to the name of the ActionForm that your Action takes as its input. This is done automagically, without specifying a name= attribute in the html:form tag itself. This is to support javascript validation, I believe. Gleichmann, Mario wrote: Dear Struts-Community,

Re: Fwd: Please Help !! Can't Display ActionMessages

2003-11-10 Thread Kam Lung Leung
Hi Adam, Thank you for replying to my message. There are two parts stories on this problem. The first part which is without the html:errors/ on the logon page. logic:messagesPresent There were errors font color='red'

Struts across WARs

2003-11-10 Thread Ramakrishnan Priya
Hi... I'm having difficulty using struts across WAR files within a single EAR. I have a template defined in a.war and am trying to reference the template in b.war - here's how I am doing it and it doesn't work. Assume a is the context for a.war and b for b.war. template:insert

Struts/Websphere 4.0.1/Session Database Issues

2003-11-10 Thread Pacheco, Brent
Howdy all! I'm new to the list. I've searched the archives and the web and exhausted all my other resources, so I thought I'd post something to the list and see if anyone had ever run across this issue before. So, thanks in advance for reading my post. I've been using Struts now for about 9

DefinitionDispatcherAction in Modules [Bug?]

2003-11-10 Thread Hibbs, David
I'm using modules in my new application [official Struts 1.1release] to segregate pieces of it, and I'm having issues with DefinitionDispatcherAction. Enabling debug messages, I can see that it is successfully retrieving my definition--this is the last log message that I see

OT RE: Inputs needed for Reset password

2003-11-10 Thread Wendy Smoak
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] We send him a http://blah.org/resetpwd.jsp?xdksdfksdfsdf URL with the key attached to the URL. The key expires in 24 hours. The user checks on this link in his email. We need to verify if the key is still valid and then allow him to change

Re: OT RE: Inputs needed for Reset password

2003-11-10 Thread mohan
Thank you Wendy thats about what i was thinking. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] We send him a http://blah.org/resetpwd.jsp?xdksdfksdfsdf URL with the key attached to the URL. The key expires in 24 hours. The user checks on this link in his email. We need to verify if the

AW: Refer to an html:form by name ?

2003-11-10 Thread Gleichmann, Mario
Dear Bryce, thanks for your quick answer :o) My problem is to refer to an arbitrary form definition in one of many possible tiles (so we have more than one form element in the resulting html page) on client side by javascript (before submiting and validating the form bean on server side) in

action mappings not found? page not found

2003-11-10 Thread Marcel Overdijk
In my multiple strus enviroment I have 3 modules. The default and for example config/reflection and config/2 My default struts-config contains the folowing global forward: forward name=reflection contextRelative=true path=/reflection/home.do

Re: Struts across WARs

2003-11-10 Thread Brice Ruth
I don't believe sharing Tiles across WARs is possible, since the Tiles plug-in needs the Tiles 'context' which would be specific to the Tiles plug-in that is processing a particular request, if I'm not mistaken ... since each WAR runs its own Tiles plug-in, I don't believe any Tiles related

Re: Inputs needed for Reset password

2003-11-10 Thread Andrew Beames
On Monday 10 Nov 2003 5:54 pm, [EMAIL PROTECTED] wrote: Hi All, I am doing a reset password page using struts. The user clicks on a forgotpassword link which takes him to a page where he enters his email address. We send him a http://blah.org/resetpwd.jsp?xdksdfksdfsdf URL with the key

Re: Hello World gone wrong

2003-11-10 Thread Richard Morris
Adam, I do have the properties file located in the /WEB-INF/classes directory. When I couldn't get it to work using this method, I tried putting the properties into a package and then jar'ed it and put the jar in the /WEB-INF/lib directory. It still couldn't find the properties file. I am using

RE: Struts Config for JRun FYI....

2003-11-10 Thread Huw Richards
I previously had struts 1.1 running on jrun 3.1. See this email in the archive (which refers to struts 1.0.2 but the change works for 1.1) http://marc.theaimsgroup.com/?l=struts-userm=103652624602001w=2 Let me know if you need more help. H. -Original Message- From: David Liles

usage of tags inside tags

2003-11-10 Thread mohan
Hi All I would like to use rand:string id=random4 charset=A-Z ! @ # \\ \- + ? amp; $/ as the value for a html:hidden tag and store it as property security. How can i do that? can i do this html:hidden property=security value='rand:string id=random4 charset=A-Z ! @ # \\ \- + ? amp; $/' /

Re: usage of tags inside tags

2003-11-10 Thread Brice Ruth
c:set var=randrand:string ... //c:set html:hidden ... value=${rand}/ -OR- html:hidden ... rand:string ... //html:hidden Whatever your fancy is :) But, no - you can't do it as you propose, to my knowledge. [EMAIL PROTECTED] wrote: Hi All I would like to use rand:string id=random4 charset=A-Z

Re: This code works in Tomcat Sun One 7 Appsvr but not WLS 8.1

2003-11-10 Thread Joshua White
Is there a patch number or other information you could provide me with? Thanks, Joshua Bjørn T Johansen [EMAIL PROTECTED] wrote: This is a bug in WLS 8.1 which is going to be fixed in SP 2.. Meanwhile a patch is available from BEA... BTJ On Fri, 2003-11-07 at 13:37, Joshua White wrote: Has

Re: Hello World gone wrong

2003-11-10 Thread Adam Hardy
Hi Richard, you don't need to package it. I have never packaged a resources file or put it in a jar seperately. According to your config, it's in the right place, something like e:\projects\helloworld\WEB-INF\classes\HelloWorldMessageResources.properties right? The error must lie elsewhere. I

html:html locale=true deprecated?

2003-11-10 Thread Yansheng Lin
I was doing some i18n pages and realized that locale is/will? be deprecated soon. The spec provides an alternativ, which is the 'lang' attr, since struts 1.2. But I am using struct 1.1 right now, so what's the best option for me? Kind of confusing, if you ask me. Since the lastest stable

RE: Struts Config for JRun FYI....

2003-11-10 Thread David Liles
Thanks for the info... however, after upgrading to JRun 3.1 we ran into a serious JNDI conflict error. Apparently upgrading to JRun 3.1 created a conflict with all of the JDBC configurations we had in our 3.0 version. We tried everything we knew to try and fix it but ultimately ended up going

Form submission through java script

2003-11-10 Thread Shishir K. Singh
Hi, I have a form with one drop down menu list and two buttons (continue and previous ). The two buttons are hooked up to the LookupDispatchAction where I process the code as required by the action of the button. Everything works fine if I use the buttons. My requirement is that when I click

Re: Form submission through java script

2003-11-10 Thread Brice Ruth
Why are you setting the document.form.action? Just call document.form.submit() - the JavaScript will automatically know what to do and where to submit to. Shishir K. Singh wrote: Hi, I have a form with one drop down menu list and two buttons (continue and previous ). The two buttons are

RE: Form submission through java script

2003-11-10 Thread Shishir K. Singh
Initially, I was trying that. I got the same error. -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 5:36 PM To: Struts Users Mailing List Subject: Re: Form submission through java script Why are you setting the document.form.action? Just

RE: Form submission through java script

2003-11-10 Thread Yansheng Lin
If you do a System.out on action, you will find it's null right now. You need to pass a valid action to the your dispatch Action so that it knows which handler to call. document.form.action='continue'; -Original Message- From: Shishir K. Singh [mailto:[EMAIL PROTECTED] Sent: lundi 10

RE: Struts across WARs

2003-11-10 Thread Peter Abbot
Have you tried without the /... template:insert template='/a/site/workitems/lmDisplayTemplate.jsp' I have links to other webapps (although not using tiles) in some of my applications and I can use the following fine: From webapp b: html:link href=/a/index.do Go to web application A /html:link

How to Run Java App. as an NT Service?

2003-11-10 Thread Vicky
Hello All, Sorry for off the topic question. Does anyone know how can i run my java application program as an NT service? Any pointers, code examples will be appreciated. Thanks, Vicky - Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard

RE: How to Run Java App. as an NT Service?

2003-11-10 Thread Mainguy, Mike
Javaservice will do this for you... Check out the tomcat distribution, they have an example. worse is better -Original Message- From: Vicky [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 6:17 PM To: [EMAIL PROTECTED] Subject: How to Run Java App. as an NT Service? Hello

RE: Form submission through java script

2003-11-10 Thread Shishir K. Singh
I am getting the same error. The name of the button that I want to emulate is action and the value is Continue. Where/how do I set this parameter in the Java Script so that the LookupDispatchAction is able to get the value. -Original Message- From: Yansheng Lin [mailto:[EMAIL

RE: Form submission through java script

2003-11-10 Thread Lynn Guy
I got this message when I DID want to change the action. I had to change the parameter name to xaction and it worked. So I'd be suspicious of the name submit as well. Also, I had to change the action to append the parameter and its value to get it to work this way. --- Yansheng Lin [EMAIL

RE: Form submission through java script

2003-11-10 Thread Shishir K. Singh
Will appreciate it if you could show how to append the params and it's value. -Original Message- From: Lynn Guy [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 6:44 PM To: Struts Users Mailing List Subject: RE: Form submission through java script I got this message when I

RE: Form submission through java script

2003-11-10 Thread Lynn Guy
script language=text/javascript function submit() { document.form.action = http://localhost:8081/createContentAction.do?action=Continue;; document.form.submit() } /script but note: I had to change the parameter name from action to something else because the button named

Re: Hello World gone wrong

2003-11-10 Thread Richard Morris
Hi Adam, The HelloWorldMessageResources.properties file is where you have stated. I also tried your comment style in the properties file as well as removing all comments and it didn't change anything. I have also removed the application init-param from the web.xml file. As for the webapp DTD

RE: Hello World gone wrong

2003-11-10 Thread Yee, Richard K,,DMDCWEST
Richard, Try using forward slashes in your docbase instead of '\' docBase=E:/Projects/HelloWorld / Java might otherwise interpret it as an escape char. -Richard -Original Message- From: Richard Morris [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 4:03 PM To: Struts Users

RE: This code works in Tomcat Sun One 7 Appsvr but not WLS 8.1

2003-11-10 Thread Karr, David
This is likely going to be CR112789. Call BEA Support and describe your problem, and mention that this patch might be related. -Original Message- From: Joshua White [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 1:51 PM To: Struts Users Mailing List Subject: Re: This code

Re: Struts across WARs

2003-11-10 Thread Brice Ruth
When you use the 'href' attribute of html:link, the value you provide has no processing of any kind done to it - with a Tiles :insert tag, though, the Tiles plug-in has to be able to find the .jsp being referred to - its not about generating the link. In an EAR, this would then mean that the

Re: Having more than one tleDefinitions.xml

2003-11-10 Thread Marino A. Jonsson
I don't believe you can share tile-definitions between modules, since the Tiles plug-in is responsible for the Tile definitions, and that plug-in is loaded per-module, if I'm not mistaken. Maybe the default plug-in could be extended to support what you're trying to do? If I understand this

RE: How to Run Java App. as an NT Service?

2003-11-10 Thread Thompson, Mike (ETW)
Java Service Wrapper is a pretty feature laden implementation... http://wrapper.tanukisoftware.org/doc/english/index.html -Original Message- From: Vicky [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 3:17 PM To: [EMAIL PROTECTED] Subject: How to Run Java App. as an NT Service?

RE: Dynamic page contentType

2003-11-10 Thread Eric SCHULTZ
Good evening... Thanks, exactly what I needed. Schultz. -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: November 10, 2003 7:18 AM To: Struts Users Mailing List Subject: Re: Dynamic page contentType On 11/10/2003 04:48 AM Eric SCHULTZ wrote: Do use the method below

RE: Form submission through java script

2003-11-10 Thread Shishir K. Singh
Thanks ..it works. -Original Message- From: Lynn Guy [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 6:51 PM To: Struts Users Mailing List Subject: RE: Form submission through java script script language=text/javascript function submit() { document.form.action =

Populating the next Form

2003-11-10 Thread sreekant_gottimukkala
Hi, I have ActionA and FormA associated to screenA, similarly ActionB and FormB associated to screenB. Upon click of a button on ScreenA, I need to dispatch ScreenB with some values prefilled. I was wondering where should I be writing the logic to populate the FormB for showing those values

RE: Populating the next Form

2003-11-10 Thread Navjot Singh
surely in ActionB. Filling it's own form is action in itself. you can parameterized your action to do 2 things 1. fill the formB 2. accepts the submitted formB. HTH Navjot Singh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 10:54

Re: Struts across WARs

2003-11-10 Thread Craig R. McClanahan
Quoting Brice Ruth [EMAIL PROTECTED]: I don't believe sharing Tiles across WARs is possible, since the Tiles plug-in needs the Tiles 'context' which would be specific to the Tiles plug-in that is processing a particular request, if I'm not mistaken ... since each WAR runs its own Tiles