URGENT HELP NEEDED: Unable to import Java Page Compile source code

2002-07-22 Thread Bhaskar Gopalan
Hi, I am getting the folowing error when my jsp file contains even nothing or simple html. Pls help. -Bhaskar Unhandled error! You might want to consider having an error page to report such errors more gracefully java.io.IOException: Unable to import Java Page Compile source code

Absolute URL in forward tag

2002-06-18 Thread Bhaskar Gopalan
Hi, is it possible to give an absolute URL (like http://www.xyz.com) in the 'path' attribute of 'forward' tag? Thnx, Bhaskar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

URGENT - PLS HELP

2002-06-13 Thread Bhaskar Gopalan
I know this is not a stutus question, but itz very urgent. Pls help!! I am moving EJBs from Visual Age for Java 4.0 to Websphere 4.0 AES. One servlet contains the following piece of code: InitialContext ic = getInitialContext(); java.lang.Object tmpObj =

Premature ending error - Please HELP!

2002-05-07 Thread Bhaskar Gopalan
Hi, I'm using com.oreilly.servlet.MultipartRequest to upload a file into a particular directory and getting this error: Caught IOException java.io.IOException: Corrupt form data: premature ending The file I try to upload contains valid data. Pls Help! Thnx, GB -- To unsubscribe, e-mail:

Welcome page

2002-04-30 Thread Bhaskar Gopalan
Hi, I guess both VA4.0 and Appserver use the webapp file to determine the welcome page, etc. It works in VA but not in Appserver. When I give the complete path to the jsp file in the browser, it opens the page. Any clues? Thnx, GB -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: Best Practice Question.

2002-04-30 Thread Bhaskar Gopalan
Depends. If the logic bean is a form bean, the action class should extract values from config bean and then call set methods on form bean, i.e. a clean separation between db beans and form beans. else, pass the config bean to logic bean. -GB -Original Message- From: Phase Web and

Running websphere sample apps

2002-04-25 Thread Bhaskar Gopalan
Hi, I'm new to websphere. Can someone tell me how to run the sample examples of appserver4.0? Thnx, Bhaskar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Displaying error page

2002-04-24 Thread Bhaskar Gopalan
request.setAttribute(errorText) and it will be automatically forwarded to the error jsp after u call mapping.findForward(FAILURE); In ur jsp u get this error message by calling request.getAttribute(error) I hope this helps, -Ranjan -Original Message- From: Bhaskar Gopalan [mailto:[EMAIL

Migrating from VA to Websphere Test Environment

2002-04-24 Thread Bhaskar Gopalan
Hi, is there any document that gives a procedure to migrate from Visual Age Development to Websphere test environment? Thnx, GB -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

creating ear files

2002-04-24 Thread Bhaskar Gopalan
Hi, is there any tool to create a ear file? I tried 'jar cvf xyz.ear files' but when I try to import it into Websphere app server, it gives an error APPW0003E Chosen module or EAR file is not a valid file. APPW0004E Application install or modify bindings action for the chosen application

Displaying error page

2002-04-22 Thread Bhaskar Gopalan
Hi, in the action.perform(), I encounter an error and want to display an error page along with a dynamic message. Is there any standard way to do this (just like displaying the validation error page)? What other ways are possible? Thnx, Bhaskar -- To unsubscribe, e-mail: mailto:[EMAIL

Passing parameters

2002-04-19 Thread Bhaskar Gopalan
Hi, I am going to a jsp(A) from two different jsps(B,C). Now, when I click 'save' on A I want to go back to B or C, .i.e. to where I came from. I send the source as a request parameter which is visible in action class of A. Now, when I am done, can i pass the source thru mapping.findForward()?

Managing bean

2002-04-15 Thread Bhaskar Gopalan
Hi, I'm new to struts and have this question: I have a jsp that talks to a form bean. After successful validation, this formbean is passed to action.perform(). Now I am creating a bean (corresponding to a db row) in the action class using the data from the formbean. Now, where do I store this

Readonly text

2002-04-08 Thread Bhaskar Gopalan
Hi, I'm using STRUTS 1.4 but the api doesn't seem to support the readonly=true attrib of html:text. Any pointers? Thnx, -GB -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Nested properties

2002-04-05 Thread Bhaskar Gopalan
Hi, my form bean contains another form bean which in turn contains a property that I want to access in my original jsp. code: html:text size=20 property=loanDetailBean.loanSummaryBean.statusId / loanSummaryBean has getter method for statusId, but I am getting this error: No getter method for

forwarding problem

2002-04-04 Thread Bhaskar Gopalan
Hi, Inside a jsp I include a action (.do) file. I get this error when the forwarding tries to take place: Error Message: ERROR: Cannot forward. Writer or Stream already obtained. Error Code: 500 Target Servlet: null Any clues on how to fix this? Thnx, GB -- To unsubscribe, e-mail:

bean:write

2002-04-02 Thread Bhaskar Gopalan
Hi, Within the bean:write tag, is it possible to trim the output to a specified number of characters? Thnx, GB -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Windows in struts

2002-04-02 Thread Bhaskar Gopalan
- From: Bhaskar Gopalan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 11:51 AM To: Struts Group (E-mail) Subject: Windows in struts Hi, I have a jsp that contains a hyperlink which opens a new window(filter Window). The link points to a action class that inturn opens

sorting in logic:iterate

2002-04-02 Thread Bhaskar Gopalan
Hi, I am using logic:iterate to display values from an arraylist of beans. Is it possible to sort the output based on some bean property? Thnx, GB -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Trimming strings in html:options

2002-04-01 Thread Bhaskar Gopalan
Hi, I am dynamically populating a options field from the database. For this I am getting an ArrayList of strings that are formatted as id:value. Code: % PipelineFilterForm pipelineFilterForm = (PipelineFilterForm)session.getAttribute(PipelineFilterForm); java.util.ArrayList statusOptions =

Accessing ActionServlet from Action class

2002-03-29 Thread Bhaskar Gopalan
Hi, is there anyway to access the ActionServlet from inside a formBean or Action class? Thnx, Bhaskar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Setting Color inside logic:iterate

2002-03-29 Thread Bhaskar Gopalan
Hi, is there anyway to set the color of a row from the bean being iterated? My code is given below: logic:iterate id=loan name=loans type=com.mortgagehub.cba.business.LoanSummaryBean tr td align=left valign=middle colspan=1 font size=2 color=#00 face=Verdana bean:write name=loan

Forwarding to action

2002-03-28 Thread Bhaskar Gopalan
Hi, what's the way to forward to another action? This doesn't work: action path=/LoanPipeline type=com.mortgagehub.cba.actions.LoanPipelineAction name=LoanPipelineForm scope=session input=jsp/Pipeline.jsp validate=true/ action path=/PipelineFilter

Attribute value should be quoted

2002-03-27 Thread Bhaskar Gopalan
Hi, I'm getting the error: org.apache.jasper.compiler.ParseException: C:\jsp\Filter.jsp(150,35) Attribute value should be quoted java.lang.Throwable(java.lang.String) java.lang.Exception(java.lang.String) javax.servlet.ServletException(java.lang.String)

Javascript in Struts

2002-03-27 Thread Bhaskar Gopalan
Hi, how does Javascript work with struts? I have a 'Filter' form with a couple of radio, select and text fields. The only three request parameters are filterSet, filterType and filterValue. Example: tr td width=5% / html:radio value=stage property=filterType / font

self.close() exception

2002-03-27 Thread Bhaskar Gopalan
Hi, I'm trying to close a window from a javascript function and getting this error: java.net.SocketException: socket closed (code=0) java.lang.Throwable(java.lang.String) java.lang.Exception(java.lang.String) java.io.IOException(java.lang.String)

Accessing action object inside the form bean

2002-03-27 Thread Bhaskar Gopalan
Hi, I open a form, collect user input and on submit store it in the action class (inside perform()) as instance variables. Next time when the same form is opened, I want to retrieve the values stored in the action class. Since a new instance of the form bean is created every time a form is

Accessing form properties in Javascript

2002-03-26 Thread Bhaskar Gopalan
Hi, how do i get and set form properties inside a javascript function? Do I have to use any ref to the Form Bean? Thnx, GB -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Accessing form properties in Javascript

2002-03-26 Thread Bhaskar Gopalan
JavaScript I had to set a form's propery thru JavaScript and I had to have the javascript method invoke a JSP page which included the form bean in order to get this done. I'm curious if there's a better way. thanks, Theron Bhaskar Gopalan bgopalan

Opening a new window in Javascript

2002-03-26 Thread Bhaskar Gopalan
Hi, how do I open a new window from a Javascript function? window.open(url) does not work. Is there any other way to be followed in struts? Thnx, Bhaskar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Opening a new window in Javascript

2002-03-26 Thread Bhaskar Gopalan
Thanks. But I couldn't find my answer here as I am looking out for a struts solution. -gb -Original Message- From: Tero P Paananen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 5:40 PM To: Struts Users Mailing List Subject: RE: Opening a new window in Javascript how do I

Communication between JSPs

2002-03-25 Thread Bhaskar Gopalan
Hi, I'm new to struts and have this silly question: My code does not use struts currently. From JSP1, I call another JSP2 using the action and I also pass parameters. Now, I want to incorporate struts in my code. So, do I have to replace the reference to jsp2 by action class? If so, how do i

RE: unsubscribe gang.gao@verizon.com

2002-03-18 Thread Bhaskar Gopalan
You have to send a mail to [EMAIL PROTECTED] to unsubscribe. -Bhaskar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 5:54 PM To: [EMAIL PROTECTED] Subject: unsubscribe [EMAIL PROTECTED] Hi, Please unsubscribe my email address: [EMAIL