Viewing .pdf files usign struts frames work..

2004-03-03 Thread Vasudevrao Gupta
Hi All, I am trying to view a pdf file using struts frame work.. I am able to view the file ,but it throws an illegalStateException as struts forward the request after I send the output stream. Below is the action mapping: action name=enquiryFormBean

RE: Viewing .pdf files usign struts frames work..

2004-03-03 Thread Vasudevrao Gupta
PROTECTED]; [EMAIL PROTECTED] Subject: RE: Viewing .pdf files usign struts frames work.. return null from the action instead of returnign a forward. -Original Message- From: Vasudevrao Gupta [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 3:58 PM To: 'Struts Users Mailing List

RE: Viewing .pdf files usign struts frames work..

2004-03-03 Thread Vasudevrao Gupta
a browser/pdf plugin issue. Nothing to do with struts. -Original Message- From: Vasudevrao Gupta [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 March 2004 23:14 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Viewing .pdf files usign struts frames work.. I tried that..It does

Log4J configuration -- Regarding

2004-02-22 Thread Vasudevrao Gupta
Hi All, I am trying to configure Log4j to your application.I am trying to configure with Log4j1.2.8 using xml file. I am getting the below error: [2/23/04 20:34:12:719 IST] 105af116 SystemErr R log4j:ERROR Could not parse input source [EMAIL PROTECTED] [2/23/04 20:34:12:719 IST] 105af116

RE: multiple struts-config files

2004-02-12 Thread vasudevrao gupta
This is the answer to your third question: Yes, you can forward an action in one struts-config from within another struts-config... All the mapping(from all config file) will be in put in a single ActionMapping class at the start of the web server Regards VasudevRaoGupta -Original

RE: img tag with action as src

2004-02-03 Thread vasudevrao gupta
Hi, Try using html:rewrite page=/some/dir/myAction.do/ -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Greg Blomquist Sent: 03 February 2004 23:44 To: [EMAIL PROTECTED] Subject: img tag with action as src I apologize in advance if this question has already been

Problem with %= ... % inside struts tags

2004-01-25 Thread vasudevrao gupta
Hi All, I have the following code in my JSP file, and I am using the STRUTS framework. code: html:select property =exception onClick=java script:showOtherExceptions('%= ELSEnquiryConstantsIF.EXCEPTION %'); / where showOtherExceptions is a javascript function I have

Including one JSP in another

2004-01-19 Thread vasudevrao gupta
Hi All, I have jsp1 which contains the below code as the scriplet: ** BODY %! //Enquiry module images private static final String ENQUIRY_IMG_PATH=html:rewrite src='/screens/enquiry/images'/;

RE: Including one JSP in another

2004-01-19 Thread vasudevrao gupta
of %@ include Gary - Original Message - From: vasudevrao gupta [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, January 19, 2004 1:56 PM Subject: Including one JSP in another Hi All, I have jsp1 which contains the below code

RE: Including one JSP in another

2004-01-19 Thread vasudevrao gupta
- From: vasudevrao gupta [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, January 19, 2004 1:56 PM Subject: Including one JSP in another Hi All, I have jsp1 which contains the below code as the scriplet

Including one JSP in another

2004-01-17 Thread vasudevrao gupta
Hi All, I have jsp1 which contains the below code as the scriplet: ** BODY %! //Enquiry module images private static final String ENQUIRY_IMG_PATH=html:rewrite src='/screens/enquiry/images'/;

RE: WSAD 5 setup

2004-01-16 Thread vasudevrao gupta
Use html:rewrite tag in .css to locate the Web Group... LINK HREF=html:rewrite page='/styles/style.css'/ rel=stylesheet type=text/css Regards VasudevRaoGupta -Original Message- From: Rama, Shreekanth (K.) [mailto:[EMAIL PROTECTED] Sent: 16 January 2004 20:51 To: [EMAIL PROTECTED]

Images as links in struts

2004-01-14 Thread vasudevrao gupta
Hi All, Can anyone help me about how to put images as links using struts tags??? Regards VasudevRaoGupta Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain

RE: Images as links in struts

2004-01-14 Thread vasudevrao gupta
This is how I have given... html:link href=javascript:click('customer')html:image page=../../customer.gif property='custImage//html:link But its not working... Regards VasudevRapGupta -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: 14 January 2004 19:31 To:

RE: Images as links in struts

2004-01-14 Thread vasudevrao gupta
. Try this: html:link href=javascript:click('customer')html:img src=../../customer.gif property=custImage//html:link -Original Message- From: vasudevrao gupta [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 9:15 AM To: 'Struts Users Mailing List' Subject: RE: Images as links

Linking CSS

2004-01-12 Thread vasudevrao gupta
Dear All, I am usign WebSphere Application Development Studio for development of our application in struts. When I am linking .css files to a JSP using normal HTML tag, its not getting identified,..Do we need to use a different syntax for linking .css files for JSP in struts??? Eg: LINK

RE: Linking CSS

2004-01-12 Thread vasudevrao gupta
: Re: Linking CSS link href=../jsp/base.css rel=stylesheet type=text/css works for me ... what is the error you are getting? may require use of the html:base/ tag ? - Original Message - From: vasudevrao gupta [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent

Exception handling in struts

2004-01-11 Thread vasudevrao gupta
Hi All, Please give me some inputs on how to handle exceptions in struts. It would be easier for me understand with a sample code. Regards VasudevRaoGupta Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the

Paging for table...

2004-01-03 Thread vasudevrao gupta
Hi, I have a requirement where in user executes a query and gets some x number of records. I have to show the user 1-y records per page and when user clicks next button, he should be be able to see next y number of records.(Similar to yahoo site ). Can any one pls tell me if struts frame work

RE: Paging for table...

2004-01-03 Thread vasudevrao gupta
, for that. Regards, David -Original Message- From: vasudevrao gupta [mailto:[EMAIL PROTECTED] Sent: Saturday, January 03, 2004 7:40 AM To: 'Struts Users Mailing List' Subject: Paging for table... Hi, I have a requirement where in user executes a query and gets some x number of records. I

RE: any tool which can generate formbeans from jsp or html

2003-12-24 Thread vasudevrao gupta
HI, WSAD(Websphere studio development) has a facility to generate actionform beans from JSP Regards Vasudevraogupta -Original Message- From: Kalra, Ashwani [mailto:[EMAIL PROTECTED] Sent: 24 December 2003 18:40 To: Struts (E-mail) Subject: any tool which can generate formbeans from jsp

PDF file in browser

2003-12-23 Thread vasudevrao gupta
Hi All, I am using Struts frame work for our application with Web sphere app server. We have a some PDF files on the app server .When the user clicks on a particular link on the JSP page, we have show a pdf file to the user in a new browser window. Can any one pls tell me the easier

RE: Examples of HTML-based user interfaces?

2003-12-19 Thread vasudevrao gupta
Can we enhance the script to transfer multiple values from one list box to other..(Currently it's a single value) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 19 December 2003 14:09 To: [EMAIL PROTECTED] Subject: AW: Examples of HTML-based user interfaces?

Help on form reset

2003-12-17 Thread vasudevrao gupta
Hi, I am new to struts.. I understand that the validate method of the Action form can be called based on the validate attribute in struts_config.xml. Similarly, for the reset method, can we configure in the xml file. Regards VasudevRaoGupta Confidentiality Notice The information contained

Help on setting multiple values in Action form from client side

2003-12-17 Thread vasudevrao gupta
Hi , I have a screen with number of records and each record has an associated check-box. User clicks on single/multiple checkboxes to select the records and clicks on delete button(same as in Yahoo mail). I have an associated action form to this screen with one of the attributes of String[]

Check-boxes and formbeans

2003-12-17 Thread vasudevrao gupta
Hi All, I have many checkboxes with the same name in my html form. I use struts framework. When i submit the form, will i be able to access the checkboxes as an array in the form bean? Or should i have a seperate field for each checkbox in the formbean? Regards Vasudevrao gupta

Help needed in form beans

2003-12-17 Thread vasudevrao gupta
Hi All, I have a same form bean for 5 JSP's(JSP1,JSP2,JSP3,JSP4,JSP5) All the JSP's use the same form bean.I am keeping the form bean in the session scope. When ever I use JSP1, JSP3, I want to see the blank screen even if there are some values in the formbean. But, in other JSP's, I want to

RE: Multiple Config files

2003-12-09 Thread vasudevrao gupta
Yes ..u can have multiple config files in your application for each module .. you need to define them in web.xml file where you give the initialization paramter for config of your action servlet seperated by comma. init-param param-nameconfig/param-name

Select options tag

2003-12-08 Thread vasudevrao gupta
Regards VasudevRao Gupta -Original Message- From: Tiago Henrique Costa Rodrigues Alves [mailto:[EMAIL PROTECTED] Sent: 08 December 2003 23:36 To: Struts Users Mailing List (E-mail) Subject: Struts User Roles Where can I find Struts Roles documentation? Tiago Henrique C. R. Alves

Passing data between two browser windows in struts

2003-12-08 Thread vasudevrao gupta
Hi All, We have a requirement where there will be a search results of a screen should be populated in a new browser window. But, both of them will be in the same session. I want to know if there is any support from struts for passing data from one browser window to another browser window.

Clearing all fields or resetting the form to original state

2003-12-08 Thread vasudevrao gupta
Is there any option in struts to reset the screen to the initial state on click of a button and also clearing all the fields on the screen on click of button? Regards vasudevRao Gupta Confidentiality Notice The information contained in this electronic message and any attachments

How to use struts for multiple records..

2003-12-04 Thread vasudevrao gupta
object which make a database query and gives me a result set containing multiple records and each record contains multiple attribute. Now, can anyone please suggest me on how to display these records in a simpler way using struts. Regards VasudevRao Gupta Confidentiality Notice

Databse configuration

2003-12-04 Thread vasudevrao gupta
Hi, can anyone throw some light on how can the database configuration be done using struts? How to use the connection obtained efficiently.. Regards VasudevRao Gupta Confidentiality Notice The information contained in this electronic message and any attachments to this message