need solution

2001-06-26 Thread Rajasekhar Bodduluri

Hi all,

My definition:
 
   
   
   
 
   
  


in header.jsp i like to call response.sendRedirect("test.jsp") for one
logic, but i got exception
"Response has already been committed' java.lang.IllegalStateException:
Response has already been committed at
org.apache.tomcat.facade.HttpServletResponseFacade.sendError(HttpServletResponseFacade.java:210)"

if i call directly to  www.test.com/header.jsp it works fine.

is it bug in struts?

please let me know if any body knows.

thanks & regards
raj




Need Solution

2002-01-01 Thread RAO Sreenivasa Kagitam


> Hi,
> 
> We are trying to do small application by using Strut frame work.
> 
> We have coded a sample jsp with defined tag "text".This tag is wroking
> only for the property as "username". It is not working, if you give
> differnet name other than "username". We have taken the example given by
> you(logon.jsp).
> 
> Here is the Error what we are getting (We are using Weblogic6.1 as the
> Application server)
>   Call
> org.apache.struts.action.ActionServlet.addServletMapping(action/java.lang.
> String,*.do/java.lang.String)
>   Poller not started for production server.>
> 
> 
>   WebLogic Admin Server "myserver" for domain "testDomain" running
>   in Production Mode>
> 
> <[WebAppServletContext(3972952,DefaultWebApp,/DefaultWebApp)] Root cause
> of ServletEx
>   ception
>   javax.servlet.jsp.JspException: No getter method for property
> institution of bean org.apache.struts.taglib.html.BEAN
>   at
> org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:517)
>   at
> org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:18
> 8)
>   at
> jsp_servlet.__visaautoreversal._jspService(__visaautoreversal.java:213)
>   at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
>   at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
> va:265)
>   at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
> va:200)
>   at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServlet
> Context.java:2456)
>   at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.ja
> va:2039)
>   at
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
>   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> 
> Here with i am also enclosing the source file(logon.jsp)
>  <> 
> 
> Could you please let us know at the earliest,If we are going in a wrong
> direction.
> 
> Regards,
> Sreenivas.



logon.jsp
Description: Binary data

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


Re: need solution

2001-06-21 Thread Rajasekhar Bodduluri


//LoginButton1.gif" ALT="Login">

Here the bean tag is not accepting, i know because of nested tag. So
what is the solution to pass value dynamically over here?

thanks & regards
raj




Re: need solution

2001-06-27 Thread Cedric Dumoulin


  This is not a bug in Struts, neither in Components / Extended Template.
  You can't do a sendRedirect() once you have start to write the response.

  What you are trying to do is to build a page, and when you encounter a special 
condition, you want
to build another page, dropping the previous one.
  When I am facing such problem, I put the condition test in an action, before 
building any page.
Then, the action use the forward mechanism to forward to appropriate page.

Cedric

 Rajasekhar Bodduluri wrote:

> Hi all,
>
> My definition:
>  
>
>
>
>  
>
>   
>
> in header.jsp i like to call response.sendRedirect("test.jsp") for one
> logic, but i got exception
> "Response has already been committed' java.lang.IllegalStateException:
> Response has already been committed at
> 
>org.apache.tomcat.facade.HttpServletResponseFacade.sendError(HttpServletResponseFacade.java:210)"
>
> if i call directly to  www.test.com/header.jsp it works fine.
>
> is it bug in struts?
>
> please let me know if any body knows.
>
> thanks & regards
> raj




Re: need solution

2001-06-27 Thread Rajasekhar Bodduluri

Hi Cedric,

I am very happy about ur response, it is very help me on our project, could u possible 
to send code how
u test the condition before forwarding the page?.

thanks & regards
raj





Re: Need Solution

2002-01-01 Thread Arron Bates

This is really for the struts-user list.

However... the error you have pasted here has nothing to do with the 
username property, but with the bean's property for "institution". More 
specifically, struts can't find it. Could be that you're getter method 
for the institution property is not public or something similar.

