Struts2 File Upload

2010-04-07 Thread sand...@i2it

Hello All,

In my file upload program of struts 2 in HTTP Monitor window of Netbeans
im getting Data sent with this request was not parameterized


Thanks in Advance
-- 
View this message in context: 
http://old.nabble.com/Struts2-File-Upload-tp28163069p28163069.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Struts2 File Upload

2010-04-07 Thread sand...@i2it

JSP page

  

 
 

My Action Class

  public class TestUpload  extends ActionSupport{

public TestUpload() {
}

public String execute() throws Exception {
Logger.getLogger(this.getClass().getName()).log(Level.INFO,"File
Name \n"+getFilesFileName());
Logger.getLogger(this.getClass().getName()).log(Level.INFO,"File
Type \n"+getFilesContentType());
 -
--
-

return SUCCESS;
}


 private String jids;
private File files;
private String filesContentType;
private String filesFileName;


// gettter and setters


All i want is just to print the name 
-- 
View this message in context: 
http://old.nabble.com/Struts2-File-Upload-tp28163069p28163274.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Encoding URL for Struts2

2010-04-14 Thread sand...@i2it

Hello all,
  I am new to Strut.I have a simple Struts2 Based application. say
simple Login Application Where user have a login screen on which he enters
his credentials and logs into a particular page in my appliacation. So for
this page i have attached some urls in query string. What i want is for
whole my application the query string should be encoded such that user
should not able to understand it.


Thanks In Advance
-- 
View this message in context: 
http://old.nabble.com/Encoding-URL-for-Struts2-tp28242554p28242554.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Encoding URL for Struts2

2010-04-14 Thread sand...@i2it

No But i want that for all my application url's. Don't we have a filter that
will do this automatic encoding and decoding for us. So our actions will
always get decrpted  url's and user will get encrypted.. Im looking that
kind of solution
-- 
View this message in context: 
http://old.nabble.com/Encoding-URL-for-Struts2-tp28242554p28249541.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org