Re: Error 404: SRVE0190E: File not found:

2008-10-20 Thread Trinad



Laurie Harper wrote:
> 
> Trinad wrote:
>> Hi,
>> 
>> I have created a struts action which construts a json string in the
>> server
>> side,action class successfully returned json string in the response, but
>> I
>> am getting an Error 404: SRVE0190E: File not found: /Test.action
>> 
>> Any Idea about this problem. I am using struts2 and appserver is
>> websphere.
> 
> Hard to tell without seeing any code or configuration, but my bet is 
> you're not returning 'null' from your action.
> 
> L.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> Hi,
> 
> Thanks for your Reply.
> 
> Please find the below code I am using the same one.
> 
> 
> Struts 2 Stream result Action
> 
> 
> package actions;
> 
> import java.io.InputStream;
> import java.io.StringBufferInputStream;
> import com.opensymphony.xwork2.ActionSupport;
> 
> public class TextResult extends ActionSupport  {
> private InputStream inputStream;
> public InputStream getInputStream() {
> return inputStream;
> }
> 
> public String execute() throws Exception {
> inputStream = new StringBufferInputStream("Hello World! This is a
> text string response from a Struts 2 Action.");
> return SUCCESS;
> }
> }
> 
> 
> Struts 2 Configuring the TextResult Action
> 
> 
>  
> text/html
> inputStream
>   
> 
> 
> One more thing I want to tell you I am using RAD 7.0 test Server.
> 
> I have tested the same code in Jboss It worked.Is there any problem with
> the RAD test server.
> 
> Thanks,
> Trinad.
> 

-- 
View this message in context: 
http://www.nabble.com/Error-404%3A-SRVE0190E%3A-File-not-found%3A-tp19976730p20073067.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Error 404: SRVE0190E: File not found:

2008-10-14 Thread Trinad

Hi,

I have created a struts action which construts a json string in the server
side,action class successfully returned json string in the response, but I
am getting an Error 404: SRVE0190E: File not found: /Test.action


Any Idea about this problem. I am using struts2 and appserver is websphere.

Thanks,
Trinad.

-- 
View this message in context: 
http://www.nabble.com/Error-404%3A-SRVE0190E%3A-File-not-found%3A-tp19976730p19976730.html
Sent from the Struts - User mailing list archive at Nabble.com.


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