The user mailing list is full of friendly chaps that would love to help 
you out on this.
This list is for the cranky and cynical :)


Arron.


RAO Sreenivasa Kagitam wrote:

>>Hi,
>>
>>We are trying to do small application by using Strut frame work.
>>
>>We have coded a sample jsp with defined tag "text".This tag is wroking
>>only for the property as "username". It is not working, if you give
>>differnet name other than "username". We have taken the example given by
>>you(logon.jsp).
>>
>>Here is the Error what we are getting (We are using Weblogic6.1 as the
>>Application server)
>>  Call
>>org.apache.struts.action.ActionServlet.addServletMapping(action/java.lang.
>>String,*.do/java.lang.String)
>> >Poller not started for production server.>
>>
>>
>> >WebLogic Admin Server "myserver" for domain "testDomain" running
>>  in Production Mode>
>>
>><[WebAppServletContext(3972952,DefaultWebApp,/DefaultWebApp)] Root cause
>>of ServletEx
>>  ception
>>  javax.servlet.jsp.JspException: No getter method for property
>>institution of bean org.apache.struts.taglib.html.BEAN
>>  at
>>org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:517)
>>  at
>>org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:18
>>8)
>>  at
>>jsp_servlet.__visaautoreversal._jspService(__visaautoreversal.java:213)
>>  at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
>>  at
>>weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
>>va:265)
>>  at
>>weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
>>va:200)
>>  at
>>weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServlet
>>Context.java:2456)
>>  at
>>weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.ja
>>va:2039)
>>  at
>>weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
>>  at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>>
>>Here with i am also enclosing the source file(logon.jsp)
>> <> 
>>
>>Could you please let us know at the earliest,If we are going in a wrong
>>direction.
>>
>>Regards,
>>Sreenivas.
>>
>>
>>
>>
>>--
>>To unsubscribe, e-mail:   
>>For additional commands, e-mail: 
>>



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Need Solution

2002-01-02 Thread Brian Etheridge

Hi,
This is the key part of the error:

No getter method for property institution

You must define a 'getInstitution()' method in your form bean class.

Hope that helps.

-Original Message-
From: RAO Sreenivasa Kagitam [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 01, 2002 10:29 PM
To: '[EMAIL PROTECTED]'
Cc: YENUMULA Krishna Reddy
Subject: Need Solution
Sensitivity: Confidential



> Hi,
> 
> We are trying to do small application by using Strut frame work.
> 
> We have coded a sample jsp with defined tag "text".This tag is wroking
> only for the property as "username". It is not working, if you give
> differnet name other than "username". We have taken the example given by
> you(logon.jsp).
> 
> Here is the Error what we are getting (We are using Weblogic6.1 as the
> Application server)
>   Call
> org.apache.struts.action.ActionServlet.addServletMapping(action/java.lang.
> String,*.do/java.lang.String)
>   Poller not started for production server.>
> 
> 
>   WebLogic Admin Server "myserver" for domain "testDomain" running
>   in Production Mode>
> 
> <[WebAppServletContext(3972952,DefaultWebApp,/DefaultWebApp)] Root cause
> of ServletEx
>   ception
>   javax.servlet.jsp.JspException: No getter method for property
> institution of bean org.apache.struts.taglib.html.BEAN
>   at
> org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:517)
>   at
> org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:18
> 8)
>   at
> jsp_servlet.__visaautoreversal._jspService(__visaautoreversal.java:213)
>   at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
>   at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
> va:265)
>   at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
> va:200)
>   at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServlet
> Context.java:2456)
>   at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.ja
> va:2039)
>   at
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
>   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> 
> Here with i am also enclosing the source file(logon.jsp)
>  <> 
> 
> Could you please let us know at the earliest,If we are going in a wrong
> direction.
> 
> Regards,
> Sreenivas.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>