以朝思夕想为题的除夕作文300字字

300字以上的作文我们和父母朝夕相处,在父母的养育下,我们一天天长大.让我们拿起笔,记下和父母一起度过的时光,选一件事写一写要求:选一件事具体来写.要把事情的经过写清楚,具体.语句要顺畅·连贯
█血刺裁决█枴
谢母亲感谢你在我的童年里撒下欢声和笑语,每时每刻都在为我着想.感谢你们为我所作的一切,让我健康快乐的成长.还记得小学四年级的时候,一次早上我觉得浑身发热.自己不在意.在我准备上学的时候,妈妈看到我那红彤彤的脸时,用手摸了摸我那滚烫的额头.冲着我慌忙地说,“走,我带你去看玻”我连忙拉着妈妈说;“妈妈,现在太早了,诊所还没开门呢,况且我还要上学呢.”还没等妈妈回应,我就冲下楼去了,等到妈妈跑到大门口的时候,我已经坐车上学去了.到了学校感觉好难受.头又热又重脸上火辣辣的,浑身没力气,感觉好像快瘫到那了.在我迷迷糊糊的时候,我看到远处有一个熟悉的身影正急忙得从校门口跑来,一眨眼的功夫,那个人出现在我得眼前.妈妈,是妈妈.妈妈一边向老师解释,一边用急切的眼光看着我.一会妈妈走了过来,手里拿着药和一杯热腾腾的白开水.和小时候一样看着妈妈给我倒水的样子,看着妈妈头上的汗像断了线的珠子似得不停的往下掉,我同样的含着泪水扑向了妈妈的怀抱.那时候我多么想对妈妈说一句:“妈妈,谢谢你,我爱你”但是话到嘴边又咽了下去.我就像是一条干涸的小溪,是你不停的给我灌溉,把水一滴一滴积累起来,而汇成了一条真正的小溪.你就像天上的月亮,而我则是一颗不起眼的星星,在你的照耀下,我要经过磨练和努力,才能成为无数颗星星中最闪亮的一颗.你的爱是一条缓缓流淌的小河,而我就是小河里的一条无忧无虑,快乐成长的小鱼.爱我们的父母吧!因为父母给了我们无私的爱;感谢我们的父母吧!因为我们想要一片树叶,父母却给了我们整个蓝天!
你的百度是神马
我是想给你加分的啊......
为您推荐:
其他类似问题
扫描下载二维码描述朝夕的诗句朝开头夕结束.或者是两句包含朝夕的意思也行.编的更好.古诗也好啊.在写小说,想用诗句引出名字.
朝饮木兰之坠露兮,夕餐秋菊之落英--屈原《离骚》一封朝奏九重天,夕贬潮阳路八千——韩愈《左迁至蓝关示侄孙湘》朝进东门营,暮上河阳桥——杜甫《后出塞》君不见高堂明镜悲白发,朝如青丝暮成雪——李白《将进酒》
为您推荐:
其他类似问题
扫描下载二维码梦朝思夕 的BLOG
用户名:梦朝思夕
文章数:177
访问量:132544
注册日期:
阅读量:5863
阅读量:12276
阅读量:352950
阅读量:1050895
51CTO推荐博文
文件上传功能是Web开中,不可或缺的功能。本博文主要讲解在Spring MVC使用ExtJS进行文件的上传。/mzsxBlog/src/config/springmvc.xml这是SpringMVC的配置文件,文件上传的配置如下:&!-- 文件上传 --&
&bean id="multipartResolver"
class="org.springframework.monsMultipartResolver"&
&property name="maxUploadSize" value="" /&
&property name="resolveLazily" value="true" /&
&property name="maxInMemorySize" value="4096" /&
&/bean&前台JSP如下:&%@ page language="java" pageEncoding="UTF-8"%&
&!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&
String contextPath = request.getContextPath();
&title&应用管理&/title&
&%@ include file="/js/_scripts.jsp"%&
&style type="text/css"& .textfield-red { color: #FF0000; } &/style& &!-- 字体红色的样式--&
&STYLE TYPE="text/css"&
#content {
width: 100%;
height: 100%;
background-image: url(images/icon/add.gif) !
background-image: url(images/icon/update.gif) !
background-image: url(images/icon/delete.gif) !
background-image: url(images/icon/list-items.gif) !
.ux-combo-selectall{
.ux-combo-selectall-icon-checked{
transparent
url(ext-3.1.0/resources/images/default/menu/checked.gif);
.ux-combo-selectall-icon-unchecked {
transparent
url(ext-3.1.0/resources/images/default/menu/unchecked.gif);
.ux-combo-selectall-icon {
text-indent:1.8
background-position: 3px 2px !
background-repeat:no-repeat !
line-height:20
font-size:12
font-weight:
-moz-user-select:
.ux-lovcombo-icon {
background-position: -1px -1px !
background-repeat:no-repeat !
.ux-lovcombo-icon-checked {
transparent
url(ext-3.1.0/resources/images/default/menu/checked.gif);
.ux-lovcombo-icon-unchecked {
transparent
url(ext-3.1.0/resources/images/default/menu/unchecked.gif);
/* IE patch */
.ext-ie .ux-lovcombo-item-text {
.ext-ie .ux-lovcombo-icon {
.ext-ie .x-combo-list-item {
&link href="ext-3.1.0/ux/css/Spinner.css" type="text/css" rel="stylesheet" /&
&script type="text/javascript" src="ext-3.1.0/ux/DateTime.js"&&/script&
&script type="text/javascript" src="ext-3.1.0/ux/SpinnerField.js"&&/script&
&script type="text/javascript" src="ext-3.1.0/ux/Spinner.js"&&/script&
&script type="text/javascript" src="js/Ext.ux.form.LovCombo.js"&&/script&
&script type="text/javascript" src="ext-3.1.0/ux/fileuploadfield/FileUploadField.js"&&/script&
&script type="text/javascript"&
Ext.onReady(function() {
Ext.QuickTips.init();
var excelUpload = new Ext.form.TextField({
id:'upload',
anchor:'90%',
height:30,
width:350,
name:'userfile',
inputType:'file',
fieldLabel:'文件选择'
var formPanel = new Ext.form.FormPanel({
labelWidth:80,
bodyStyle:'padding:5 5 5 5',
height:515,
width:200,
frame:true,
fileUpload:true,
items:[excelUpload]
// 定义按钮
var upLoadFile = new Ext.Toolbar.Button({
text:'上传'
// 上传数据功能
var up = function(bt) {
var filepath = Ext.getCmp('upload').getRawValue();// 上传文件名称的路径
var suffix = filepath.substring(filepath.lastIndexOf('.') + 1, filepath.length);
if (filepath == ""){
Ext.Msg.show({title:'提示',msg:'请选择文件!',buttons:Ext.Msg.OK,icon:R});
var array = new Array();
array = filepath.split("\\");
var length = array.
var fileName = "";
var index = 0;
for (index = 0; index & index++) {
if (fileName == "") {
fileName = array[index];
fileName = fileName + "/" + array[index];
formPanel.getForm().submit({
url:'file.sp?method=upload',
method:'POST',
waitMsg:'数据上传中, 请稍等...',
success:function(form, action) {
if(action.result.success == true){
Ext.MessageBox.alert("提示信息","文件上传成功!!!");
failure : function(form, action) {
Ext.MessageBox.alert("提示信息","请求失败,文件上传失败");
// 添加按钮的响应事件
upLoadFile.addListener('click', up, false);
var window = new Ext.Window({
title:'上传文件',
width:500,
height:200,
minWidth:500,
minHeight:200,
layout:'fit',
plain:true,
modal:true,
//closeAction:'hide',
bodyStyle:'padding:5',
buttonAlign:'center',
items:formPanel,
buttons:[upLoadFile]
window.show();
&div id="Layer1" style="position: width:100%; height:100%; z-index:-1"&
&img src="images/file.jpg" height="100%" width="100%"/&
&div id="form"&&/div&
&/html&后台的代码如下:package com.mzsx.flie.
import java.io.F
import java.io.IOE
import java.text.SimpleDateF
import java.util.D
import java.util.HashM
import java.util.M
import javax.servlet.http.HttpServletR
import javax.servlet.http.HttpServletR
import net.sf.json.JSONO
import org.apache.log4j.L
import org.codehaus.jackson.map.ObjectM
import org.springframework.beans.factory.annotation.A
import org.springframework.http.HttpH
import org.springframework.http.HttpS
import org.springframework.http.MediaT
import org.springframework.http.ResponseE
import org.springframework.stereotype.C
import org.springframework.web.bind.annotation.RequestM
import org.springframework.web.bind.annotation.RequestM
import org.springframework.web.multipart.MultipartF
import org.springframework.web.multipart.MultipartHttpServletR
import org.springframework.web.servlet.ModelAndV
import com.mzsx.admin.contorller.AdminC
import com.mzsx.flie.service.FileS
import com.mzsx.model.A
import com.mzsx.model.FileL
@Controller
@RequestMapping("file.sp")
public class FileContorller {
@Autowired
private FileService fileS
private static Logger logger = Logger.getLogger(AdminContorller.class);
@RequestMapping(params = "method=upload", method = RequestMethod.POST)
public void addFileUp(HttpServletRequest request,HttpServletResponse response) {
Map&String, Object& map = new HashMap&String, Object&();
FileLoading fileUp = new FileLoading();
//获取用户
Admin admin = (Admin) request.getSession().getAttribute("admin");
int userid = admin.getId();//用户ID
Date createdTime = new Date();
//使用MultipartHttpServletRequest包装文件数据
MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest)
//目录命名格式如:*files-22
SimpleDateFormat dateformat = new SimpleDateFormat("yyyy-MM-dd");
//构建图片保存的目录
String logoPathDir = "/upload/file" + dateformat.format(new Date());
//得到图片保存目录的真实路径
String logoRealPathDir = request.getSession().getServletContext().getRealPath(logoPathDir);
//根据真实路径创建目录
File logoSaveFile = new File(logoRealPathDir);
if (!logoSaveFile.exists())
logoSaveFile.mkdirs();
//页面控件的文件流
MultipartFile multipartFile = multipartRequest.getFile("userfile");
// 获取文件名/
String filename = multipartFile.getOriginalFilename();
fileUp.setFileOldName(filename);
long time = createdTime.getTime(); // 时间
int index = filename.lastIndexOf(".");
if (index == -1) {
filename = filename + "-" + // 文件名
("文件名:"+filename);
filename = filename.substring(0, index) + "-" + time
+ filename.substring(index);
("文件名:"+filename);
//设置属性值
fileUp.setUserid(userid);
fileUp.setFileNewName(filename);
fileUp.setPath(logoRealPathDir);
fileUp.setStatus(1);
//拼成完整的文件保存路径加文件
String fileName = logoRealPathDir + File.separator +
File file = new File(fileName);
//保存上传文件
multipartFile.transferTo(file);
(filename+"上传成功!!!");
//插入数据库
fileService.insertFile(fileUp);
map.put("success", "true");
} catch (Exception e) {
// TODO: handle exception
map.put("success", "false");
logger.error("异常出现:"+e);
/*String json = "{success: true}";
response.setContentType("text/ charset=UTF-8");
response.getWriter().write(json);
response.flushBuffer();*/
/*Map&String, Object& result = new HashMap&String, Object&(0);
result.put("success", true);
response.setContentType("text/html");
ObjectMapper mapper = new ObjectMapper();
mapper.writeValue(response.getOutputStream(), result);*/
response.setContentType("text/charset=UTF-8");
response.getWriter().write("{success:true}");
} catch (IllegalStateException e) {
logger.error("异常出现:"+e);
} catch (IOException e) {
logger.error("异常出现:"+e);
//response.setContentType("text/ charset=UTF-8");
//response.setContentType("application/ charset=utf-8");
//return new ModelAndView("jsonView", map);
/*String json="{success : true}";
HttpHeaders reHeaders=new HttpHeaders();
reHeaders.setContentType(MediaType.TEXT_HTML);
return new ResponseEntity&String&(json,reHeaders,HttpStatus.OK);*/
}效果图:650) this.width=650;" src="/attachment/738891.png" style="float:" title="11.png" />后台效果图:650) this.width=650;" src="/attachment/741926.png" style="float:" title="12.png" />本文出自 “” 博客,请务必保留此出处
了这篇文章
类别:┆阅读(0)┆评论(0)梦朝思夕 的BLOG
用户名:梦朝思夕
文章数:177
访问量:132544
注册日期:
阅读量:5863
阅读量:12276
阅读量:352950
阅读量:1050895
51CTO推荐博文
下载:&&&&[root@localhost&home]#&wget&--no-check-certificate&/ideawu/ssdb/archive/master.zip
&&&&--&01:44:45--&&/ideawu/ssdb/archive/master.zip
&&&&正在解析主机&...&192.30.252.131
&&&&正在连接&|192.30.252.131|:443...&已连接。
&&&&已发出&HTTP&请求,正在等待回应...&302&Found
&&&&位置:/ideawu/ssdb/zip/master&[跟随至新的&URL]
&&&&--&01:44:50--&&/ideawu/ssdb/zip/master
&&&&正在解析主机&...&192.30.252.147
&&&&正在连接&|192.30.252.147|:443...&已连接。
&&&&已发出&HTTP&请求,正在等待回应...&200&OK
&&&&长度:.4M)&[application/zip]
&&&&正在保存至:&“master”解压:[root@localhost&soft]#&unzip&master.zip
[root@localhost&ssdb]#&cp&-a&ssdb-master/&/usr/local/ssdb
[root@localhost&ssdb]#&cd&/usr/local/ssdb/
[root@localhost&ssdb]#&make
[root@localhost&ssdb]#&make&install
mkdir&-p&/usr/local/ssdb
mkdir&-p&/usr/local/ssdb/_cpy_
mkdir&-p&/usr/local/ssdb/deps
mkdir&-p&/usr/local/ssdb/var
mkdir&-p&/usr/local/ssdb/var_slave
cp&ssdb-server&ssdb.conf&ssdb_slave.conf&/usr/local/ssdb
cp:&"ssdb-server"&与"/usr/local/ssdb/ssdb-server"&为同一文件
cp:&"ssdb.conf"&与"/usr/local/ssdb/ssdb.conf"&为同一文件
cp:&"ssdb_slave.conf"&与"/usr/local/ssdb/ssdb_slave.conf"&为同一文件
make:&***&[install]&错误&1# start master[root@localhost&soft]#&./ssdb-server&ssdb.conf# or start as daemon[root@localhost&soft]#&./ssdb-server&-d&ssdb.conf# ssdb command line[root@localhost&soft]#&&./tools/ssdb-cli&-p&8888# stop ssdb-server[root@localhost&soft]#&kill&`cat&./var/ssdb.pid`本文出自 “” 博客,请务必保留此出处
了这篇文章
类别:未分类┆阅读(0)┆评论(0)}

我要回帖

更多关于 以关爱为题的作文 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信