dcsimg
can not jbuilder8 save jsp file?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   datou_wawa
Posted On:   Tuesday, December 10, 2002 07:11 PM

i cannot use jb8 save any jsp page, it's always show: Could NOT save file "jsp1.jsp" com.borland.primetime.util.AssertionException:gbk why? please help me !!! the following message is jb8 throws's exception under background: com.borland.primetime.util.AssertionException: gbk at com.borland.primetime.viewer.hb.getBufferContent(Unknown Source) at com.borland.primetime.vfs.Buffer.updateContent(Unknown Source) at com.borland.primetime.vfs.Buffer.getContent(Unknown Source) at com.borland.jbuilder.node.html.HTMLStructure.updateStructure(Unknown Source) at com   More>>

i cannot use jb8 save any jsp page, it's always show:



Could NOT save file "jsp1.jsp" com.borland.primetime.util.AssertionException:gbk



why? please help me !!!



the following message is jb8 throws's exception under background:



com.borland.primetime.util.AssertionException: gbk

at com.borland.primetime.viewer.hb.getBufferContent(Unknown Source)

at com.borland.primetime.vfs.Buffer.updateContent(Unknown Source)

at com.borland.primetime.vfs.Buffer.getContent(Unknown Source)

at com.borland.jbuilder.node.html.HTMLStructure.updateStructure(Unknown Source)

at com.borland.primetime.node.TextStructure.updateStructureQuickly(Unknown Source)

at com.borland.primetime.viewer.jb.actionPerformed(Unknown Source)

at javax.swing.Timer.fireActionPerformed(Timer.java:271)

at javax.swing.Timer$DoPostEvent.run(Timer.java:201)

at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)



com.borland.primetime.util.AssertionException: gbk

at com.borland.primetime.viewer.hb.getBufferContent(Unknown Source)

at com.borland.primetime.vfs.Buffer.updateContent(Unknown Source)

at com.borland.primetime.vfs.Buffer.getContent(Unknown Source)

at com.borland.primetime.vfs.Buffer.save(Unknown Source)

at com.borland.primetime.node.FileNode.save(Unknown Source)

at com.borland.primetime.ide.Browser.doSave(Unknown Source)

at com.borland.primetime.ide.Browser.doSave(Unknown Source)

at com.borland.primetime.ide.Browser.doSaveAll(Unknown Source)

at com.borland.primetime.ide.Browser.doSaveAll(Unknown Source)

at com.borland.primetime.ide.hh.actionPerformed(Unknown Source)

at com.borland.primetime.ide.BrowserAction.actionPerformed(Unknown Source)

at com.borland.primetime.actions.ActionButton.a(Unknown Source)

at com.borland.primetime.actions.ActionButton.fire(Unknown Source)

at com.borland.primetime.actions.ActionButton.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Component.java:4890)

at java.awt.Container.processEvent(Container.java:1566)

at java.awt.Component.dispatchEventImpl(Component.java:3598)

at java.awt.Container.dispatchEventImpl(Container.java:1623)

at java.awt.Component.dispatchEvent(Component.java:3439)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)

at java.awt.Container.dispatchEventImpl(Container.java:1609)

at java.awt.Window.dispatchEventImpl(Window.java:1585)

at java.awt.Component.dispatchEvent(Component.java:3439)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)



com.borland.primetime.util.AssertionException: gbk

at com.borland.primetime.viewer.hb.getBufferContent(Unknown Source)

at com.borland.primetime.vfs.Buffer.updateContent(Unknown Source)

at com.borland.primetime.vfs.Buffer.getContent(Unknown Source)

at com.borland.jbuilder.node.html.HTMLStructure.updateStructure(UnknownSource)

at com.borland.primetime.node.TextStructure.updateStructureQuickly(Unknown Source)

at com.borland.primetime.viewer.jb.actionPerformed(Unknown Source)

at javax.swing.Timer.fireActionPerformed(Timer.java:271)

at javax.swing.Timer$DoPostEvent.run(Timer.java:201)

at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

   <<Less

Re: can not jbuilder8 save jsp file?

Posted By:   zhebin_cong  
Posted On:   Monday, December 16, 2002 05:51 PM

go to "project->project properties->general->encoding",change it to "utf8",regenerate the jsp file,then you can save it.if you must use the gbk,you can manually modify the declaration of the jsp file to gbk,it still work.
About | Sitemap | Contact