Integration into Spring primefaces project

Upload core product.
Post Reply
nincsneve
Posts: 1
Joined: Tue Aug 21, 2012 3:33 pm

Integration into Spring primefaces project

Post by nincsneve »

Hi,
currently I am trying to integrate JFileupload into a Spring webproject for school, with primefaces. Now it is working, but I have some questions about integration:

- Is it possible to get rootcontext of web application to use it in "applet_http.js" for "url=" ?
I placed process.jsp in the same folderstructure as the applet, but I have to customize the url every time, when I try out different server-deployments


- How can I get parameters, like "filesize", "destination directory", etc. to store these information in database?

I am very happy with the possibilities of this application and will buy I license to remove "unregistered" when the project is finished

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Integration into Spring primefaces project

Post by support »

For parameters in database, it's just a matter of dynamic HTML/JavaScript page generation. You can have a applet_http.js.php script will parameters loaded from database.

For context root usage you should use absolute URL in CODEBASE parameter such as:
CODEBASE="http://yourserver.com/contextroot/whatyouwanthere"

Post Reply