I have this error message in my console in google app engine; java.lang.RuntimeException: java.io.NotSerializableException: javax.servlet.jsp.jstl.fmt.LocalizationContext
On Saturday, May 26, 2012 10:13:46 AM UTC+8, Torleif wrote: > > My page works now in English, http://neptune-app-id.appspot.com & > http://neptune-app-id.appspot.com/?locale=en_GB but only this language, > Swedish and Russian language do not work. If i try to change it stays in > English only. > Somebody with an input what is missing here or if i still do something > wrong! Please help since i am so close to solve this issue now. > > -Jesper > > > > On Friday, May 25, 2012 1:33:37 PM UTC+8, Torleif wrote: >> >> I have put my properties files in WEB-INF/ but i think i am missing >> something here since they do not load correctly. Could it be because it >> does not load prepperly or that my java core properties is not there, >> please help... >> >> -Jesper >> >> On Friday, May 25, 2012 1:08:46 PM UTC+8, Torleif wrote: >>> >>> Thank you for your help with this. I will keep trying but so far no luck >>> with this. >>> >>> Jesper >>> >>> >>> On Friday, May 25, 2012 12:37:33 PM UTC+8, aramanuj wrote: >>>> >>>> That should have done it. I have Java files and properties files under >>>> different folders and both are added here...not sure what else the >>>> problem could be. You have keep trying other things you may find on >>>> the net. >>>> >>>> Arun >>>> >>>> On May 24, 11:07 am, Torleif <ad...@neptunediving.com> wrote: >>>> > If i go to Properties then Java Build Path there are, >>>> > Source-Projects-Libraries-Order and Export. >>>> > I have tried to put it under source but it don't seem to work. So >>>> where >>>> > should i put this?? >>>> > >>>> > Jesper >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > On Wednesday, May 23, 2012 12:00:14 PM UTC+8, aramanuj wrote: >>>> > >>>> > > Using JSTL is fine, works like a charm in app. engine as well. You >>>> > > could try right clicking on your project, go to Properties, within >>>> > > that Build Path, and add the folder where the .properties files >>>> are, >>>> > > and see if that works. >>>> > >>>> > > Arun >>>> > >>>> > > On May 22, 10:40 am, Torleif <ad...@neptunediving.com> wrote: >>>> > > > Are there some other ways of doing this with google app engine >>>> instead >>>> > > of >>>> > > > using JSTL Tags? Or is the principles the same when you use >>>> google app >>>> > > > engine? >>>> > >>>> > > > -Jesper >>>> > >>>> > > > On Tuesday, May 22, 2012 1:37:53 PM UTC+8, Torleif wrote: >>>> > >>>> > > > > Hallo Arun! >>>> > > > > Thank you very much for your message regarding this issue! >>>> > >>>> > > > > So how should this resource bundle look like. or the resource >>>> key for >>>> > > that >>>> > > > > matter? My properties files are located in the WEB-INF/folder. >>>> And my >>>> > > > > LangSupport.jsp file are located in WEB-INF/include as it is >>>> now. >>>> > > > > So what i need to do here to get all this to work for me? Or do >>>> i miss >>>> > > > > something here that i need to fix, please let me know one time. >>>> I am a >>>> > > > > beginner in JSP so i really need some help with this. I use >>>> Eclipse >>>> > > 3.7.2 >>>> > > > > together with the plug-in from google app engine for my web >>>> page. >>>> > >>>> > > > > -Jesper >>>> > >>>> > > > > On Tuesday, May 22, 2012 11:57:05 AM UTC+8, aramanuj wrote: >>>> > >>>> > > > >> It appears that the resource bundle is not being found, since >>>> no >>>> > > > >> resource key is being shown with its value. You have to ensure >>>> that >>>> > > > >> your .properties resource files are in the build path (in case >>>> you >>>> > > are >>>> > > > >> using Eclipse or other IDE, then you can configure these under >>>> the >>>> > > > >> build path). >>>> > >>>> > > > >> In any case, I documented my experience in building i18n >>>> applications >>>> > > > >> in Java/JSP/JS, and there are some links from there you can >>>> further >>>> > > > >> follow through, if necessary: >>>> http://www.techseva.org/blog/?p=174 >>>> > >>>> > > > >> Thanks, >>>> > > > >> Arun >>>> > >>>> > > > >> On May 22, 8:32 am, Torleif <ad...@neptunediving.com> wrote: >>>> > > > >> > After a few error messages and tweaking with the page it >>>> looks like >>>> > > > >> this >>>> > > > >> > now,http://neptune-app-id.appspot.com/Thereisa problem with >>>> > > either >>>> > > > >> my >>>> > > > >> > text files, or how they are read i think. In my logs in >>>> google app >>>> > > > >> engine i >>>> > > > >> > get this messages from my last deploy, >>>> > >>>> > > > >> > No handlers matched this URL. >>>> > >>>> > > > >> > No handlers matched this URL. >>>> > >>>> > > > >> > / java.lang.RuntimeException: >>>> java.io.NotSerializableException: >>>> > > > >> > javax.servlet.jsp.jstl.fmt.LocalizationContext at >>>> > > > >> > com.google.apphosting.runtime.jetty >>>> > >>>> > > > >> > This request caused a new process to be started for your >>>> > > application, >>>> > > > >> and >>>> > > > >> > thus caused your application code to be loaded for the first >>>> time. >>>> > > This >>>> > > > >> requ >>>> > >>>> > > > >> > I have uploaded the whole log file for you to read here also >>>> one >>>> > > time. >>>> > > > >> > Anybody have some input on what i am doing wrong here? >>>> > >>>> > > > >> > On Monday, May 21, 2012 11:07:40 AM UTC+8, Torleif wrote: >>>> > >>>> > > > >> > > I have a web page which has 3 different languages, >>>> Swedish, >>>> > > English >>>> > > > >> and >>>> > > > >> > > Russian! In my old java page i set this up with >>>> > > > >> WebTexts_en.properties, >>>> > > > >> > > WebTexts_sv.properties and WebTexts_ry.properties files >>>> together >>>> > > with >>>> > > > >> > > LangSupport.jsp to chose the Locale for the browser. >>>> > > > >> > > All my jsp pages has UTF-8 encoding so this should be >>>> correct as >>>> > > well >>>> > > > >> i >>>> > > > >> > > think. >>>> > >>>> > > > >> > > Now i have moved my page to Google APP Engine and i wonder >>>> if >>>> > > there >>>> > > > >> is >>>> > > > >> > > anybody who have some input on how to make this here? I >>>> have >>>> > > tried to >>>> > > > >> > > follow my old setup but it seems not to work, my page are >>>> there >>>> > > but i >>>> > > > >> have >>>> > > > >> > > no text what so ever,http://neptune-app-id.appspot.com/ >>>> > > > >> > > So i wonder if there is anybody who have some input on how >>>> google >>>> > > > >> like to >>>> > > > >> > > set this up? I need help with the whole setup of this, >>>> where to >>>> > > place >>>> > > > >> my >>>> > > > >> > > files, what to include to get this to work, How to setup >>>> up my >>>> > > > >> LangSupport >>>> > > > >> > > file so it choose the right Locale for the browser. >>>> > >>>> > > > >> > > Would also be nice if somebody could show me some >>>> documentation >>>> > > for >>>> > > > >> this >>>> > > > >> > > that i can follow when i set this up. I am quiet a >>>> beginner with >>>> > > this >>>> > > > >> but i >>>> > > > >> > > have most of the files from my old page. Sp i only need to >>>> > > convert >>>> > > > >> all this >>>> > > > >> > > to work with google app engine instead, please help!!! >>>> > > > >> > > Any information would be very helpful since i am stuck >>>> right now >>>> > > and >>>> > > > >> > > cannot move forward with my project. >>>> > >>>> > > > >> > Screen Shot 2012-05-22 at 11.22.18 AM.png >>>> > > > >> > 207KViewDownload >>>> > >>>> > >>>> > >>>> > Screen Shot 2012-05-24 at 2.05.45 PM.png >>>> > 74KViewDownload >>> >>> -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/9YiztQ5upRQJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.