[SalesForce] Prepopulate Visualforce text box

I am trying to 'prepopulate' (when the page loads) a visual force textbox:

 <apex:page controller="FedExLabelOverviewController">
   <apex:form >
     <apex:inputText ... />
   </apex:form>
 </apex:page>

with a string value from an apex class (i.e. test.getValue();)

I was wondering how this was done. Can I reference the other class' variable in the controller class of the visualforce page?

Edit: I am using inputText because my intention is to be able to clear the text box when the user wants to type something in. Essentially, I want to set the default value on the input text box.

Best Answer

Use html pass through in your visualforce markup

<apex:inputText html-placeholder="your default text"/>