Posts

search engine - searchable database based web application design -

search engine - searchable database based web application design - i new web application development. want develop java/mysql/tomcat web application. want create application info within database can searchable search engine. how implement that? search engines don't read database. read web pages. create info want searchable accessible next non-ajax links outside. if hide info behind login form, or search form, search engines won't able access information. database search-engine

visual studio - Does a "VS 10 x64" program work well on x86 OSs? -

visual studio - Does a "VS 10 x64" program work well on x86 OSs? - i start programming using visual studio 10 (64 bit) don't know : vs 64 bit programme work on 32 bit operating system? i'm sorry if asked question. didn't find that. @in silico right work, there no 64-bit version of visual studio 2010. visual studio run on x86 , x64 systems, , capable of generating 32-bit , 64-bit programs regardless of os platform. there "any cpu" build alternative allow same executable run on both x86 , x64 systems, there may cases not alternative you. visual-studio x86

android - Why does my ListView not filter text anymore after calling setContentView? -

android - Why does my ListView not filter text anymore after calling setContentView? - full code activity: package com.stevovo.myactivity; import java.util.arraylist; import java.util.emptystackexception; import android.app.activity; import android.content.context; import android.os.bundle; import android.view.view; import android.view.view.onclicklistener; import android.view.viewgroup; import android.view.viewgroup.layoutparams; import android.widget.arrayadapter; import android.widget.button; import android.widget.checkedtextview; import android.widget.expandablelistview; import android.widget.linearlayout; import android.widget.listview; public class myactivityselect extends activity { arraylist<string> mcheckeditems; mylistview lv; expandablelistview elv; activity a; button tv, back1, back2; mysimpleexpandablelist simplelist; //custom expandable list view adapter mysimplegroup grp; //just class manage parents , children boolean firstrun; public void oncreate(bun...

apache - RewriteRule containing dots does not work -

apache - RewriteRule containing dots does not work - i have simple rewrite rule right 404s on site work on, redirect not functioning correctly. trying redirect www.site.com/eve.. www.site.com/ below (each tried separately): rewriterule ^eve..$ http://www.site.com/ [r=301,l] rewriterule ^eve.. http://www.site.com/ [r=301,l] rewriterule ^eve\.\.$ http://www.site.com/ [r=301,l] rewriterule ^eve\.\. http://www.site.com/ [r=301,l] rewriterule ^eve\.\./?$ http://www.site.com/ [r=301,l,nc] none successful. next work: rewriterule ^eve http://www.site.com/ [r=301,l] but rule generic , want match redirects prevent future issues. wrong attempts redirect exact url? thank you escape dots this: rewriterule ^eve\.\./?$ http://www.site.com/ [r=301,l,nc] dot . means character , string eve.. can match every or eve11 well. apache .htaccess mod-rewrite

osx - Install php pear on mac os -

osx - Install php pear on mac os - how right instal pear php. store web server in /opt/local. pear want installed /users/. how alter folder. c8-bc-c8-d8-eb-65:tmp macbookpro$ sudo php -d detect_unicode=0 go-pear.phar below suggested file layout new pear installation. alter individual locations, type number in front end of directory. type 'all' alter of them or press come in take these locations. 1. installation base of operations ($prefix) : /users/macbookpro/pear 2. temporary directory processing : /tmp/pear/install 3. temporary directory downloads : /tmp/pear/install 4. binaries directory : /users/macbookpro/pear/bin 5. php code directory ($php_dir) : /users/macbookpro/pear/share/pear 6. documentation directory : /users/macbookpro/pear/docs 7. info directory : /users/...

jsf 2 - Why hidden input causes ClassCastException -

jsf 2 - Why hidden input causes ClassCastException - consider example. web page: <h:form> <h:outputlabel value="enter text:"/> <h:inputtext value="#{testcontroller.vo.teststring}" /> <h:inputhidden id="test" value="#{testcontroller.vo.id}" /> <h:commandbutton value="click me" action="#{testcontroller.submitform}"/> </h:form> controller: @named @sessionscoped public class testcontroller implements serializable { private static final long serialversionuid = 1l; private valueobject vo = new valueobject(); public string submitform() { homecoming null; } public valueobject getvo() { homecoming vo; } public void setvo(valueobject vo) { this.vo = vo; } } valueobject: public class valueobject { private long id; private string teststring; public string getteststring() { homecom...

php - How can I use docblock hints with classes for $this variables? -

php - How can I use docblock hints with classes for $this variables? - i'm using netbeans ide. whenever have code uses function (usually factory) homecoming object, typically can next help hinting: /* @var $object fooclass */ $object = $somefunction->get('barcontext.fooclass'); $object-> // produce property , function hints fooclass. however, when utilize object's property store class, i'm @ bit of loss how same, trying utilize @var $this->foo or @var foo not carry hinting through: use path\to\fooclass; class bar { protected $foo; public function bat() { $this->foo = factoryclass::get('foo'); // returns instance of fooclass $this->foo //does not have hinting in ide } } i have tried in docblock class, or using inline comments above protected $foo or foo set instance. the workaround have found far to: public function bat() { $this->foo = factoryclass::get('foo'); ...