Paulo Hélio Alves wrote:
>
> Now i want to put a photo... i do like are in documentation...
> stripes:file, FileBean atribute, Getter/Setter... and the action doesn't
> work. The context is destroyed and when i click in save, he send me a
> NPE...
>
So many questions...
What version of Stripes?
Any logs?
What does your persistence model look like? Raw SQL? Hibernate?
What's the database? MySQL? MS SQL Server? Postgres?
Are you using any interceptors that manipulate the context at all?
Can you give us a code snippet (JSP + ActionBean)? Just the parts that
pertain to the upload.
There could be hundreds of reasons why it is not working--we need more
information in order to help you.
--
View this message in context:
http://www.nabble.com/File-Upload%2C-throw-null-pointer-because-destroy-context.-tp16420285p16500964.html
Sent from the stripes-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users